blob: 6b1ce5549f79133a2dcb52b532359c0d9f6f58c5 [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
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 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 Escoffiercfae7912013-05-08 16:51:29 +0000256 <exclusions>
257 <exclusion>
258 <groupId>org.osgi</groupId>
259 <artifactId>org.osgi.core</artifactId>
260 </exclusion>
261 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000262 </dependency>
263
Clement Escoffiera0030f52013-02-18 20:43:25 +0000264
265 <dependency>
266 <groupId>org.apache.felix</groupId>
267 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
268 <!--
269 We use the released version as we don't really have to do any behavioral test on the handler in the core
270 test.
271 -->
272 <version>1.8.0</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000273 <exclusions>
274 <exclusion>
275 <groupId>org.osgi</groupId>
276 <artifactId>org.osgi.core</artifactId>
277 </exclusion>
278 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000279 </dependency>
280
281 <dependency>
282 <groupId>org.apache.felix</groupId>
283 <artifactId>org.apache.felix.log</artifactId>
284 <version>1.0.1</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000285 <exclusions>
286 <exclusion>
287 <groupId>org.osgi</groupId>
288 <artifactId>org.osgi.core</artifactId>
289 </exclusion>
290 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000291 </dependency>
292
293 <dependency>
294 <groupId>org.ops4j.pax.url</groupId>
295 <artifactId>pax-url-wrap</artifactId>
296 <version>1.5.2</version>
297 </dependency>
Clement Escoffiere050be02013-06-12 11:38:27 +0000298
299 <dependency>
300 <groupId>org.easytesting</groupId>
301 <artifactId>fest-assert</artifactId>
302 <version>1.4</version>
303 </dependency>
Clement Escoffierd550b802013-06-22 08:00:56 +0000304
305 <dependency>
306 <groupId>org.apache.felix</groupId>
307 <artifactId>org.apache.felix.framework</artifactId>
308 <version>${felix.version}</version>
309 </dependency>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000310 </dependencies>
311
Clement Escoffier1c47f282013-02-13 16:26:18 +0000312 <profiles>
313 <profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000314 <id>knopflerfish</id>
315 <activation>
316 <activeByDefault>false</activeByDefault>
317 <property>
318 <name>pax.exam.framework</name>
319 <value>knopflerfish</value>
320 </property>
321 </activation>
322 <properties>
323 <pax.exam.framework>knopflerfish</pax.exam.framework>
324 </properties>
325 <repositories>
326 <repository>
327 <id>knopflerfish-releases</id>
328 <url>http://www.knopflerfish.org/maven2</url>
329 </repository>
330 </repositories>
331 <dependencies>
332 <dependency>
333 <groupId>org.knopflerfish</groupId>
334 <artifactId>framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000335 <version>${knoperflerfish.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000336 <scope>test</scope>
337 </dependency>
338 </dependencies>
339 </profile>
340
341 <profile>
342 <id>equinox</id>
343 <activation>
344 <activeByDefault>false</activeByDefault>
345 <property>
346 <name>pax.exam.framework</name>
347 <value>equinox</value>
348 </property>
349 </activation>
350 <properties>
351 <pax.exam.framework>equinox</pax.exam.framework>
352 </properties>
353 <dependencies>
354 <dependency>
355 <groupId>org.eclipse.tycho</groupId>
356 <artifactId>org.eclipse.osgi</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000357 <version>${equinox.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000358 <scope>test</scope>
359 </dependency>
360 </dependencies>
361 </profile>
362
363 <profile>
364 <id>felix</id>
365 <activation>
Clement Escoffiera2435862013-06-22 07:22:44 +0000366 <activeByDefault>false</activeByDefault>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000367 <property>
368 <name>pax.exam.framework</name>
369 <value>felix</value>
370 </property>
371 </activation>
372 <properties>
373 <pax.exam.framework>felix</pax.exam.framework>
374 </properties>
375 <dependencies>
376 <dependency>
377 <groupId>org.apache.felix</groupId>
378 <artifactId>org.apache.felix.framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000379 <version>${felix.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000380 </dependency>
381 </dependencies>
382 </profile>
383
384 <profile>
385 <id>test</id>
Clement Escoffiera2435862013-06-22 07:22:44 +0000386 <properties>
387 <skipTestExecution>false</skipTestExecution>
388 </properties>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000389 </profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000390 </profiles>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000391</project>