blob: 442d855a3b695424ce265d5a9d58aaa9b62438d9 [file] [log] [blame]
Clement Escoffiere6986562013-02-22 18:55:31 +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 Escoffier609bf5f2013-06-21 07:30:11 +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 Escoffiere6986562013-02-22 18:55:31 +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 Escoffiere6986562013-02-22 18:55:31 +000025 <relativePath>../../../pom/pom.xml</relativePath>
26 </parent>
Clement Escoffier609bf5f2013-06-21 07:30:11 +000027
Clement Escoffiere6986562013-02-22 18:55:31 +000028 <modelVersion>4.0.0</modelVersion>
29 <artifactId>org.apache.felix.ipojo.manipulator.manipulator-it</artifactId>
Clement Escoffier6658d502013-06-16 06:27:29 +000030 <version>1.10.2-SNAPSHOT</version>
Clement Escoffiera00b6422013-02-26 18:35:04 +000031 <name>Apache Felix iPOJO Manipulator ~ Integration Tests</name>
Clement Escoffiere6986562013-02-22 18:55:31 +000032 <packaging>pom</packaging>
33
Clement Escoffier609bf5f2013-06-21 07:30:11 +000034 <properties>
35 <!-- Tests are enabled only when the 'test' profile is activated -->
36 <skipTestExecution>true</skipTestExecution>
37
Clement Escoffier8903b0a2013-09-22 17:55:19 +000038 <exam.version>3.0.1</exam.version>
Clement Escoffier609bf5f2013-06-21 07:30:11 +000039 <url.version>1.5.1</url.version>
40
41 <felix.version>4.2.0</felix.version>
Clement Escoffier8903b0a2013-09-22 17:55:19 +000042 <equinox.version>3.9.0.v20130529-1710</equinox.version>
43 <knoperflerfish.version>6.0.2</knoperflerfish.version>
Clement Escoffier609bf5f2013-06-21 07:30:11 +000044 </properties>
45
46 <modules>
47 <module>ipojo-manipulator-manipulation-test</module>
48 <module>ipojo-manipulator-creation-test</module>
49 <module>ipojo-manipulator-manipulation-metadata-test</module>
50 <module>online-manipulator-it</module>
51 </modules>
52
Clement Escoffiere6986562013-02-22 18:55:31 +000053 <build>
Clement Escoffiere6986562013-02-22 18:55:31 +000054 <plugins>
55 <plugin>
56 <groupId>org.apache.maven.plugins</groupId>
57 <artifactId>maven-compiler-plugin</artifactId>
58 <version>2.5.1</version>
59 <configuration>
60 <source>1.6</source>
61 <target>1.6</target>
62 </configuration>
63 </plugin>
64
65 <plugin>
66 <groupId>org.apache.servicemix.tooling</groupId>
67 <artifactId>depends-maven-plugin</artifactId>
68 <version>1.2</version>
69 <executions>
70 <execution>
71 <id>generate-config</id>
72 <goals>
73 <goal>generate-depends-file</goal>
74 </goals>
75 </execution>
76 </executions>
77 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +000078
79 <plugin>
80 <groupId>org.apache.rat</groupId>
81 <artifactId>apache-rat-plugin</artifactId>
82 <executions>
83 <execution>
84 <phase>verify</phase>
85 <goals>
86 <goal>check</goal>
87 </goals>
88 </execution>
89 </executions>
90 <configuration>
91 <!-- check src only (except remote resources additions) -->
92 <includes>
93 <include>src/**</include>
94 </includes>
95 <excludes>
96 <exclude>src/main/appended-resources/**</exclude>
97 <exclude>**/*.iml</exclude>
Clement Escoffier33660692013-04-12 05:48:29 +000098 <exclude>src/it/**/target/**</exclude>
Clement Escoffiered4ca022013-03-13 15:27:20 +000099 </excludes>
100 </configuration>
101 </plugin>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +0000102
103 <plugin>
104 <artifactId>maven-deploy-plugin</artifactId>
105 <version>2.4</version>
106 <configuration>
107 <skip>true</skip>
108 </configuration>
109 </plugin>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000110
111 <plugin>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-surefire-plugin</artifactId>
114 <version>2.15</version>
115 <configuration>
116 <skipTests>${skipTestExecution}</skipTests>
117 <systemPropertyVariables>
118 <!-- TIME_FACTOR can be set from the command line with -DTIME_FACTOR=9-->
119 <TIME_FACTOR>${TIME_FACTOR}</TIME_FACTOR>
Clement Escoffier7e951462013-10-04 13:11:51 +0000120 <!-- Defined by the profiles -->
121 <pax.exam.framework>${pax.exam.framework}</pax.exam.framework>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000122 </systemPropertyVariables>
123 </configuration>
124 </plugin>
Clement Escoffiere6986562013-02-22 18:55:31 +0000125 </plugins>
126
127 </build>
128
Clement Escoffiere6986562013-02-22 18:55:31 +0000129 <dependencies>
Clement Escoffiere6986562013-02-22 18:55:31 +0000130 <dependency>
131 <groupId>org.ops4j.pax.exam</groupId>
132 <artifactId>pax-exam-container-native</artifactId>
133 <version>${exam.version}</version>
134 <scope>test</scope>
135 </dependency>
136
137 <dependency>
138 <groupId>org.ops4j.pax.exam</groupId>
139 <artifactId>pax-exam-junit4</artifactId>
140 <version>${exam.version}</version>
141 <scope>test</scope>
142 </dependency>
143
144 <dependency>
145 <groupId>org.ops4j.pax.exam</groupId>
146 <artifactId>pax-exam-link-mvn</artifactId>
147 <version>${exam.version}</version>
148 <scope>test</scope>
149 </dependency>
150
151 <dependency>
152 <groupId>org.ops4j.pax.url</groupId>
153 <artifactId>pax-url-aether</artifactId>
154 <version>${url.version}</version>
155 <scope>test</scope>
156 </dependency>
157
158 <dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000159 <groupId>ch.qos.logback</groupId>
160 <artifactId>logback-core</artifactId>
161 <version>0.9.6</version>
162 <scope>test</scope>
163 </dependency>
164
165 <dependency>
166 <groupId>ch.qos.logback</groupId>
167 <artifactId>logback-classic</artifactId>
168 <version>0.9.6</version>
169 <scope>test</scope>
170 </dependency>
171
Clement Escoffiere6986562013-02-22 18:55:31 +0000172 <dependency>
173 <groupId>junit</groupId>
174 <artifactId>junit</artifactId>
175 <version>4.9</version>
176 <scope>test</scope>
177 </dependency>
178
179 <dependency>
180 <groupId>org.mockito</groupId>
181 <artifactId>mockito-all</artifactId>
182 <version>1.9.5</version>
183 </dependency>
184
185 <dependency>
186 <groupId>org.ops4j.pax.tinybundles</groupId>
187 <artifactId>tinybundles</artifactId>
188 <version>1.0.0</version>
189 </dependency>
190
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000191 <!-- The tiny bundle extension must be before the manipulator version
192 to use the right version of the manipulator -->
193 <dependency>
194 <groupId>org.ow2.chameleon.testing</groupId>
195 <artifactId>tinybundles-ipojo</artifactId>
196 <version>0.3.0</version>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000197 <scope>test</scope>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000198 </dependency>
199
Clement Escoffiere6986562013-02-22 18:55:31 +0000200 <!-- Define the tested version -->
201 <dependency>
202 <groupId>org.apache.felix</groupId>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000203 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Guillaume Sauthierca551ba2013-06-03 17:08:57 +0000204 <version>${project.version}</version>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000205 </dependency>
206
207 <dependency>
208 <groupId>org.apache.felix</groupId>
Clement Escoffiere6986562013-02-22 18:55:31 +0000209 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier6c1d7582013-06-21 14:24:32 +0000210 <!-- To update before the release -->
Clement Escoffier52ddb282013-10-08 12:54:51 +0000211 <!--<version>${project.version}</version>-->
Clement Escoffier94047982013-10-08 13:08:51 +0000212 <version>1.10.1</version>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000213 <exclusions>
214 <exclusion>
215 <groupId>org.osgi</groupId>
216 <artifactId>org.osgi.core</artifactId>
217 </exclusion>
218 <exclusion>
219 <groupId>org.osgi</groupId>
220 <artifactId>org.osgi.compendium</artifactId>
221 </exclusion>
222 </exclusions>
Clement Escoffiere6986562013-02-22 18:55:31 +0000223 </dependency>
224
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000225 <dependency>
226 <groupId>org.apache.felix</groupId>
227 <artifactId>org.apache.felix.ipojo.manipulator.online</artifactId>
Guillaume Sauthierca551ba2013-06-03 17:08:57 +0000228 <version>${project.version}</version>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000229 <exclusions>
230 <exclusion>
231 <groupId>org.osgi</groupId>
232 <artifactId>org.osgi.core</artifactId>
233 </exclusion>
234 <exclusion>
235 <groupId>org.osgi</groupId>
236 <artifactId>org.osgi.compendium</artifactId>
237 </exclusion>
238 <exclusion>
239 <groupId>org.apache.felix</groupId>
240 <artifactId>org.apache.felix.ipojo</artifactId>
241 </exclusion>
242 </exclusions>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000243 </dependency>
244
Clement Escoffiere6986562013-02-22 18:55:31 +0000245 <!-- End of tested version -->
246
247 <dependency>
248 <groupId>org.apache.felix</groupId>
249 <artifactId>org.apache.felix.configadmin</artifactId>
250 <version>1.6.0</version>
251 <scope>test</scope>
252 </dependency>
253
254 <dependency>
255 <groupId>commons-io</groupId>
256 <artifactId>commons-io</artifactId>
257 <version>2.4</version>
258 </dependency>
259
260 <dependency>
261 <groupId>org.ow2.chameleon.testing</groupId>
262 <artifactId>osgi-helpers</artifactId>
Clement Escoffier52ddb282013-10-08 12:54:51 +0000263 <version>0.6.1</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000264 <scope>test</scope>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000265 <exclusions>
266 <exclusion>
267 <groupId>org.osgi</groupId>
268 <artifactId>org.osgi.core</artifactId>
269 </exclusion>
270 </exclusions>
Clement Escoffiere6986562013-02-22 18:55:31 +0000271 </dependency>
272
273 <dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000274 <groupId>org.apache.felix</groupId>
275 <artifactId>org.apache.felix.log</artifactId>
276 <version>1.0.1</version>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000277 <exclusions>
278 <exclusion>
279 <groupId>org.osgi</groupId>
280 <artifactId>org.osgi.core</artifactId>
281 </exclusion>
282 </exclusions>
Clement Escoffiere6986562013-02-22 18:55:31 +0000283 </dependency>
284
285 <dependency>
286 <groupId>org.ops4j.pax.url</groupId>
287 <artifactId>pax-url-wrap</artifactId>
288 <version>1.5.2</version>
289 </dependency>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000290
291 <dependency>
292 <groupId>org.easytesting</groupId>
293 <artifactId>fest-assert</artifactId>
294 <version>1.4</version>
295 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000296 </dependencies>
297
298 <profiles>
299 <profile>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000300 <id>default</id>
301 <activation>
302 <activeByDefault>true</activeByDefault>
303 </activation>
Clement Escoffier7e951462013-10-04 13:11:51 +0000304 <properties>
305 <pax.exam.framework>none</pax.exam.framework>
306 </properties>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000307 <dependencies>
308 <dependency>
309 <groupId>org.osgi</groupId>
310 <artifactId>org.osgi.compendium</artifactId>
311 <version>4.3.0</version>
312 </dependency>
313 <dependency>
314 <groupId>org.osgi</groupId>
315 <artifactId>org.osgi.core</artifactId>
316 <version>4.3.1</version>
317 </dependency>
318 </dependencies>
319 </profile>
320 <profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000321 <id>knopflerfish</id>
322 <activation>
323 <activeByDefault>false</activeByDefault>
324 <property>
325 <name>pax.exam.framework</name>
326 <value>knopflerfish</value>
327 </property>
328 </activation>
329 <properties>
330 <pax.exam.framework>knopflerfish</pax.exam.framework>
331 </properties>
332 <repositories>
333 <repository>
334 <id>knopflerfish-releases</id>
335 <url>http://www.knopflerfish.org/maven2</url>
336 </repository>
337 </repositories>
338 <dependencies>
339 <dependency>
340 <groupId>org.knopflerfish</groupId>
341 <artifactId>framework</artifactId>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000342 <version>${knoperflerfish.version}</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000343 <scope>test</scope>
344 </dependency>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000345 <dependency>
346 <!-- must be after KF -->
347 <groupId>org.osgi</groupId>
348 <artifactId>org.osgi.core</artifactId>
349 <version>4.3.1</version>
350 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000351 </dependencies>
352 </profile>
353
354 <profile>
355 <id>equinox</id>
356 <activation>
357 <activeByDefault>false</activeByDefault>
358 <property>
359 <name>pax.exam.framework</name>
360 <value>equinox</value>
361 </property>
362 </activation>
363 <properties>
364 <pax.exam.framework>equinox</pax.exam.framework>
365 </properties>
366 <dependencies>
367 <dependency>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000368 <groupId>org.osgi</groupId>
369 <artifactId>org.osgi.compendium</artifactId>
370 <version>4.3.0</version>
371 </dependency>
372 <dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000373 <groupId>org.eclipse.tycho</groupId>
374 <artifactId>org.eclipse.osgi</artifactId>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000375 <version>${equinox.version}</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000376 <scope>test</scope>
377 </dependency>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000378 <dependency>
379 <!-- must be after equinox -->
380 <groupId>org.osgi</groupId>
381 <artifactId>org.osgi.core</artifactId>
382 <version>4.3.1</version>
383 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000384 </dependencies>
385 </profile>
386
387 <profile>
388 <id>felix</id>
389 <activation>
390 <activeByDefault>false</activeByDefault>
391 <property>
392 <name>pax.exam.framework</name>
393 <value>felix</value>
394 </property>
395 </activation>
396 <properties>
397 <pax.exam.framework>felix</pax.exam.framework>
398 </properties>
399 <dependencies>
400 <dependency>
401 <groupId>org.apache.felix</groupId>
402 <artifactId>org.apache.felix.framework</artifactId>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000403 <version>${felix.version}</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000404 </dependency>
405 </dependencies>
406 </profile>
407
408 <profile>
409 <id>test</id>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000410 <properties>
411 <skipTestExecution>false</skipTestExecution>
412 </properties>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000413 </profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000414 </profiles>
Clement Escoffiere6986562013-02-22 18:55:31 +0000415</project>