blob: 47732447f9f0d52c1de92a33b4090805ad5b76cb [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>
83 </systemPropertyVariables>
Clement Escoffiere46023f2013-06-22 08:33:57 +000084 <skipTests>${skipTestExecution}</skipTests>
Clement Escoffiera2435862013-06-22 07:22:44 +000085 </configuration>
86 </plugin>
87
88 <plugin>
89 <groupId>org.apache.maven.plugins</groupId>
Clement Escoffiera0030f52013-02-18 20:43:25 +000090 <artifactId>maven-compiler-plugin</artifactId>
91 <version>2.5.1</version>
92 <configuration>
93 <source>1.6</source>
94 <target>1.6</target>
95 </configuration>
96 </plugin>
97
98 <plugin>
99 <groupId>org.apache.servicemix.tooling</groupId>
100 <artifactId>depends-maven-plugin</artifactId>
101 <version>1.2</version>
102 <executions>
103 <execution>
104 <id>generate-config</id>
105 <goals>
106 <goal>generate-depends-file</goal>
107 </goals>
108 </execution>
109 </executions>
110 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000111
112 <plugin>
113 <groupId>org.apache.rat</groupId>
114 <artifactId>apache-rat-plugin</artifactId>
115 <executions>
116 <execution>
117 <phase>verify</phase>
118 <goals>
119 <goal>check</goal>
120 </goals>
121 </execution>
122 </executions>
123 <configuration>
124 <!-- check src only (except remote resources additions) -->
125 <includes>
126 <include>src/**</include>
127 </includes>
128 <excludes>
129 <exclude>src/main/appended-resources/**</exclude>
Clement Escoffierdc197b32013-05-07 07:39:24 +0000130 <exclude>**/*.iml</exclude>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000131 </excludes>
132 </configuration>
133 </plugin>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +0000134
135 <plugin>
136 <artifactId>maven-deploy-plugin</artifactId>
137 <version>2.4</version>
138 <configuration>
139 <skip>true</skip>
140 </configuration>
141 </plugin>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000142 </plugins>
143
Clement Escoffier1c47f282013-02-13 16:26:18 +0000144 </build>
145
Clement Escoffiera0030f52013-02-18 20:43:25 +0000146
147 <dependencies>
148
149 <dependency>
150 <groupId>org.ops4j.pax.exam</groupId>
151 <artifactId>pax-exam-container-native</artifactId>
152 <version>${exam.version}</version>
153 <scope>test</scope>
154 </dependency>
155
156 <dependency>
157 <groupId>org.ops4j.pax.exam</groupId>
158 <artifactId>pax-exam-junit4</artifactId>
159 <version>${exam.version}</version>
160 <scope>test</scope>
161 </dependency>
162
163 <dependency>
164 <groupId>org.ops4j.pax.exam</groupId>
165 <artifactId>pax-exam-link-mvn</artifactId>
166 <version>${exam.version}</version>
167 <scope>test</scope>
168 </dependency>
169
170 <dependency>
171 <groupId>org.ops4j.pax.url</groupId>
172 <artifactId>pax-url-aether</artifactId>
173 <version>${url.version}</version>
174 <scope>test</scope>
175 </dependency>
176
Clement Escoffiera0030f52013-02-18 20:43:25 +0000177 <dependency>
178 <groupId>ch.qos.logback</groupId>
179 <artifactId>logback-core</artifactId>
180 <version>0.9.6</version>
181 <scope>test</scope>
182 </dependency>
183
184 <dependency>
185 <groupId>ch.qos.logback</groupId>
186 <artifactId>logback-classic</artifactId>
187 <version>0.9.6</version>
188 <scope>test</scope>
189 </dependency>
190
Clement Escoffiera0030f52013-02-18 20:43:25 +0000191 <dependency>
192 <groupId>junit</groupId>
193 <artifactId>junit</artifactId>
194 <version>4.9</version>
195 <scope>test</scope>
196 </dependency>
197
198 <dependency>
199 <groupId>org.mockito</groupId>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000200 <artifactId>mockito-all</artifactId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000201 <version>1.9.5</version>
202 </dependency>
203
204 <dependency>
205 <groupId>org.ops4j.pax.tinybundles</groupId>
206 <artifactId>tinybundles</artifactId>
207 <version>1.0.0</version>
208 </dependency>
209
210 <dependency>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000211 <groupId>org.ow2.chameleon.testing</groupId>
212 <artifactId>tinybundles-ipojo</artifactId>
213 <version>0.3.0</version>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000214 <scope>test</scope>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000215 </dependency>
216
217 <dependency>
218 <groupId>org.apache.felix</groupId>
219 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffier6dc8de12013-06-21 16:39:45 +0000220 <version>${manipulator.version}</version>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000221 </dependency>
222
223 <dependency>
224 <groupId>org.apache.felix</groupId>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000225 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier73842a12013-06-16 07:11:54 +0000226 <version>1.10.2-SNAPSHOT</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000227 <exclusions>
228 <exclusion>
229 <groupId>org.osgi</groupId>
230 <artifactId>org.osgi.core</artifactId>
231 </exclusion>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000232 <exclusion>
233 <groupId>org.osgi</groupId>
234 <artifactId>org.osgi.compendium</artifactId>
235 </exclusion>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000236 </exclusions>
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 Escoffier56407202013-06-22 07:54:46 +0000242 <version>1.10.2-SNAPSHOT</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 Escoffierab397832013-05-15 15:43:05 +0000261 <version>0.6.1</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>
319 <dependencies>
320 <dependency>
321 <groupId>org.osgi</groupId>
322 <artifactId>org.osgi.compendium</artifactId>
323 <version>4.3.0</version>
324 </dependency>
325 <dependency>
326 <groupId>org.osgi</groupId>
327 <artifactId>org.osgi.core</artifactId>
328 <version>4.3.1</version>
329 </dependency>
330 </dependencies>
331 </profile>
332 <profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000333 <id>knopflerfish</id>
334 <activation>
335 <activeByDefault>false</activeByDefault>
336 <property>
337 <name>pax.exam.framework</name>
338 <value>knopflerfish</value>
339 </property>
340 </activation>
341 <properties>
342 <pax.exam.framework>knopflerfish</pax.exam.framework>
343 </properties>
344 <repositories>
345 <repository>
346 <id>knopflerfish-releases</id>
347 <url>http://www.knopflerfish.org/maven2</url>
348 </repository>
349 </repositories>
350 <dependencies>
351 <dependency>
352 <groupId>org.knopflerfish</groupId>
353 <artifactId>framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000354 <version>${knoperflerfish.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000355 <scope>test</scope>
356 </dependency>
Clement Escoffierc1fe8d82013-09-18 09:13:50 +0000357 <dependency>
358 <!-- must be after KF -->
359 <groupId>org.osgi</groupId>
360 <artifactId>org.osgi.core</artifactId>
361 <version>4.3.1</version>
362 </dependency>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000363 </dependencies>
364 </profile>
365
366 <profile>
367 <id>equinox</id>
368 <activation>
369 <activeByDefault>false</activeByDefault>
370 <property>
371 <name>pax.exam.framework</name>
372 <value>equinox</value>
373 </property>
374 </activation>
375 <properties>
376 <pax.exam.framework>equinox</pax.exam.framework>
377 </properties>
378 <dependencies>
379 <dependency>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000380 <groupId>org.osgi</groupId>
381 <artifactId>org.osgi.compendium</artifactId>
382 <version>4.3.0</version>
383 </dependency>
384 <dependency>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000385 <groupId>org.eclipse.tycho</groupId>
386 <artifactId>org.eclipse.osgi</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000387 <version>${equinox.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000388 <scope>test</scope>
389 </dependency>
Clement Escoffierc1fe8d82013-09-18 09:13:50 +0000390 <dependency>
391 <!-- must be after equinox -->
392 <groupId>org.osgi</groupId>
393 <artifactId>org.osgi.core</artifactId>
394 <version>4.3.1</version>
395 </dependency>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000396 </dependencies>
397 </profile>
398
399 <profile>
400 <id>felix</id>
401 <activation>
Clement Escoffiera2435862013-06-22 07:22:44 +0000402 <activeByDefault>false</activeByDefault>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000403 <property>
404 <name>pax.exam.framework</name>
405 <value>felix</value>
406 </property>
407 </activation>
408 <properties>
409 <pax.exam.framework>felix</pax.exam.framework>
410 </properties>
411 <dependencies>
412 <dependency>
413 <groupId>org.apache.felix</groupId>
414 <artifactId>org.apache.felix.framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000415 <version>${felix.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000416 </dependency>
417 </dependencies>
418 </profile>
419
420 <profile>
421 <id>test</id>
Clement Escoffiera2435862013-06-22 07:22:44 +0000422 <properties>
423 <skipTestExecution>false</skipTestExecution>
424 </properties>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000425 </profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000426 </profiles>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000427</project>