blob: 9fb1490408f87c31bc7266dfa4f8df8a1fe41260 [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>
43 <equinox.version>3.8.1.v20120830-144521</equinox.version>
44 <knoperflerfish.version>5.3.3</knoperflerfish.version>
45
46 <manipulator.version>1.10.0</manipulator.version>
47 </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 Escoffiera2435862013-06-22 07:22:44 +000069 </modules>
70
Clement Escoffier1c47f282013-02-13 16:26:18 +000071 <build>
Clement Escoffiera0030f52013-02-18 20:43:25 +000072 <plugins>
73 <plugin>
74 <groupId>org.apache.maven.plugins</groupId>
Clement Escoffiera2435862013-06-22 07:22:44 +000075 <artifactId>maven-surefire-plugin</artifactId>
76 <version>2.14.1</version>
77 <configuration>
78 <systemPropertyVariables>
79 <!-- TIME_FACTOR can be set from the command line with -DTIME_FACTOR=9-->
80 <TIME_FACTOR>${TIME_FACTOR}</TIME_FACTOR>
81 </systemPropertyVariables>
Clement Escoffiere46023f2013-06-22 08:33:57 +000082 <skipTests>${skipTestExecution}</skipTests>
Clement Escoffiera2435862013-06-22 07:22:44 +000083 </configuration>
84 </plugin>
85
86 <plugin>
87 <groupId>org.apache.maven.plugins</groupId>
Clement Escoffiera0030f52013-02-18 20:43:25 +000088 <artifactId>maven-compiler-plugin</artifactId>
89 <version>2.5.1</version>
90 <configuration>
91 <source>1.6</source>
92 <target>1.6</target>
93 </configuration>
94 </plugin>
95
96 <plugin>
97 <groupId>org.apache.servicemix.tooling</groupId>
98 <artifactId>depends-maven-plugin</artifactId>
99 <version>1.2</version>
100 <executions>
101 <execution>
102 <id>generate-config</id>
103 <goals>
104 <goal>generate-depends-file</goal>
105 </goals>
106 </execution>
107 </executions>
108 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000109
110 <plugin>
111 <groupId>org.apache.rat</groupId>
112 <artifactId>apache-rat-plugin</artifactId>
113 <executions>
114 <execution>
115 <phase>verify</phase>
116 <goals>
117 <goal>check</goal>
118 </goals>
119 </execution>
120 </executions>
121 <configuration>
122 <!-- check src only (except remote resources additions) -->
123 <includes>
124 <include>src/**</include>
125 </includes>
126 <excludes>
127 <exclude>src/main/appended-resources/**</exclude>
Clement Escoffierdc197b32013-05-07 07:39:24 +0000128 <exclude>**/*.iml</exclude>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000129 </excludes>
130 </configuration>
131 </plugin>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +0000132
133 <plugin>
134 <artifactId>maven-deploy-plugin</artifactId>
135 <version>2.4</version>
136 <configuration>
137 <skip>true</skip>
138 </configuration>
139 </plugin>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000140 </plugins>
141
Clement Escoffier1c47f282013-02-13 16:26:18 +0000142 </build>
143
Clement Escoffiera0030f52013-02-18 20:43:25 +0000144
145 <dependencies>
146
147 <dependency>
148 <groupId>org.ops4j.pax.exam</groupId>
149 <artifactId>pax-exam-container-native</artifactId>
150 <version>${exam.version}</version>
151 <scope>test</scope>
152 </dependency>
153
154 <dependency>
155 <groupId>org.ops4j.pax.exam</groupId>
156 <artifactId>pax-exam-junit4</artifactId>
157 <version>${exam.version}</version>
158 <scope>test</scope>
159 </dependency>
160
161 <dependency>
162 <groupId>org.ops4j.pax.exam</groupId>
163 <artifactId>pax-exam-link-mvn</artifactId>
164 <version>${exam.version}</version>
165 <scope>test</scope>
166 </dependency>
167
168 <dependency>
169 <groupId>org.ops4j.pax.url</groupId>
170 <artifactId>pax-url-aether</artifactId>
171 <version>${url.version}</version>
172 <scope>test</scope>
173 </dependency>
174
Clement Escoffiera0030f52013-02-18 20:43:25 +0000175 <dependency>
176 <groupId>ch.qos.logback</groupId>
177 <artifactId>logback-core</artifactId>
178 <version>0.9.6</version>
179 <scope>test</scope>
180 </dependency>
181
182 <dependency>
183 <groupId>ch.qos.logback</groupId>
184 <artifactId>logback-classic</artifactId>
185 <version>0.9.6</version>
186 <scope>test</scope>
187 </dependency>
188
Clement Escoffiera0030f52013-02-18 20:43:25 +0000189 <dependency>
190 <groupId>junit</groupId>
191 <artifactId>junit</artifactId>
192 <version>4.9</version>
193 <scope>test</scope>
194 </dependency>
195
196 <dependency>
197 <groupId>org.mockito</groupId>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000198 <artifactId>mockito-all</artifactId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000199 <version>1.9.5</version>
200 </dependency>
201
202 <dependency>
203 <groupId>org.ops4j.pax.tinybundles</groupId>
204 <artifactId>tinybundles</artifactId>
205 <version>1.0.0</version>
206 </dependency>
207
208 <dependency>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000209 <groupId>org.ow2.chameleon.testing</groupId>
210 <artifactId>tinybundles-ipojo</artifactId>
211 <version>0.3.0</version>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000212 <scope>test</scope>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000213 </dependency>
214
215 <dependency>
216 <groupId>org.apache.felix</groupId>
217 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffier6dc8de12013-06-21 16:39:45 +0000218 <version>${manipulator.version}</version>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000219 </dependency>
220
221 <dependency>
222 <groupId>org.apache.felix</groupId>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000223 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier73842a12013-06-16 07:11:54 +0000224 <version>1.10.2-SNAPSHOT</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000225 <exclusions>
226 <exclusion>
227 <groupId>org.osgi</groupId>
228 <artifactId>org.osgi.core</artifactId>
229 </exclusion>
230 </exclusions>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000231 </dependency>
232
233 <dependency>
234 <groupId>org.apache.felix</groupId>
Clement Escoffier0b907fb2013-05-06 13:25:52 +0000235 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
Clement Escoffier56407202013-06-22 07:54:46 +0000236 <version>1.10.2-SNAPSHOT</version>
Clement Escoffier0b907fb2013-05-06 13:25:52 +0000237 </dependency>
238
239 <dependency>
240 <groupId>org.apache.felix</groupId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000241 <artifactId>org.apache.felix.configadmin</artifactId>
242 <version>1.6.0</version>
243 <scope>test</scope>
244 </dependency>
245
246 <dependency>
247 <groupId>commons-io</groupId>
248 <artifactId>commons-io</artifactId>
249 <version>2.4</version>
250 </dependency>
251
252 <dependency>
253 <groupId>org.ow2.chameleon.testing</groupId>
254 <artifactId>osgi-helpers</artifactId>
Clement Escoffierab397832013-05-15 15:43:05 +0000255 <version>0.6.1</version>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000256 <scope>test</scope>
Clement Escoffiercfae7912013-05-08 16:51:29 +0000257 <exclusions>
258 <exclusion>
259 <groupId>org.osgi</groupId>
260 <artifactId>org.osgi.core</artifactId>
261 </exclusion>
262 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000263 </dependency>
264
Clement Escoffiera0030f52013-02-18 20:43:25 +0000265
266 <dependency>
267 <groupId>org.apache.felix</groupId>
268 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
269 <!--
270 We use the released version as we don't really have to do any behavioral test on the handler in the core
271 test.
272 -->
273 <version>1.8.0</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000274 <exclusions>
275 <exclusion>
276 <groupId>org.osgi</groupId>
277 <artifactId>org.osgi.core</artifactId>
278 </exclusion>
279 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000280 </dependency>
281
282 <dependency>
283 <groupId>org.apache.felix</groupId>
284 <artifactId>org.apache.felix.log</artifactId>
285 <version>1.0.1</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000286 <exclusions>
287 <exclusion>
288 <groupId>org.osgi</groupId>
289 <artifactId>org.osgi.core</artifactId>
290 </exclusion>
291 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000292 </dependency>
293
294 <dependency>
295 <groupId>org.ops4j.pax.url</groupId>
296 <artifactId>pax-url-wrap</artifactId>
297 <version>1.5.2</version>
298 </dependency>
Clement Escoffiere050be02013-06-12 11:38:27 +0000299
300 <dependency>
301 <groupId>org.easytesting</groupId>
302 <artifactId>fest-assert</artifactId>
303 <version>1.4</version>
304 </dependency>
Clement Escoffierd550b802013-06-22 08:00:56 +0000305
306 <dependency>
307 <groupId>org.apache.felix</groupId>
308 <artifactId>org.apache.felix.framework</artifactId>
309 <version>${felix.version}</version>
310 </dependency>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000311 </dependencies>
312
Clement Escoffier1c47f282013-02-13 16:26:18 +0000313 <profiles>
314 <profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000315 <id>knopflerfish</id>
316 <activation>
317 <activeByDefault>false</activeByDefault>
318 <property>
319 <name>pax.exam.framework</name>
320 <value>knopflerfish</value>
321 </property>
322 </activation>
323 <properties>
324 <pax.exam.framework>knopflerfish</pax.exam.framework>
325 </properties>
326 <repositories>
327 <repository>
328 <id>knopflerfish-releases</id>
329 <url>http://www.knopflerfish.org/maven2</url>
330 </repository>
331 </repositories>
332 <dependencies>
333 <dependency>
334 <groupId>org.knopflerfish</groupId>
335 <artifactId>framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000336 <version>${knoperflerfish.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000337 <scope>test</scope>
338 </dependency>
339 </dependencies>
340 </profile>
341
342 <profile>
343 <id>equinox</id>
344 <activation>
345 <activeByDefault>false</activeByDefault>
346 <property>
347 <name>pax.exam.framework</name>
348 <value>equinox</value>
349 </property>
350 </activation>
351 <properties>
352 <pax.exam.framework>equinox</pax.exam.framework>
353 </properties>
354 <dependencies>
355 <dependency>
356 <groupId>org.eclipse.tycho</groupId>
357 <artifactId>org.eclipse.osgi</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000358 <version>${equinox.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000359 <scope>test</scope>
360 </dependency>
361 </dependencies>
362 </profile>
363
364 <profile>
365 <id>felix</id>
366 <activation>
Clement Escoffiera2435862013-06-22 07:22:44 +0000367 <activeByDefault>false</activeByDefault>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000368 <property>
369 <name>pax.exam.framework</name>
370 <value>felix</value>
371 </property>
372 </activation>
373 <properties>
374 <pax.exam.framework>felix</pax.exam.framework>
375 </properties>
376 <dependencies>
377 <dependency>
378 <groupId>org.apache.felix</groupId>
379 <artifactId>org.apache.felix.framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000380 <version>${felix.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000381 </dependency>
382 </dependencies>
383 </profile>
384
385 <profile>
386 <id>test</id>
Clement Escoffiera2435862013-06-22 07:22:44 +0000387 <properties>
388 <skipTestExecution>false</skipTestExecution>
389 </properties>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000390 </profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000391 </profiles>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000392</project>