blob: 3ba897c6aef482dbcebb7fc5894b376fed626e05 [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 Escoffier94711992013-10-08 14:24:52 +000030 <version>1.11.0</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 Escoffierde7cc912013-09-17 18:26:27 +000042 <equinox.version>3.9.0.v20130529-1710</equinox.version>
43 <knoperflerfish.version>6.0.2</knoperflerfish.version>
Clement Escoffiera2435862013-06-22 07:22:44 +000044
Clement Escoffiercc182022013-10-08 14:09:24 +000045 <manipulator.version>1.11.0</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>
54 <module>ipojo-core-external-handlers-test</module>
55 <module>ipojo-core-factory-test</module>
56 <module>ipojo-core-factory-version-test</module>
57 <module>ipojo-core-handler-test</module>
58 <module>ipojo-core-lifecycle-callback-test</module>
59 <module>ipojo-core-lifecycle-controller-test</module>
60 <module>ipojo-core-logger-test</module>
61 <module>ipojo-core-service-dependency-optional-test</module>
62 <module>ipojo-core-service-dependency-policies</module>
63 <module>ipojo-core-service-dependency-proxies</module>
64 <module>ipojo-core-service-dependency-test</module>
Clement Escoffier9178b072013-09-26 17:51:18 +000065 <module>ipojo-core-service-dependency-timeout-test</module>
Clement Escoffiera2435862013-06-22 07:22:44 +000066 <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>
Clement Escoffiere02f77d2013-10-04 13:01:45 +000082 <!-- Defined by the profiles -->
83 <pax.exam.framework>${pax.exam.framework}</pax.exam.framework>
Clement Escoffiera2435862013-06-22 07:22:44 +000084 </systemPropertyVariables>
Clement Escoffiere46023f2013-06-22 08:33:57 +000085 <skipTests>${skipTestExecution}</skipTests>
Clement Escoffiera2435862013-06-22 07:22:44 +000086 </configuration>
87 </plugin>
88
89 <plugin>
90 <groupId>org.apache.maven.plugins</groupId>
Clement Escoffiera0030f52013-02-18 20:43:25 +000091 <artifactId>maven-compiler-plugin</artifactId>
92 <version>2.5.1</version>
93 <configuration>
94 <source>1.6</source>
95 <target>1.6</target>
96 </configuration>
97 </plugin>
98
99 <plugin>
100 <groupId>org.apache.servicemix.tooling</groupId>
101 <artifactId>depends-maven-plugin</artifactId>
102 <version>1.2</version>
103 <executions>
104 <execution>
105 <id>generate-config</id>
106 <goals>
107 <goal>generate-depends-file</goal>
108 </goals>
109 </execution>
110 </executions>
111 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000112
113 <plugin>
114 <groupId>org.apache.rat</groupId>
115 <artifactId>apache-rat-plugin</artifactId>
116 <executions>
117 <execution>
118 <phase>verify</phase>
119 <goals>
120 <goal>check</goal>
121 </goals>
122 </execution>
123 </executions>
124 <configuration>
125 <!-- check src only (except remote resources additions) -->
126 <includes>
127 <include>src/**</include>
128 </includes>
129 <excludes>
130 <exclude>src/main/appended-resources/**</exclude>
Clement Escoffierdc197b32013-05-07 07:39:24 +0000131 <exclude>**/*.iml</exclude>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000132 </excludes>
133 </configuration>
134 </plugin>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +0000135
136 <plugin>
137 <artifactId>maven-deploy-plugin</artifactId>
138 <version>2.4</version>
139 <configuration>
140 <skip>true</skip>
141 </configuration>
142 </plugin>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000143 </plugins>
144
Clement Escoffier1c47f282013-02-13 16:26:18 +0000145 </build>
146
Clement Escoffiera0030f52013-02-18 20:43:25 +0000147
148 <dependencies>
149
150 <dependency>
151 <groupId>org.ops4j.pax.exam</groupId>
152 <artifactId>pax-exam-container-native</artifactId>
153 <version>${exam.version}</version>
154 <scope>test</scope>
155 </dependency>
156
157 <dependency>
158 <groupId>org.ops4j.pax.exam</groupId>
159 <artifactId>pax-exam-junit4</artifactId>
160 <version>${exam.version}</version>
161 <scope>test</scope>
162 </dependency>
163
164 <dependency>
165 <groupId>org.ops4j.pax.exam</groupId>
166 <artifactId>pax-exam-link-mvn</artifactId>
167 <version>${exam.version}</version>
168 <scope>test</scope>
169 </dependency>
170
171 <dependency>
172 <groupId>org.ops4j.pax.url</groupId>
173 <artifactId>pax-url-aether</artifactId>
174 <version>${url.version}</version>
175 <scope>test</scope>
176 </dependency>
177
Clement Escoffiera0030f52013-02-18 20:43:25 +0000178 <dependency>
179 <groupId>ch.qos.logback</groupId>
180 <artifactId>logback-core</artifactId>
181 <version>0.9.6</version>
182 <scope>test</scope>
183 </dependency>
184
185 <dependency>
186 <groupId>ch.qos.logback</groupId>
187 <artifactId>logback-classic</artifactId>
188 <version>0.9.6</version>
189 <scope>test</scope>
190 </dependency>
191
Clement Escoffiera0030f52013-02-18 20:43:25 +0000192 <dependency>
193 <groupId>junit</groupId>
194 <artifactId>junit</artifactId>
195 <version>4.9</version>
196 <scope>test</scope>
197 </dependency>
198
199 <dependency>
200 <groupId>org.mockito</groupId>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000201 <artifactId>mockito-all</artifactId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000202 <version>1.9.5</version>
203 </dependency>
204
205 <dependency>
206 <groupId>org.ops4j.pax.tinybundles</groupId>
207 <artifactId>tinybundles</artifactId>
208 <version>1.0.0</version>
209 </dependency>
210
211 <dependency>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000212 <groupId>org.ow2.chameleon.testing</groupId>
213 <artifactId>tinybundles-ipojo</artifactId>
214 <version>0.3.0</version>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000215 <scope>test</scope>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000216 </dependency>
217
218 <dependency>
219 <groupId>org.apache.felix</groupId>
220 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffier6dc8de12013-06-21 16:39:45 +0000221 <version>${manipulator.version}</version>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000222 </dependency>
223
224 <dependency>
225 <groupId>org.apache.felix</groupId>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000226 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier94711992013-10-08 14:24:52 +0000227 <version>1.11.0</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000228 <exclusions>
229 <exclusion>
230 <groupId>org.osgi</groupId>
231 <artifactId>org.osgi.core</artifactId>
232 </exclusion>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000233 <exclusion>
234 <groupId>org.osgi</groupId>
235 <artifactId>org.osgi.compendium</artifactId>
236 </exclusion>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000237 </exclusions>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000238 </dependency>
239
240 <dependency>
241 <groupId>org.apache.felix</groupId>
Clement Escoffier0b907fb2013-05-06 13:25:52 +0000242 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
Clement Escoffiercc182022013-10-08 14:09:24 +0000243 <version>${manipulator.version}</version>
Clement Escoffier0b907fb2013-05-06 13:25:52 +0000244 </dependency>
245
246 <dependency>
247 <groupId>org.apache.felix</groupId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000248 <artifactId>org.apache.felix.configadmin</artifactId>
249 <version>1.6.0</version>
250 <scope>test</scope>
251 </dependency>
252
253 <dependency>
254 <groupId>commons-io</groupId>
255 <artifactId>commons-io</artifactId>
256 <version>2.4</version>
257 </dependency>
258
259 <dependency>
260 <groupId>org.ow2.chameleon.testing</groupId>
261 <artifactId>osgi-helpers</artifactId>
Clement Escoffierab397832013-05-15 15:43:05 +0000262 <version>0.6.1</version>
Clement Escoffiercfae7912013-05-08 16:51:29 +0000263 <exclusions>
264 <exclusion>
265 <groupId>org.osgi</groupId>
266 <artifactId>org.osgi.core</artifactId>
267 </exclusion>
268 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000269 </dependency>
270
Clement Escoffiera0030f52013-02-18 20:43:25 +0000271
272 <dependency>
273 <groupId>org.apache.felix</groupId>
274 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
275 <!--
276 We use the released version as we don't really have to do any behavioral test on the handler in the core
277 test.
278 -->
279 <version>1.8.0</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000280 <exclusions>
281 <exclusion>
282 <groupId>org.osgi</groupId>
283 <artifactId>org.osgi.core</artifactId>
284 </exclusion>
285 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000286 </dependency>
287
288 <dependency>
289 <groupId>org.apache.felix</groupId>
290 <artifactId>org.apache.felix.log</artifactId>
291 <version>1.0.1</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000292 <exclusions>
293 <exclusion>
294 <groupId>org.osgi</groupId>
295 <artifactId>org.osgi.core</artifactId>
296 </exclusion>
297 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000298 </dependency>
299
300 <dependency>
301 <groupId>org.ops4j.pax.url</groupId>
302 <artifactId>pax-url-wrap</artifactId>
303 <version>1.5.2</version>
304 </dependency>
Clement Escoffiere050be02013-06-12 11:38:27 +0000305
306 <dependency>
307 <groupId>org.easytesting</groupId>
308 <artifactId>fest-assert</artifactId>
309 <version>1.4</version>
310 </dependency>
Clement Escoffierd550b802013-06-22 08:00:56 +0000311
Clement Escoffiera0030f52013-02-18 20:43:25 +0000312 </dependencies>
313
Clement Escoffier1c47f282013-02-13 16:26:18 +0000314 <profiles>
315 <profile>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000316 <id>default</id>
317 <activation>
318 <activeByDefault>true</activeByDefault>
319 </activation>
Clement Escoffiere02f77d2013-10-04 13:01:45 +0000320 <properties>
321 <pax.exam.framework>none</pax.exam.framework>
322 </properties>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000323 <dependencies>
324 <dependency>
325 <groupId>org.osgi</groupId>
326 <artifactId>org.osgi.compendium</artifactId>
327 <version>4.3.0</version>
328 </dependency>
329 <dependency>
330 <groupId>org.osgi</groupId>
331 <artifactId>org.osgi.core</artifactId>
332 <version>4.3.1</version>
333 </dependency>
334 </dependencies>
335 </profile>
336 <profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000337 <id>knopflerfish</id>
338 <activation>
339 <activeByDefault>false</activeByDefault>
340 <property>
341 <name>pax.exam.framework</name>
342 <value>knopflerfish</value>
343 </property>
344 </activation>
345 <properties>
346 <pax.exam.framework>knopflerfish</pax.exam.framework>
347 </properties>
348 <repositories>
349 <repository>
350 <id>knopflerfish-releases</id>
351 <url>http://www.knopflerfish.org/maven2</url>
352 </repository>
353 </repositories>
354 <dependencies>
355 <dependency>
356 <groupId>org.knopflerfish</groupId>
357 <artifactId>framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000358 <version>${knoperflerfish.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000359 <scope>test</scope>
360 </dependency>
Clement Escoffierc1fe8d82013-09-18 09:13:50 +0000361 <dependency>
362 <!-- must be after KF -->
363 <groupId>org.osgi</groupId>
364 <artifactId>org.osgi.core</artifactId>
365 <version>4.3.1</version>
366 </dependency>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000367 </dependencies>
368 </profile>
369
370 <profile>
371 <id>equinox</id>
372 <activation>
373 <activeByDefault>false</activeByDefault>
374 <property>
375 <name>pax.exam.framework</name>
376 <value>equinox</value>
377 </property>
378 </activation>
379 <properties>
380 <pax.exam.framework>equinox</pax.exam.framework>
381 </properties>
382 <dependencies>
383 <dependency>
Clement Escoffierde7cc912013-09-17 18:26:27 +0000384 <groupId>org.osgi</groupId>
385 <artifactId>org.osgi.compendium</artifactId>
386 <version>4.3.0</version>
387 </dependency>
388 <dependency>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000389 <groupId>org.eclipse.tycho</groupId>
390 <artifactId>org.eclipse.osgi</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000391 <version>${equinox.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000392 <scope>test</scope>
393 </dependency>
Clement Escoffierc1fe8d82013-09-18 09:13:50 +0000394 <dependency>
395 <!-- must be after equinox -->
396 <groupId>org.osgi</groupId>
397 <artifactId>org.osgi.core</artifactId>
398 <version>4.3.1</version>
399 </dependency>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000400 </dependencies>
401 </profile>
402
403 <profile>
404 <id>felix</id>
405 <activation>
Clement Escoffiera2435862013-06-22 07:22:44 +0000406 <activeByDefault>false</activeByDefault>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000407 <property>
408 <name>pax.exam.framework</name>
409 <value>felix</value>
410 </property>
411 </activation>
412 <properties>
413 <pax.exam.framework>felix</pax.exam.framework>
414 </properties>
415 <dependencies>
416 <dependency>
417 <groupId>org.apache.felix</groupId>
418 <artifactId>org.apache.felix.framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000419 <version>${felix.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000420 </dependency>
421 </dependencies>
422 </profile>
423
424 <profile>
425 <id>test</id>
Clement Escoffiera2435862013-06-22 07:22:44 +0000426 <properties>
427 <skipTestExecution>false</skipTestExecution>
428 </properties>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000429 </profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000430 </profiles>
Clement Escoffier94711992013-10-08 14:24:52 +0000431
432 <scm>
433 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/releases/org.apache.felix.ipojo.runtime-project-1.11.0/org.apache.felix.ipojo.runtime.core-it</connection>
434 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/releases/org.apache.felix.ipojo.runtime-project-1.11.0/org.apache.felix.ipojo.runtime.core-it</developerConnection>
435 <url>http://svn.apache.org/viewvc/felix/releases/?root=Apache-SVN/org.apache.felix.ipojo.runtime-project-1.11.0/org.apache.felix.ipojo.runtime.core-it</url>
436 </scm>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000437</project>