blob: 8b453df871e6736e6d50ec4973c89534f2f9fa55 [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>
66 <module>ipojo-core-service-dependency-interceptor-test</module>
67 <module>ipojo-core-service-providing-test</module>
Clement Escoffierd3b68ee2013-06-22 13:15:49 +000068 <module>ipojo-api-test</module>
Clement Escoffierde7cc912013-09-17 18:26:27 +000069 <module>ipojo-compatibility-test</module>
Clement Escoffiera2435862013-06-22 07:22:44 +000070 </modules>
71
Clement Escoffier1c47f282013-02-13 16:26:18 +000072 <build>
Clement Escoffiera0030f52013-02-18 20:43:25 +000073 <plugins>
74 <plugin>
75 <groupId>org.apache.maven.plugins</groupId>
Clement Escoffiera2435862013-06-22 07:22:44 +000076 <artifactId>maven-surefire-plugin</artifactId>
77 <version>2.14.1</version>
78 <configuration>
79 <systemPropertyVariables>
80 <!-- TIME_FACTOR can be set from the command line with -DTIME_FACTOR=9-->
81 <TIME_FACTOR>${TIME_FACTOR}</TIME_FACTOR>
82 </systemPropertyVariables>
Clement Escoffiere46023f2013-06-22 08:33:57 +000083 <skipTests>${skipTestExecution}</skipTests>
Clement Escoffiera2435862013-06-22 07:22:44 +000084 </configuration>
85 </plugin>
86
87 <plugin>
88 <groupId>org.apache.maven.plugins</groupId>
Clement Escoffiera0030f52013-02-18 20:43:25 +000089 <artifactId>maven-compiler-plugin</artifactId>
90 <version>2.5.1</version>
91 <configuration>
92 <source>1.6</source>
93 <target>1.6</target>
94 </configuration>
95 </plugin>
96
97 <plugin>
98 <groupId>org.apache.servicemix.tooling</groupId>
99 <artifactId>depends-maven-plugin</artifactId>
100 <version>1.2</version>
101 <executions>
102 <execution>
103 <id>generate-config</id>
104 <goals>
105 <goal>generate-depends-file</goal>
106 </goals>
107 </execution>
108 </executions>
109 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000110
111 <plugin>
112 <groupId>org.apache.rat</groupId>
113 <artifactId>apache-rat-plugin</artifactId>
114 <executions>
115 <execution>
116 <phase>verify</phase>
117 <goals>
118 <goal>check</goal>
119 </goals>
120 </execution>
121 </executions>
122 <configuration>
123 <!-- check src only (except remote resources additions) -->
124 <includes>
125 <include>src/**</include>
126 </includes>
127 <excludes>
128 <exclude>src/main/appended-resources/**</exclude>
Clement Escoffierdc197b32013-05-07 07:39:24 +0000129 <exclude>**/*.iml</exclude>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000130 </excludes>
131 </configuration>
132 </plugin>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +0000133
134 <plugin>
135 <artifactId>maven-deploy-plugin</artifactId>
136 <version>2.4</version>
137 <configuration>
138 <skip>true</skip>
139 </configuration>
140 </plugin>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000141 </plugins>
142
Clement Escoffier1c47f282013-02-13 16:26:18 +0000143 </build>
144
Clement Escoffiera0030f52013-02-18 20:43:25 +0000145
146 <dependencies>
147
148 <dependency>
149 <groupId>org.ops4j.pax.exam</groupId>
150 <artifactId>pax-exam-container-native</artifactId>
151 <version>${exam.version}</version>
152 <scope>test</scope>
153 </dependency>
154
155 <dependency>
156 <groupId>org.ops4j.pax.exam</groupId>
157 <artifactId>pax-exam-junit4</artifactId>
158 <version>${exam.version}</version>
159 <scope>test</scope>
160 </dependency>
161
162 <dependency>
163 <groupId>org.ops4j.pax.exam</groupId>
164 <artifactId>pax-exam-link-mvn</artifactId>
165 <version>${exam.version}</version>
166 <scope>test</scope>
167 </dependency>
168
169 <dependency>
170 <groupId>org.ops4j.pax.url</groupId>
171 <artifactId>pax-url-aether</artifactId>
172 <version>${url.version}</version>
173 <scope>test</scope>
174 </dependency>
175
Clement Escoffiera0030f52013-02-18 20:43:25 +0000176 <dependency>
177 <groupId>ch.qos.logback</groupId>
178 <artifactId>logback-core</artifactId>
179 <version>0.9.6</version>
180 <scope>test</scope>
181 </dependency>
182
183 <dependency>
184 <groupId>ch.qos.logback</groupId>
185 <artifactId>logback-classic</artifactId>
186 <version>0.9.6</version>
187 <scope>test</scope>
188 </dependency>
189
Clement Escoffiera0030f52013-02-18 20:43:25 +0000190 <dependency>
191 <groupId>junit</groupId>
192 <artifactId>junit</artifactId>
193 <version>4.9</version>
194 <scope>test</scope>
195 </dependency>
196
197 <dependency>
198 <groupId>org.mockito</groupId>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000199 <artifactId>mockito-all</artifactId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000200 <version>1.9.5</version>
201 </dependency>
202
203 <dependency>
204 <groupId>org.ops4j.pax.tinybundles</groupId>
205 <artifactId>tinybundles</artifactId>
206 <version>1.0.0</version>
207 </dependency>
208
209 <dependency>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000210 <groupId>org.ow2.chameleon.testing</groupId>
211 <artifactId>tinybundles-ipojo</artifactId>
212 <version>0.3.0</version>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000213 <scope>test</scope>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000214 </dependency>
215
216 <dependency>
217 <groupId>org.apache.felix</groupId>
218 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffier6dc8de12013-06-21 16:39:45 +0000219 <version>${manipulator.version}</version>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000220 </dependency>
221
222 <dependency>
223 <groupId>org.apache.felix</groupId>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000224 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier73842a12013-06-16 07:11:54 +0000225 <version>1.10.2-SNAPSHOT</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000226 <exclusions>
227 <exclusion>
228 <groupId>org.osgi</groupId>
229 <artifactId>org.osgi.core</artifactId>
230 </exclusion>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000231 <exclusion>
232 <groupId>org.osgi</groupId>
233 <artifactId>org.osgi.compendium</artifactId>
234 </exclusion>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000235 </exclusions>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000236 </dependency>
237
238 <dependency>
239 <groupId>org.apache.felix</groupId>
Clement Escoffier0b907fb2013-05-06 13:25:52 +0000240 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
Clement Escoffier56407202013-06-22 07:54:46 +0000241 <version>1.10.2-SNAPSHOT</version>
Clement Escoffier0b907fb2013-05-06 13:25:52 +0000242 </dependency>
243
244 <dependency>
245 <groupId>org.apache.felix</groupId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000246 <artifactId>org.apache.felix.configadmin</artifactId>
247 <version>1.6.0</version>
248 <scope>test</scope>
249 </dependency>
250
251 <dependency>
252 <groupId>commons-io</groupId>
253 <artifactId>commons-io</artifactId>
254 <version>2.4</version>
255 </dependency>
256
257 <dependency>
258 <groupId>org.ow2.chameleon.testing</groupId>
259 <artifactId>osgi-helpers</artifactId>
Clement Escoffierab397832013-05-15 15:43:05 +0000260 <version>0.6.1</version>
Clement Escoffiercfae7912013-05-08 16:51:29 +0000261 <exclusions>
262 <exclusion>
263 <groupId>org.osgi</groupId>
264 <artifactId>org.osgi.core</artifactId>
265 </exclusion>
266 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000267 </dependency>
268
Clement Escoffiera0030f52013-02-18 20:43:25 +0000269
270 <dependency>
271 <groupId>org.apache.felix</groupId>
272 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
273 <!--
274 We use the released version as we don't really have to do any behavioral test on the handler in the core
275 test.
276 -->
277 <version>1.8.0</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000278 <exclusions>
279 <exclusion>
280 <groupId>org.osgi</groupId>
281 <artifactId>org.osgi.core</artifactId>
282 </exclusion>
283 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000284 </dependency>
285
286 <dependency>
287 <groupId>org.apache.felix</groupId>
288 <artifactId>org.apache.felix.log</artifactId>
289 <version>1.0.1</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000290 <exclusions>
291 <exclusion>
292 <groupId>org.osgi</groupId>
293 <artifactId>org.osgi.core</artifactId>
294 </exclusion>
295 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000296 </dependency>
297
298 <dependency>
299 <groupId>org.ops4j.pax.url</groupId>
300 <artifactId>pax-url-wrap</artifactId>
301 <version>1.5.2</version>
302 </dependency>
Clement Escoffiere050be02013-06-12 11:38:27 +0000303
304 <dependency>
305 <groupId>org.easytesting</groupId>
306 <artifactId>fest-assert</artifactId>
307 <version>1.4</version>
308 </dependency>
Clement Escoffierd550b802013-06-22 08:00:56 +0000309
Clement Escoffiera0030f52013-02-18 20:43:25 +0000310 </dependencies>
311
Clement Escoffier1c47f282013-02-13 16:26:18 +0000312 <profiles>
313 <profile>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000314 <id>default</id>
315 <activation>
316 <activeByDefault>true</activeByDefault>
317 </activation>
318 <dependencies>
319 <dependency>
320 <groupId>org.osgi</groupId>
321 <artifactId>org.osgi.compendium</artifactId>
322 <version>4.3.0</version>
323 </dependency>
324 <dependency>
325 <groupId>org.osgi</groupId>
326 <artifactId>org.osgi.core</artifactId>
327 <version>4.3.1</version>
328 </dependency>
329 </dependencies>
330 </profile>
331 <profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000332 <id>knopflerfish</id>
333 <activation>
334 <activeByDefault>false</activeByDefault>
335 <property>
336 <name>pax.exam.framework</name>
337 <value>knopflerfish</value>
338 </property>
339 </activation>
340 <properties>
341 <pax.exam.framework>knopflerfish</pax.exam.framework>
342 </properties>
343 <repositories>
344 <repository>
345 <id>knopflerfish-releases</id>
346 <url>http://www.knopflerfish.org/maven2</url>
347 </repository>
348 </repositories>
349 <dependencies>
350 <dependency>
351 <groupId>org.knopflerfish</groupId>
352 <artifactId>framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000353 <version>${knoperflerfish.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000354 <scope>test</scope>
355 </dependency>
Clement Escoffierc1fe8d82013-09-18 09:13:50 +0000356 <dependency>
357 <!-- must be after KF -->
358 <groupId>org.osgi</groupId>
359 <artifactId>org.osgi.core</artifactId>
360 <version>4.3.1</version>
361 </dependency>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000362 </dependencies>
363 </profile>
364
365 <profile>
366 <id>equinox</id>
367 <activation>
368 <activeByDefault>false</activeByDefault>
369 <property>
370 <name>pax.exam.framework</name>
371 <value>equinox</value>
372 </property>
373 </activation>
374 <properties>
375 <pax.exam.framework>equinox</pax.exam.framework>
376 </properties>
377 <dependencies>
378 <dependency>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000379 <groupId>org.osgi</groupId>
380 <artifactId>org.osgi.compendium</artifactId>
381 <version>4.3.0</version>
382 </dependency>
383 <dependency>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000384 <groupId>org.eclipse.tycho</groupId>
385 <artifactId>org.eclipse.osgi</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000386 <version>${equinox.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000387 <scope>test</scope>
388 </dependency>
Clement Escoffierc1fe8d82013-09-18 09:13:50 +0000389 <dependency>
390 <!-- must be after equinox -->
391 <groupId>org.osgi</groupId>
392 <artifactId>org.osgi.core</artifactId>
393 <version>4.3.1</version>
394 </dependency>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000395 </dependencies>
396 </profile>
397
398 <profile>
399 <id>felix</id>
400 <activation>
Clement Escoffiera2435862013-06-22 07:22:44 +0000401 <activeByDefault>false</activeByDefault>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000402 <property>
403 <name>pax.exam.framework</name>
404 <value>felix</value>
405 </property>
406 </activation>
407 <properties>
408 <pax.exam.framework>felix</pax.exam.framework>
409 </properties>
410 <dependencies>
411 <dependency>
412 <groupId>org.apache.felix</groupId>
413 <artifactId>org.apache.felix.framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000414 <version>${felix.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000415 </dependency>
416 </dependencies>
417 </profile>
418
419 <profile>
420 <id>test</id>
Clement Escoffiera2435862013-06-22 07:22:44 +0000421 <properties>
422 <skipTestExecution>false</skipTestExecution>
423 </properties>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000424 </profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000425 </profiles>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000426</project>