blob: 784396c1b5f9ec4ecfce0e7ffb78f5436e8b4480 [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
39 <exam.version>3.0.0</exam.version>
40 <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>
68 </modules>
69
Clement Escoffier1c47f282013-02-13 16:26:18 +000070 <build>
Clement Escoffiera0030f52013-02-18 20:43:25 +000071 <plugins>
72 <plugin>
73 <groupId>org.apache.maven.plugins</groupId>
Clement Escoffiera2435862013-06-22 07:22:44 +000074 <artifactId>maven-surefire-plugin</artifactId>
75 <version>2.14.1</version>
76 <configuration>
77 <systemPropertyVariables>
78 <!-- TIME_FACTOR can be set from the command line with -DTIME_FACTOR=9-->
79 <TIME_FACTOR>${TIME_FACTOR}</TIME_FACTOR>
80 </systemPropertyVariables>
81 </configuration>
82 </plugin>
83
84 <plugin>
85 <groupId>org.apache.maven.plugins</groupId>
Clement Escoffiera0030f52013-02-18 20:43:25 +000086 <artifactId>maven-compiler-plugin</artifactId>
87 <version>2.5.1</version>
88 <configuration>
89 <source>1.6</source>
90 <target>1.6</target>
91 </configuration>
92 </plugin>
93
94 <plugin>
95 <groupId>org.apache.servicemix.tooling</groupId>
96 <artifactId>depends-maven-plugin</artifactId>
97 <version>1.2</version>
98 <executions>
99 <execution>
100 <id>generate-config</id>
101 <goals>
102 <goal>generate-depends-file</goal>
103 </goals>
104 </execution>
105 </executions>
106 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000107
108 <plugin>
109 <groupId>org.apache.rat</groupId>
110 <artifactId>apache-rat-plugin</artifactId>
111 <executions>
112 <execution>
113 <phase>verify</phase>
114 <goals>
115 <goal>check</goal>
116 </goals>
117 </execution>
118 </executions>
119 <configuration>
120 <!-- check src only (except remote resources additions) -->
121 <includes>
122 <include>src/**</include>
123 </includes>
124 <excludes>
125 <exclude>src/main/appended-resources/**</exclude>
Clement Escoffierdc197b32013-05-07 07:39:24 +0000126 <exclude>**/*.iml</exclude>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000127 </excludes>
128 </configuration>
129 </plugin>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +0000130
131 <plugin>
132 <artifactId>maven-deploy-plugin</artifactId>
133 <version>2.4</version>
134 <configuration>
135 <skip>true</skip>
136 </configuration>
137 </plugin>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000138 </plugins>
139
Clement Escoffier1c47f282013-02-13 16:26:18 +0000140 </build>
141
Clement Escoffiera0030f52013-02-18 20:43:25 +0000142
143 <dependencies>
144
145 <dependency>
146 <groupId>org.ops4j.pax.exam</groupId>
147 <artifactId>pax-exam-container-native</artifactId>
148 <version>${exam.version}</version>
149 <scope>test</scope>
150 </dependency>
151
152 <dependency>
153 <groupId>org.ops4j.pax.exam</groupId>
154 <artifactId>pax-exam-junit4</artifactId>
155 <version>${exam.version}</version>
156 <scope>test</scope>
157 </dependency>
158
159 <dependency>
160 <groupId>org.ops4j.pax.exam</groupId>
161 <artifactId>pax-exam-link-mvn</artifactId>
162 <version>${exam.version}</version>
163 <scope>test</scope>
164 </dependency>
165
166 <dependency>
167 <groupId>org.ops4j.pax.url</groupId>
168 <artifactId>pax-url-aether</artifactId>
169 <version>${url.version}</version>
170 <scope>test</scope>
171 </dependency>
172
Clement Escoffiera0030f52013-02-18 20:43:25 +0000173 <dependency>
174 <groupId>ch.qos.logback</groupId>
175 <artifactId>logback-core</artifactId>
176 <version>0.9.6</version>
177 <scope>test</scope>
178 </dependency>
179
180 <dependency>
181 <groupId>ch.qos.logback</groupId>
182 <artifactId>logback-classic</artifactId>
183 <version>0.9.6</version>
184 <scope>test</scope>
185 </dependency>
186
Clement Escoffiera0030f52013-02-18 20:43:25 +0000187 <dependency>
188 <groupId>junit</groupId>
189 <artifactId>junit</artifactId>
190 <version>4.9</version>
191 <scope>test</scope>
192 </dependency>
193
194 <dependency>
195 <groupId>org.mockito</groupId>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000196 <artifactId>mockito-all</artifactId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000197 <version>1.9.5</version>
198 </dependency>
199
200 <dependency>
201 <groupId>org.ops4j.pax.tinybundles</groupId>
202 <artifactId>tinybundles</artifactId>
203 <version>1.0.0</version>
204 </dependency>
205
206 <dependency>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000207 <groupId>org.ow2.chameleon.testing</groupId>
208 <artifactId>tinybundles-ipojo</artifactId>
209 <version>0.3.0</version>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000210 <scope>test</scope>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000211 </dependency>
212
213 <dependency>
214 <groupId>org.apache.felix</groupId>
215 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffier6dc8de12013-06-21 16:39:45 +0000216 <version>${manipulator.version}</version>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000217 </dependency>
218
219 <dependency>
220 <groupId>org.apache.felix</groupId>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000221 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier73842a12013-06-16 07:11:54 +0000222 <version>1.10.2-SNAPSHOT</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000223 <exclusions>
224 <exclusion>
225 <groupId>org.osgi</groupId>
226 <artifactId>org.osgi.core</artifactId>
227 </exclusion>
228 </exclusions>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000229 </dependency>
230
231 <dependency>
232 <groupId>org.apache.felix</groupId>
Clement Escoffier0b907fb2013-05-06 13:25:52 +0000233 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
Clement Escoffierd15b1442013-06-21 16:47:56 +0000234 <version>1.10.0</version>
Clement Escoffier0b907fb2013-05-06 13:25:52 +0000235 </dependency>
236
237 <dependency>
238 <groupId>org.apache.felix</groupId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000239 <artifactId>org.apache.felix.configadmin</artifactId>
240 <version>1.6.0</version>
241 <scope>test</scope>
242 </dependency>
243
244 <dependency>
245 <groupId>commons-io</groupId>
246 <artifactId>commons-io</artifactId>
247 <version>2.4</version>
248 </dependency>
249
250 <dependency>
251 <groupId>org.ow2.chameleon.testing</groupId>
252 <artifactId>osgi-helpers</artifactId>
Clement Escoffierab397832013-05-15 15:43:05 +0000253 <version>0.6.1</version>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000254 <scope>test</scope>
Clement Escoffiercfae7912013-05-08 16:51:29 +0000255 <exclusions>
256 <exclusion>
257 <groupId>org.osgi</groupId>
258 <artifactId>org.osgi.core</artifactId>
259 </exclusion>
260 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000261 </dependency>
262
Clement Escoffiera0030f52013-02-18 20:43:25 +0000263
264 <dependency>
265 <groupId>org.apache.felix</groupId>
266 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
267 <!--
268 We use the released version as we don't really have to do any behavioral test on the handler in the core
269 test.
270 -->
271 <version>1.8.0</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000272 <exclusions>
273 <exclusion>
274 <groupId>org.osgi</groupId>
275 <artifactId>org.osgi.core</artifactId>
276 </exclusion>
277 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000278 </dependency>
279
280 <dependency>
281 <groupId>org.apache.felix</groupId>
282 <artifactId>org.apache.felix.log</artifactId>
283 <version>1.0.1</version>
Clement Escoffierbb01a8c2013-05-07 07:17:04 +0000284 <exclusions>
285 <exclusion>
286 <groupId>org.osgi</groupId>
287 <artifactId>org.osgi.core</artifactId>
288 </exclusion>
289 </exclusions>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000290 </dependency>
291
292 <dependency>
293 <groupId>org.ops4j.pax.url</groupId>
294 <artifactId>pax-url-wrap</artifactId>
295 <version>1.5.2</version>
296 </dependency>
Clement Escoffiere050be02013-06-12 11:38:27 +0000297
298 <dependency>
299 <groupId>org.easytesting</groupId>
300 <artifactId>fest-assert</artifactId>
301 <version>1.4</version>
302 </dependency>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000303 </dependencies>
304
Clement Escoffier1c47f282013-02-13 16:26:18 +0000305 <profiles>
306 <profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000307 <id>knopflerfish</id>
308 <activation>
309 <activeByDefault>false</activeByDefault>
310 <property>
311 <name>pax.exam.framework</name>
312 <value>knopflerfish</value>
313 </property>
314 </activation>
315 <properties>
316 <pax.exam.framework>knopflerfish</pax.exam.framework>
317 </properties>
318 <repositories>
319 <repository>
320 <id>knopflerfish-releases</id>
321 <url>http://www.knopflerfish.org/maven2</url>
322 </repository>
323 </repositories>
324 <dependencies>
325 <dependency>
326 <groupId>org.knopflerfish</groupId>
327 <artifactId>framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000328 <version>${knoperflerfish.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000329 <scope>test</scope>
330 </dependency>
331 </dependencies>
332 </profile>
333
334 <profile>
335 <id>equinox</id>
336 <activation>
337 <activeByDefault>false</activeByDefault>
338 <property>
339 <name>pax.exam.framework</name>
340 <value>equinox</value>
341 </property>
342 </activation>
343 <properties>
344 <pax.exam.framework>equinox</pax.exam.framework>
345 </properties>
346 <dependencies>
347 <dependency>
348 <groupId>org.eclipse.tycho</groupId>
349 <artifactId>org.eclipse.osgi</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000350 <version>${equinox.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000351 <scope>test</scope>
352 </dependency>
353 </dependencies>
354 </profile>
355
356 <profile>
357 <id>felix</id>
358 <activation>
Clement Escoffiera2435862013-06-22 07:22:44 +0000359 <activeByDefault>false</activeByDefault>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000360 <property>
361 <name>pax.exam.framework</name>
362 <value>felix</value>
363 </property>
364 </activation>
365 <properties>
366 <pax.exam.framework>felix</pax.exam.framework>
367 </properties>
368 <dependencies>
369 <dependency>
370 <groupId>org.apache.felix</groupId>
371 <artifactId>org.apache.felix.framework</artifactId>
Clement Escoffiera2435862013-06-22 07:22:44 +0000372 <version>${felix.version}</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000373 <scope>test</scope>
374 </dependency>
375 </dependencies>
376 </profile>
377
378 <profile>
379 <id>test</id>
Clement Escoffiera2435862013-06-22 07:22:44 +0000380 <properties>
381 <skipTestExecution>false</skipTestExecution>
382 </properties>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000383 </profile>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000384 </profiles>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000385</project>