blob: c135d52a033cce51bf401864544ff05bc08ab054 [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 Escoffiera2435862013-06-22 07:22:44 +000019<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 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 +000021 <parent>
22 <groupId>org.apache.felix</groupId>
23 <artifactId>felix-parent</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000024 <version>2.1</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +000025 <relativePath>../../../pom/pom.xml</relativePath>
26 </parent>
Clement Escoffiera2435862013-06-22 07:22:44 +000027
Clement Escoffier1c47f282013-02-13 16:26:18 +000028 <modelVersion>4.0.0</modelVersion>
Clement Escoffiera2435862013-06-22 07:22:44 +000029
Clement Escoffier1c47f282013-02-13 16:26:18 +000030 <artifactId>org.apache.felix.ipojo.runtime.core-it</artifactId>
Clement Escoffier73842a12013-06-16 07:11:54 +000031 <version>1.10.2-SNAPSHOT</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +000032 <name>Apache Felix iPOJO Runtime Project ~ Core Integration Tests</name>
33 <packaging>pom</packaging>
34
Clement Escoffiera2435862013-06-22 07:22:44 +000035 <properties>
36 <!-- Tests are enabled only when the 'test' profile is activated -->
37 <skipTestExecution>true</skipTestExecution>
38
Clement Escoffiere46023f2013-06-22 08:33:57 +000039 <exam.version>3.0.1</exam.version>
Clement Escoffiera2435862013-06-22 07:22:44 +000040 <url.version>1.5.1</url.version>
41
42 <felix.version>4.2.0</felix.version>
Clement Escoffierde7cc912013-09-17 18:26:27 +000043 <equinox.version>3.9.0.v20130529-1710</equinox.version>
44 <knoperflerfish.version>6.0.2</knoperflerfish.version>
Clement Escoffiera2435862013-06-22 07:22:44 +000045
Clement Escoffierea857d02013-09-07 11:08:45 +000046 <manipulator.version>1.10.2-SNAPSHOT</manipulator.version>
Clement Escoffiera2435862013-06-22 07:22:44 +000047 </properties>
48
49 <modules>
50 <module>ipojo-core-annotations-test</module>
51 <module>ipojo-core-bad-configuration-test</module>
52 <module>ipojo-core-configuration-admin-test</module>
53 <module>ipojo-core-configuration-processor-test</module>
54 <module>ipojo-core-configuration-test</module>
55 <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 Escoffierd3b68ee2013-06-22 13:15:49 +000069 <module>ipojo-api-test</module>
Clement Escoffierde7cc912013-09-17 18:26:27 +000070 <module>ipojo-compatibility-test</module>
Clement Escoffiera2435862013-06-22 07:22:44 +000071 </modules>
72
Clement Escoffier1c47f282013-02-13 16:26:18 +000073 <build>
Clement Escoffiera0030f52013-02-18 20:43:25 +000074 <plugins>
75 <plugin>
76 <groupId>org.apache.maven.plugins</groupId>
Clement Escoffiera2435862013-06-22 07:22:44 +000077 <artifactId>maven-surefire-plugin</artifactId>
78 <version>2.14.1</version>
79 <configuration>
80 <systemPropertyVariables>
81 <!-- TIME_FACTOR can be set from the command line with -DTIME_FACTOR=9-->
82 <TIME_FACTOR>${TIME_FACTOR}</TIME_FACTOR>
Clement Escoffiere02f77d2013-10-04 13:01:45 +000083 <!-- Defined by the profiles -->
84 <pax.exam.framework>${pax.exam.framework}</pax.exam.framework>
Clement Escoffiera2435862013-06-22 07:22:44 +000085 </systemPropertyVariables>
Clement Escoffiere46023f2013-06-22 08:33:57 +000086 <skipTests>${skipTestExecution}</skipTests>
Clement Escoffiera2435862013-06-22 07:22:44 +000087 </configuration>
88 </plugin>
89
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
Clement Escoffiera0030f52013-02-18 20:43:25 +000092 <artifactId>maven-compiler-plugin</artifactId>
93 <version>2.5.1</version>
94 <configuration>
95 <source>1.6</source>
96 <target>1.6</target>
97 </configuration>
98 </plugin>
99
100 <plugin>
101 <groupId>org.apache.servicemix.tooling</groupId>
102 <artifactId>depends-maven-plugin</artifactId>
103 <version>1.2</version>
104 <executions>
105 <execution>
106 <id>generate-config</id>
107 <goals>
108 <goal>generate-depends-file</goal>
109 </goals>
110 </execution>
111 </executions>
112 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000113
114 <plugin>
115 <groupId>org.apache.rat</groupId>
116 <artifactId>apache-rat-plugin</artifactId>
117 <executions>
118 <execution>
119 <phase>verify</phase>
120 <goals>
121 <goal>check</goal>
122 </goals>
123 </execution>
124 </executions>
125 <configuration>
126 <!-- check src only (except remote resources additions) -->
127 <includes>
128 <include>src/**</include>
129 </includes>
130 <excludes>
131 <exclude>src/main/appended-resources/**</exclude>
Clement Escoffierdc197b32013-05-07 07:39:24 +0000132 <exclude>**/*.iml</exclude>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000133 </excludes>
134 </configuration>
135 </plugin>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +0000136
137 <plugin>
138 <artifactId>maven-deploy-plugin</artifactId>
139 <version>2.4</version>
140 <configuration>
141 <skip>true</skip>
142 </configuration>
143 </plugin>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000144 </plugins>
145
Clement Escoffier1c47f282013-02-13 16:26:18 +0000146 </build>
147
Clement Escoffiera0030f52013-02-18 20:43:25 +0000148
149 <dependencies>
150
151 <dependency>
152 <groupId>org.ops4j.pax.exam</groupId>
153 <artifactId>pax-exam-container-native</artifactId>
154 <version>${exam.version}</version>
155 <scope>test</scope>
156 </dependency>
157
158 <dependency>
159 <groupId>org.ops4j.pax.exam</groupId>
160 <artifactId>pax-exam-junit4</artifactId>
161 <version>${exam.version}</version>
162 <scope>test</scope>
163 </dependency>
164
165 <dependency>
166 <groupId>org.ops4j.pax.exam</groupId>
167 <artifactId>pax-exam-link-mvn</artifactId>
168 <version>${exam.version}</version>
169 <scope>test</scope>
170 </dependency>
171
172 <dependency>
173 <groupId>org.ops4j.pax.url</groupId>
174 <artifactId>pax-url-aether</artifactId>
175 <version>${url.version}</version>
176 <scope>test</scope>
177 </dependency>
178
Clement Escoffiera0030f52013-02-18 20:43:25 +0000179 <dependency>
180 <groupId>ch.qos.logback</groupId>
181 <artifactId>logback-core</artifactId>
182 <version>0.9.6</version>
183 <scope>test</scope>
184 </dependency>
185
186 <dependency>
187 <groupId>ch.qos.logback</groupId>
188 <artifactId>logback-classic</artifactId>
189 <version>0.9.6</version>
190 <scope>test</scope>
191 </dependency>
192
Clement Escoffiera0030f52013-02-18 20:43:25 +0000193 <dependency>
194 <groupId>junit</groupId>
195 <artifactId>junit</artifactId>
196 <version>4.9</version>
197 <scope>test</scope>
198 </dependency>
199
200 <dependency>
201 <groupId>org.mockito</groupId>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000202 <artifactId>mockito-all</artifactId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000203 <version>1.9.5</version>
204 </dependency>
205
206 <dependency>
207 <groupId>org.ops4j.pax.tinybundles</groupId>
208 <artifactId>tinybundles</artifactId>
209 <version>1.0.0</version>
210 </dependency>
211
212 <dependency>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000213 <groupId>org.ow2.chameleon.testing</groupId>
214 <artifactId>tinybundles-ipojo</artifactId>
215 <version>0.3.0</version>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000216 <scope>test</scope>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000217 </dependency>
218
219 <dependency>
220 <groupId>org.apache.felix</groupId>
221 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffier6dc8de12013-06-21 16:39:45 +0000222 <version>${manipulator.version}</version>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000223 </dependency>
224
225 <dependency>
226 <groupId>org.apache.felix</groupId>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000227 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier73842a12013-06-16 07:11:54 +0000228 <version>1.10.2-SNAPSHOT</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000229 <exclusions>
230 <exclusion>
231 <groupId>org.osgi</groupId>
232 <artifactId>org.osgi.core</artifactId>
233 </exclusion>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000234 <exclusion>
235 <groupId>org.osgi</groupId>
236 <artifactId>org.osgi.compendium</artifactId>
237 </exclusion>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000238 </exclusions>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000239 </dependency>
240
241 <dependency>
242 <groupId>org.apache.felix</groupId>
Clement Escoffier0b907fb2013-05-06 13:25:52 +0000243 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
Clement Escoffier56407202013-06-22 07:54:46 +0000244 <version>1.10.2-SNAPSHOT</version>
Clement Escoffier0b907fb2013-05-06 13:25:52 +0000245 </dependency>
246
247 <dependency>
248 <groupId>org.apache.felix</groupId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000249 <artifactId>org.apache.felix.configadmin</artifactId>
250 <version>1.6.0</version>
251 <scope>test</scope>
252 </dependency>
253
254 <dependency>
255 <groupId>commons-io</groupId>
256 <artifactId>commons-io</artifactId>
257 <version>2.4</version>
258 </dependency>
259
260 <dependency>
261 <groupId>org.ow2.chameleon.testing</groupId>
262 <artifactId>osgi-helpers</artifactId>
Clement Escoffierab397832013-05-15 15:43:05 +0000263 <version>0.6.1</version>
Clement Escoffiercfae7912013-05-08 16:51:29 +0000264 <exclusions>
265 <exclusion>
266 <groupId>org.osgi</groupId>
267 <artifactId>org.osgi.core</artifactId>
268 </exclusion>
269 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000270 </dependency>
271
Clement Escoffiera0030f52013-02-18 20:43:25 +0000272
273 <dependency>
274 <groupId>org.apache.felix</groupId>
275 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
276 <!--
277 We use the released version as we don't really have to do any behavioral test on the handler in the core
278 test.
279 -->
280 <version>1.8.0</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000281 <exclusions>
282 <exclusion>
283 <groupId>org.osgi</groupId>
284 <artifactId>org.osgi.core</artifactId>
285 </exclusion>
286 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000287 </dependency>
288
289 <dependency>
290 <groupId>org.apache.felix</groupId>
291 <artifactId>org.apache.felix.log</artifactId>
292 <version>1.0.1</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000293 <exclusions>
294 <exclusion>
295 <groupId>org.osgi</groupId>
296 <artifactId>org.osgi.core</artifactId>
297 </exclusion>
298 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000299 </dependency>
300
301 <dependency>
302 <groupId>org.ops4j.pax.url</groupId>
303 <artifactId>pax-url-wrap</artifactId>
304 <version>1.5.2</version>
305 </dependency>
Clement Escoffiere050be02013-06-12 11:38:27 +0000306
307 <dependency>
308 <groupId>org.easytesting</groupId>
309 <artifactId>fest-assert</artifactId>
310 <version>1.4</version>
311 </dependency>
Clement Escoffierd550b802013-06-22 08:00:56 +0000312
Clement Escoffiera0030f52013-02-18 20:43:25 +0000313 </dependencies>
314
Clement Escoffier1c47f282013-02-13 16:26:18 +0000315 <profiles>
316 <profile>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000317 <id>default</id>
318 <activation>
319 <activeByDefault>true</activeByDefault>
320 </activation>
Clement Escoffiere02f77d2013-10-04 13:01:45 +0000321 <properties>
322 <pax.exam.framework>none</pax.exam.framework>
323 </properties>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000324 <dependencies>
325 <dependency>
326 <groupId>org.osgi</groupId>
327 <artifactId>org.osgi.compendium</artifactId>
328 <version>4.3.0</version>
329 </dependency>
330 <dependency>
331 <groupId>org.osgi</groupId>
332 <artifactId>org.osgi.core</artifactId>
333 <version>4.3.1</version>
334 </dependency>
335 </dependencies>
336 </profile>
337 <profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000338 <id>knopflerfish</id>
339 <activation>
340 <activeByDefault>false</activeByDefault>
341 <property>
342 <name>pax.exam.framework</name>
343 <value>knopflerfish</value>
344 </property>
345 </activation>
346 <properties>
347 <pax.exam.framework>knopflerfish</pax.exam.framework>
348 </properties>
349 <repositories>
350 <repository>
351 <id>knopflerfish-releases</id>
352 <url>http://www.knopflerfish.org/maven2</url>
353 </repository>
354 </repositories>
355 <dependencies>
356 <dependency>
357 <groupId>org.knopflerfish</groupId>
358 <artifactId>framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000359 <version>${knoperflerfish.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000360 <scope>test</scope>
361 </dependency>
Clement Escoffierc1fe8d82013-09-18 09:13:50 +0000362 <dependency>
363 <!-- must be after KF -->
364 <groupId>org.osgi</groupId>
365 <artifactId>org.osgi.core</artifactId>
366 <version>4.3.1</version>
367 </dependency>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000368 </dependencies>
369 </profile>
370
371 <profile>
372 <id>equinox</id>
373 <activation>
374 <activeByDefault>false</activeByDefault>
375 <property>
376 <name>pax.exam.framework</name>
377 <value>equinox</value>
378 </property>
379 </activation>
380 <properties>
381 <pax.exam.framework>equinox</pax.exam.framework>
382 </properties>
383 <dependencies>
384 <dependency>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000385 <groupId>org.osgi</groupId>
386 <artifactId>org.osgi.compendium</artifactId>
387 <version>4.3.0</version>
388 </dependency>
389 <dependency>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000390 <groupId>org.eclipse.tycho</groupId>
391 <artifactId>org.eclipse.osgi</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000392 <version>${equinox.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000393 <scope>test</scope>
394 </dependency>
Clement Escoffierc1fe8d82013-09-18 09:13:50 +0000395 <dependency>
396 <!-- must be after equinox -->
397 <groupId>org.osgi</groupId>
398 <artifactId>org.osgi.core</artifactId>
399 <version>4.3.1</version>
400 </dependency>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000401 </dependencies>
402 </profile>
403
404 <profile>
405 <id>felix</id>
406 <activation>
Clement Escoffiera2435862013-06-22 07:22:44 +0000407 <activeByDefault>false</activeByDefault>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000408 <property>
409 <name>pax.exam.framework</name>
410 <value>felix</value>
411 </property>
412 </activation>
413 <properties>
414 <pax.exam.framework>felix</pax.exam.framework>
415 </properties>
416 <dependencies>
417 <dependency>
418 <groupId>org.apache.felix</groupId>
419 <artifactId>org.apache.felix.framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000420 <version>${felix.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000421 </dependency>
422 </dependencies>
423 </profile>
424
425 <profile>
426 <id>test</id>
Clement Escoffiera2435862013-06-22 07:22:44 +0000427 <properties>
428 <skipTestExecution>false</skipTestExecution>
429 </properties>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000430 </profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000431 </profiles>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000432</project>