blob: 4aacbfdb9934bf4e26ae0b56a0bd35d189e88925 [file] [log] [blame]
Clement Escoffier1c47f282013-02-13 16:26:18 +00001<!--
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18-->
Clement Escoffier94711992013-10-08 14:24:52 +000019<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">
Clement Escoffier1c47f282013-02-13 16:26:18 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000023 <version>2.1</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +000024 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
Clement Escoffiera2435862013-06-22 07:22:44 +000026
Clement Escoffier1c47f282013-02-13 16:26:18 +000027 <modelVersion>4.0.0</modelVersion>
Clement Escoffiera2435862013-06-22 07:22:44 +000028
Clement Escoffier1c47f282013-02-13 16:26:18 +000029 <artifactId>org.apache.felix.ipojo.runtime.core-it</artifactId>
Clement Escoffier1e35ff12014-05-12 11:47:05 +000030 <version>1.12.1-SNAPSHOT</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +000031 <name>Apache Felix iPOJO Runtime Project ~ Core Integration Tests</name>
32 <packaging>pom</packaging>
33
Clement Escoffiera2435862013-06-22 07:22:44 +000034 <properties>
35 <!-- Tests are enabled only when the 'test' profile is activated -->
36 <skipTestExecution>true</skipTestExecution>
37
Clement Escoffiere46023f2013-06-22 08:33:57 +000038 <exam.version>3.0.1</exam.version>
Clement Escoffiera2435862013-06-22 07:22:44 +000039 <url.version>1.5.1</url.version>
40
41 <felix.version>4.2.0</felix.version>
Clement Escoffierb18db3b2014-03-09 08:03:56 +000042 <equinox.version>3.9.1.v20130814-1242</equinox.version>
43 <knoperflerfish.version>7.0.1</knoperflerfish.version>
Clement Escoffiera2435862013-06-22 07:22:44 +000044
Clement Escoffier46ebda82014-05-17 12:19:25 +000045 <manipulator.version>1.12.1-SNAPSHOT</manipulator.version>
Clement Escoffiera2435862013-06-22 07:22:44 +000046 </properties>
47
48 <modules>
49 <module>ipojo-core-annotations-test</module>
50 <module>ipojo-core-bad-configuration-test</module>
51 <module>ipojo-core-configuration-admin-test</module>
52 <module>ipojo-core-configuration-processor-test</module>
53 <module>ipojo-core-configuration-test</module>
Guillaume Sauthier61439262014-02-24 13:16:49 +000054 <module>ipojo-core-declaration-test</module>
Clement Escoffiera2435862013-06-22 07:22:44 +000055 <module>ipojo-core-external-handlers-test</module>
56 <module>ipojo-core-factory-test</module>
57 <module>ipojo-core-factory-version-test</module>
58 <module>ipojo-core-handler-test</module>
59 <module>ipojo-core-lifecycle-callback-test</module>
60 <module>ipojo-core-lifecycle-controller-test</module>
61 <module>ipojo-core-logger-test</module>
62 <module>ipojo-core-service-dependency-optional-test</module>
63 <module>ipojo-core-service-dependency-policies</module>
64 <module>ipojo-core-service-dependency-proxies</module>
65 <module>ipojo-core-service-dependency-test</module>
Clement Escoffier9178b072013-09-26 17:51:18 +000066 <module>ipojo-core-service-dependency-timeout-test</module>
Clement Escoffiera2435862013-06-22 07:22:44 +000067 <module>ipojo-core-service-dependency-interceptor-test</module>
68 <module>ipojo-core-service-providing-test</module>
Clement Escoffiere946a382014-03-09 19:42:46 +000069 <module>ipojo-core-context-injection-test</module>
Clement Escoffierd3b68ee2013-06-22 13:15:49 +000070 <module>ipojo-api-test</module>
Clement Escoffierde7cc912013-09-17 18:26:27 +000071 <module>ipojo-compatibility-test</module>
Clement Escoffiera2435862013-06-22 07:22:44 +000072 </modules>
73
Clement Escoffier1c47f282013-02-13 16:26:18 +000074 <build>
Clement Escoffiera0030f52013-02-18 20:43:25 +000075 <plugins>
76 <plugin>
77 <groupId>org.apache.maven.plugins</groupId>
Clement Escoffiera2435862013-06-22 07:22:44 +000078 <artifactId>maven-surefire-plugin</artifactId>
79 <version>2.14.1</version>
80 <configuration>
81 <systemPropertyVariables>
82 <!-- TIME_FACTOR can be set from the command line with -DTIME_FACTOR=9-->
83 <TIME_FACTOR>${TIME_FACTOR}</TIME_FACTOR>
Clement Escoffiere02f77d2013-10-04 13:01:45 +000084 <!-- Defined by the profiles -->
85 <pax.exam.framework>${pax.exam.framework}</pax.exam.framework>
Clement Escoffiera2435862013-06-22 07:22:44 +000086 </systemPropertyVariables>
Clement Escoffiere46023f2013-06-22 08:33:57 +000087 <skipTests>${skipTestExecution}</skipTests>
Clement Escoffiera2435862013-06-22 07:22:44 +000088 </configuration>
89 </plugin>
90
91 <plugin>
92 <groupId>org.apache.maven.plugins</groupId>
Clement Escoffiera0030f52013-02-18 20:43:25 +000093 <artifactId>maven-compiler-plugin</artifactId>
94 <version>2.5.1</version>
95 <configuration>
Clement Escoffier30288f82014-05-04 17:58:13 +000096 <source>1.6</source>
97 <target>1.6</target>
Clement Escoffiera0030f52013-02-18 20:43:25 +000098 </configuration>
99 </plugin>
100
101 <plugin>
102 <groupId>org.apache.servicemix.tooling</groupId>
103 <artifactId>depends-maven-plugin</artifactId>
104 <version>1.2</version>
105 <executions>
106 <execution>
107 <id>generate-config</id>
108 <goals>
109 <goal>generate-depends-file</goal>
110 </goals>
111 </execution>
112 </executions>
113 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000114
115 <plugin>
116 <groupId>org.apache.rat</groupId>
117 <artifactId>apache-rat-plugin</artifactId>
118 <executions>
119 <execution>
120 <phase>verify</phase>
121 <goals>
122 <goal>check</goal>
123 </goals>
124 </execution>
125 </executions>
126 <configuration>
127 <!-- check src only (except remote resources additions) -->
128 <includes>
129 <include>src/**</include>
130 </includes>
131 <excludes>
132 <exclude>src/main/appended-resources/**</exclude>
Clement Escoffierdc197b32013-05-07 07:39:24 +0000133 <exclude>**/*.iml</exclude>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000134 </excludes>
135 </configuration>
136 </plugin>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +0000137
138 <plugin>
139 <artifactId>maven-deploy-plugin</artifactId>
140 <version>2.4</version>
141 <configuration>
142 <skip>true</skip>
143 </configuration>
144 </plugin>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000145 </plugins>
146
Clement Escoffier1c47f282013-02-13 16:26:18 +0000147 </build>
148
Clement Escoffiera0030f52013-02-18 20:43:25 +0000149
150 <dependencies>
151
152 <dependency>
153 <groupId>org.ops4j.pax.exam</groupId>
154 <artifactId>pax-exam-container-native</artifactId>
155 <version>${exam.version}</version>
156 <scope>test</scope>
157 </dependency>
158
159 <dependency>
160 <groupId>org.ops4j.pax.exam</groupId>
161 <artifactId>pax-exam-junit4</artifactId>
162 <version>${exam.version}</version>
163 <scope>test</scope>
164 </dependency>
165
166 <dependency>
167 <groupId>org.ops4j.pax.exam</groupId>
168 <artifactId>pax-exam-link-mvn</artifactId>
169 <version>${exam.version}</version>
170 <scope>test</scope>
171 </dependency>
172
173 <dependency>
174 <groupId>org.ops4j.pax.url</groupId>
175 <artifactId>pax-url-aether</artifactId>
176 <version>${url.version}</version>
177 <scope>test</scope>
178 </dependency>
179
Clement Escoffiera0030f52013-02-18 20:43:25 +0000180 <dependency>
181 <groupId>ch.qos.logback</groupId>
182 <artifactId>logback-core</artifactId>
183 <version>0.9.6</version>
184 <scope>test</scope>
185 </dependency>
186
187 <dependency>
188 <groupId>ch.qos.logback</groupId>
189 <artifactId>logback-classic</artifactId>
190 <version>0.9.6</version>
191 <scope>test</scope>
192 </dependency>
193
Clement Escoffiera0030f52013-02-18 20:43:25 +0000194 <dependency>
195 <groupId>junit</groupId>
196 <artifactId>junit</artifactId>
197 <version>4.9</version>
198 <scope>test</scope>
199 </dependency>
200
201 <dependency>
202 <groupId>org.mockito</groupId>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000203 <artifactId>mockito-all</artifactId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000204 <version>1.9.5</version>
205 </dependency>
206
207 <dependency>
208 <groupId>org.ops4j.pax.tinybundles</groupId>
209 <artifactId>tinybundles</artifactId>
210 <version>1.0.0</version>
211 </dependency>
212
213 <dependency>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000214 <groupId>org.ow2.chameleon.testing</groupId>
215 <artifactId>tinybundles-ipojo</artifactId>
216 <version>0.3.0</version>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000217 <scope>test</scope>
Clement Escoffier615c9f22014-05-04 12:36:09 +0000218 <exclusions>
219 <exclusion>
220 <groupId>asm</groupId>
221 <artifactId>asm-all</artifactId>
222 </exclusion>
223 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000224 </dependency>
225
226 <dependency>
227 <groupId>org.apache.felix</groupId>
228 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffier6dc8de12013-06-21 16:39:45 +0000229 <version>${manipulator.version}</version>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000230 </dependency>
231
232 <dependency>
233 <groupId>org.apache.felix</groupId>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000234 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier1e35ff12014-05-12 11:47:05 +0000235 <version>1.12.1-SNAPSHOT</version>
Clement Escoffierd3c9fa72014-05-08 08:45:06 +0000236 <scope>provided</scope>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000237 </dependency>
238
239 <dependency>
240 <groupId>org.apache.felix</groupId>
Clement Escoffier0b907fb2013-05-06 13:25:52 +0000241 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
Clement Escoffiercc182022013-10-08 14:09:24 +0000242 <version>${manipulator.version}</version>
Clement Escoffier0b907fb2013-05-06 13:25:52 +0000243 </dependency>
244
245 <dependency>
246 <groupId>org.apache.felix</groupId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000247 <artifactId>org.apache.felix.configadmin</artifactId>
248 <version>1.6.0</version>
249 <scope>test</scope>
250 </dependency>
251
252 <dependency>
253 <groupId>commons-io</groupId>
254 <artifactId>commons-io</artifactId>
255 <version>2.4</version>
256 </dependency>
257
258 <dependency>
259 <groupId>org.ow2.chameleon.testing</groupId>
260 <artifactId>osgi-helpers</artifactId>
Clement Escoffierb18db3b2014-03-09 08:03:56 +0000261 <version>0.6.2</version>
Clement Escoffiercfae7912013-05-08 16:51:29 +0000262 <exclusions>
263 <exclusion>
264 <groupId>org.osgi</groupId>
265 <artifactId>org.osgi.core</artifactId>
266 </exclusion>
267 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000268 </dependency>
269
Clement Escoffiera0030f52013-02-18 20:43:25 +0000270
271 <dependency>
272 <groupId>org.apache.felix</groupId>
273 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
274 <!--
275 We use the released version as we don't really have to do any behavioral test on the handler in the core
276 test.
277 -->
278 <version>1.8.0</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000279 <exclusions>
280 <exclusion>
281 <groupId>org.osgi</groupId>
282 <artifactId>org.osgi.core</artifactId>
283 </exclusion>
284 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000285 </dependency>
286
287 <dependency>
288 <groupId>org.apache.felix</groupId>
289 <artifactId>org.apache.felix.log</artifactId>
290 <version>1.0.1</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000291 <exclusions>
292 <exclusion>
293 <groupId>org.osgi</groupId>
294 <artifactId>org.osgi.core</artifactId>
295 </exclusion>
296 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000297 </dependency>
298
299 <dependency>
300 <groupId>org.ops4j.pax.url</groupId>
301 <artifactId>pax-url-wrap</artifactId>
302 <version>1.5.2</version>
303 </dependency>
Clement Escoffiere050be02013-06-12 11:38:27 +0000304
305 <dependency>
306 <groupId>org.easytesting</groupId>
307 <artifactId>fest-assert</artifactId>
308 <version>1.4</version>
309 </dependency>
Clement Escoffierd550b802013-06-22 08:00:56 +0000310
Clement Escoffiera0030f52013-02-18 20:43:25 +0000311 </dependencies>
312
Clement Escoffier1c47f282013-02-13 16:26:18 +0000313 <profiles>
314 <profile>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000315 <id>default</id>
316 <activation>
317 <activeByDefault>true</activeByDefault>
318 </activation>
Clement Escoffiere02f77d2013-10-04 13:01:45 +0000319 <properties>
320 <pax.exam.framework>none</pax.exam.framework>
321 </properties>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000322 <dependencies>
323 <dependency>
324 <groupId>org.osgi</groupId>
325 <artifactId>org.osgi.compendium</artifactId>
326 <version>4.3.0</version>
327 </dependency>
328 <dependency>
329 <groupId>org.osgi</groupId>
330 <artifactId>org.osgi.core</artifactId>
331 <version>4.3.1</version>
332 </dependency>
333 </dependencies>
334 </profile>
335 <profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000336 <id>knopflerfish</id>
337 <activation>
338 <activeByDefault>false</activeByDefault>
339 <property>
340 <name>pax.exam.framework</name>
341 <value>knopflerfish</value>
342 </property>
343 </activation>
344 <properties>
345 <pax.exam.framework>knopflerfish</pax.exam.framework>
346 </properties>
347 <repositories>
348 <repository>
349 <id>knopflerfish-releases</id>
350 <url>http://www.knopflerfish.org/maven2</url>
351 </repository>
352 </repositories>
353 <dependencies>
354 <dependency>
355 <groupId>org.knopflerfish</groupId>
356 <artifactId>framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000357 <version>${knoperflerfish.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000358 <scope>test</scope>
359 </dependency>
Clement Escoffierc1fe8d82013-09-18 09:13:50 +0000360 <dependency>
361 <!-- must be after KF -->
362 <groupId>org.osgi</groupId>
363 <artifactId>org.osgi.core</artifactId>
364 <version>4.3.1</version>
365 </dependency>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000366 </dependencies>
367 </profile>
368
369 <profile>
370 <id>equinox</id>
371 <activation>
372 <activeByDefault>false</activeByDefault>
373 <property>
374 <name>pax.exam.framework</name>
375 <value>equinox</value>
376 </property>
377 </activation>
378 <properties>
379 <pax.exam.framework>equinox</pax.exam.framework>
380 </properties>
381 <dependencies>
382 <dependency>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000383 <groupId>org.osgi</groupId>
384 <artifactId>org.osgi.compendium</artifactId>
385 <version>4.3.0</version>
386 </dependency>
387 <dependency>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000388 <groupId>org.eclipse.tycho</groupId>
389 <artifactId>org.eclipse.osgi</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000390 <version>${equinox.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000391 <scope>test</scope>
392 </dependency>
Clement Escoffierc1fe8d82013-09-18 09:13:50 +0000393 <dependency>
394 <!-- must be after equinox -->
395 <groupId>org.osgi</groupId>
396 <artifactId>org.osgi.core</artifactId>
397 <version>4.3.1</version>
398 </dependency>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000399 </dependencies>
400 </profile>
401
402 <profile>
403 <id>felix</id>
404 <activation>
Clement Escoffiera2435862013-06-22 07:22:44 +0000405 <activeByDefault>false</activeByDefault>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000406 <property>
407 <name>pax.exam.framework</name>
408 <value>felix</value>
409 </property>
410 </activation>
411 <properties>
412 <pax.exam.framework>felix</pax.exam.framework>
413 </properties>
414 <dependencies>
415 <dependency>
416 <groupId>org.apache.felix</groupId>
417 <artifactId>org.apache.felix.framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000418 <version>${felix.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000419 </dependency>
420 </dependencies>
421 </profile>
422
423 <profile>
424 <id>test</id>
Clement Escoffiera2435862013-06-22 07:22:44 +0000425 <properties>
426 <skipTestExecution>false</skipTestExecution>
427 </properties>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000428 </profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000429 </profiles>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000430</project>