SLING-7353 Update to Sling Parent 33
[sling-org-apache-sling-karaf-integration-tests.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Licensed to the Apache Software Foundation (ASF) under one
4 or more contributor license agreements. See the NOTICE file
5 distributed with this work for additional information
6 regarding copyright ownership. The ASF licenses this file
7 to you under the Apache License, Version 2.0 (the
8 "License"); you may not use this file except in compliance
9 with the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing,
14 software distributed under the License is distributed on an
15 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 KIND, either express or implied. See the License for the
17 specific language governing permissions and limitations
18 under the License.
19 -->
20 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
21
22 <modelVersion>4.0.0</modelVersion>
23
24 <parent>
25 <groupId>org.apache.sling</groupId>
26 <artifactId>sling</artifactId>
27 <version>33</version>
28 <relativePath/>
29 </parent>
30
31 <artifactId>org.apache.sling.karaf-integration-tests</artifactId>
32 <version>0.1.1-SNAPSHOT</version>
33 <packaging>bundle</packaging>
34
35 <name>Apache Sling - Karaf Integration Tests</name>
36 <description>Integration Tests for Apache Sling Karaf</description>
37
38 <properties>
39 <org.apache.jackrabbit.version>2.16.0</org.apache.jackrabbit.version>
40 <org.apache.karaf.version>4.2.0.M2</org.apache.karaf.version>
41 <org.ops4j.pax.exam.version>4.11.0</org.ops4j.pax.exam.version>
42 </properties>
43
44 <scm>
45 <connection>scm:git:https://gitbox.apache.org/repos/asf/sling-org-apache-sling-karaf-integration-tests.git</connection>
46 <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/sling-org-apache-sling-karaf-integration-tests.git</developerConnection>
47 <url>https://gitbox.apache.org/repos/asf?p=sling-org-apache-sling-karaf-integration-tests.git</url>
48 </scm>
49
50 <dependencies>
51 <!-- javax -->
52 <dependency>
53 <groupId>javax.inject</groupId>
54 <artifactId>javax.inject</artifactId>
55 </dependency>
56 <dependency>
57 <groupId>javax.jcr</groupId>
58 <artifactId>jcr</artifactId>
59 <scope>test</scope>
60 </dependency>
61 <!-- OSGi -->
62 <dependency>
63 <groupId>org.osgi</groupId>
64 <artifactId>osgi.core</artifactId>
65 <scope>provided</scope>
66 </dependency>
67 <dependency>
68 <groupId>org.osgi</groupId>
69 <artifactId>osgi.cmpn</artifactId>
70 <scope>provided</scope>
71 </dependency>
72 <!-- Apache Karaf -->
73 <dependency>
74 <groupId>org.apache.karaf.features</groupId>
75 <artifactId>org.apache.karaf.features.core</artifactId>
76 <version>${org.apache.karaf.version}</version>
77 <scope>provided</scope>
78 </dependency>
79 <!-- Apache Sling -->
80 <dependency>
81 <groupId>org.apache.sling</groupId>
82 <artifactId>org.apache.sling.api</artifactId>
83 <version>2.16.4</version>
84 <scope>test</scope>
85 </dependency>
86 <dependency>
87 <groupId>org.apache.sling</groupId>
88 <artifactId>org.apache.sling.jcr.api</artifactId>
89 <version>2.4.0</version>
90 <scope>test</scope>
91 </dependency>
92 <dependency>
93 <groupId>org.apache.sling</groupId>
94 <artifactId>org.apache.sling.engine</artifactId>
95 <version>2.6.8</version>
96 <scope>test</scope>
97 </dependency>
98 <dependency>
99 <groupId>org.apache.sling</groupId>
100 <artifactId>org.apache.sling.commons.messaging</artifactId>
101 <version>0.0.1-SNAPSHOT</version>
102 <scope>test</scope>
103 </dependency>
104 <dependency>
105 <groupId>org.apache.sling</groupId>
106 <artifactId>org.apache.sling.karaf-features</artifactId>
107 <version>${project.version}</version>
108 <type>xml</type>
109 <classifier>features</classifier>
110 <scope>test</scope>
111 </dependency>
112 <!-- Apache Jackrabbit -->
113 <dependency>
114 <groupId>org.apache.jackrabbit</groupId>
115 <artifactId>jackrabbit-jcr-commons</artifactId>
116 <version>${org.apache.jackrabbit.version}</version>
117 <scope>test</scope>
118 </dependency>
119 <!-- bnd -->
120 <dependency>
121 <groupId>biz.aQute.bnd</groupId>
122 <artifactId>biz.aQute.bndlib</artifactId>
123 <version>2.4.1</version>
124 <scope>provided</scope>
125 </dependency>
126 <!-- logging -->
127 <dependency>
128 <groupId>org.slf4j</groupId>
129 <artifactId>slf4j-api</artifactId>
130 <scope>test</scope>
131 </dependency>
132 <!-- testing -->
133 <dependency>
134 <groupId>org.ops4j.pax.exam</groupId>
135 <artifactId>pax-exam</artifactId>
136 <version>${org.ops4j.pax.exam.version}</version>
137 </dependency>
138 <dependency>
139 <groupId>org.ops4j.pax.exam</groupId>
140 <artifactId>pax-exam-container-karaf</artifactId>
141 <version>${org.ops4j.pax.exam.version}</version>
142 </dependency>
143 <dependency>
144 <groupId>org.ops4j.pax.exam</groupId>
145 <artifactId>pax-exam-junit4</artifactId>
146 <version>${org.ops4j.pax.exam.version}</version>
147 <scope>test</scope>
148 </dependency>
149 <dependency>
150 <groupId>org.ops4j.pax.tinybundles</groupId>
151 <artifactId>tinybundles</artifactId>
152 <version>2.1.1</version>
153 </dependency>
154 <dependency>
155 <groupId>org.apache.karaf</groupId>
156 <artifactId>apache-karaf</artifactId>
157 <type>tar.gz</type>
158 <version>${org.apache.karaf.version}</version>
159 <scope>test</scope>
160 <exclusions>
161 <exclusion>
162 <groupId>org.apache.karaf</groupId>
163 <artifactId>org.apache.karaf.client</artifactId>
164 </exclusion>
165 </exclusions>
166 </dependency>
167 <!-- MongoDB -->
168 <dependency>
169 <groupId>de.flapdoodle.embed</groupId>
170 <artifactId>de.flapdoodle.embed.mongo</artifactId>
171 <version>1.50.5</version>
172 <scope>test</scope>
173 </dependency>
174 <dependency>
175 <groupId>de.flapdoodle.embed</groupId>
176 <artifactId>de.flapdoodle.embed.process</artifactId>
177 <version>1.50.2</version>
178 <scope>test</scope>
179 </dependency>
180 <dependency>
181 <groupId>net.java.dev.jna</groupId>
182 <artifactId>jna</artifactId>
183 <version>4.2.2</version>
184 <scope>test</scope>
185 </dependency>
186 <dependency>
187 <groupId>net.java.dev.jna</groupId>
188 <artifactId>jna-platform</artifactId>
189 <version>4.2.2</version>
190 <scope>test</scope>
191 </dependency>
192 <dependency>
193 <groupId>org.apache.commons</groupId>
194 <artifactId>commons-compress</artifactId>
195 <version>1.13</version>
196 <scope>test</scope>
197 </dependency>
198 <!-- Couchbase -->
199 <dependency>
200 <groupId>com.couchbase.mock</groupId>
201 <artifactId>CouchbaseMock</artifactId>
202 <version>1.5.12</version>
203 <scope>test</scope>
204 </dependency>
205 <dependency>
206 <groupId>com.couchbase.client</groupId>
207 <artifactId>couchbase-client</artifactId>
208 <version>1.4.13</version>
209 <scope>test</scope>
210 </dependency>
211 <dependency>
212 <groupId>com.intellij</groupId>
213 <artifactId>annotations</artifactId>
214 <version>12.0</version>
215 <scope>test</scope>
216 </dependency>
217 <dependency>
218 <groupId>com.google.code.gson</groupId>
219 <artifactId>gson</artifactId>
220 <version>2.7</version>
221 <scope>test</scope>
222 </dependency>
223 <dependency>
224 <groupId>com.googlecode.json-simple</groupId>
225 <artifactId>json-simple</artifactId>
226 <version>1.1.1</version>
227 <scope>test</scope>
228 </dependency>
229 <dependency>
230 <groupId>org.apache.servicemix.bundles</groupId>
231 <artifactId>org.apache.servicemix.bundles.rhino</artifactId>
232 <version>1.7.7.2_1</version>
233 <scope>test</scope>
234 </dependency>
235 <dependency>
236 <groupId>org.tukaani</groupId>
237 <artifactId>xz</artifactId>
238 <version>1.6</version>
239 <scope>test</scope>
240 </dependency>
241 </dependencies>
242
243 <build>
244 <plugins>
245 <plugin>
246 <groupId>org.apache.felix</groupId>
247 <artifactId>maven-bundle-plugin</artifactId>
248 <extensions>true</extensions>
249 </plugin>
250 <plugin>
251 <groupId>org.apache.servicemix.tooling</groupId>
252 <artifactId>depends-maven-plugin</artifactId>
253 </plugin>
254 </plugins>
255 </build>
256
257 <profiles>
258 <profile>
259 <id>it</id>
260 <activation>
261 <jdk>[1.8,)</jdk>
262 </activation>
263 <build>
264 <plugins>
265 <plugin>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-failsafe-plugin</artifactId>
268 <executions>
269 <execution>
270 <goals>
271 <goal>integration-test</goal>
272 <goal>verify</goal>
273 </goals>
274 </execution>
275 </executions>
276 <configuration>
277 <redirectTestOutputToFile>true</redirectTestOutputToFile>
278 </configuration>
279 </plugin>
280 </plugins>
281 </build>
282 </profile>
283 </profiles>
284
285 </project>