blob: e4e8bfadf738865b0879e43fbc7319d9f0cd5212 [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 Escoffier917a0c22013-10-08 13:11:02 +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">
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
23 <version>2.1</version>
24 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
Clement Escoffier609bf5f2013-06-21 07:30:11 +000026
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000027 <modelVersion>4.0.0</modelVersion>
28 <artifactId>org.apache.felix.ipojo.manipulator.manipulator-it</artifactId>
29 <version>1.11.3-SNAPSHOT</version>
30 <name>Apache Felix iPOJO Manipulator ~ Integration Tests</name>
31 <packaging>pom</packaging>
Clement Escoffiere6986562013-02-22 18:55:31 +000032
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000033 <properties>
34 <!-- Tests are enabled only when the 'test' profile is activated -->
35 <skipTestExecution>true</skipTestExecution>
Clement Escoffier609bf5f2013-06-21 07:30:11 +000036
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000037 <exam.version>3.0.1</exam.version>
38 <url.version>1.5.1</url.version>
Clement Escoffier609bf5f2013-06-21 07:30:11 +000039
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000040 <felix.version>4.2.0</felix.version>
41 <equinox.version>3.9.0.v20130529-1710</equinox.version>
42 <knoperflerfish.version>6.0.2</knoperflerfish.version>
43 </properties>
Clement Escoffier609bf5f2013-06-21 07:30:11 +000044
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000045 <modules>
46 <module>ipojo-manipulator-manipulation-test</module>
47 <module>ipojo-manipulator-creation-test</module>
48 <module>ipojo-manipulator-manipulation-metadata-test</module>
49 <module>online-manipulator-it</module>
50 </modules>
Clement Escoffier609bf5f2013-06-21 07:30:11 +000051
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000052 <build>
53 <plugins>
54 <plugin>
55 <groupId>org.apache.maven.plugins</groupId>
56 <artifactId>maven-compiler-plugin</artifactId>
57 <version>2.5.1</version>
58 <configuration>
59 <source>1.6</source>
60 <target>1.6</target>
61 </configuration>
62 </plugin>
Clement Escoffiere6986562013-02-22 18:55:31 +000063
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000064 <plugin>
65 <groupId>org.apache.servicemix.tooling</groupId>
66 <artifactId>depends-maven-plugin</artifactId>
67 <version>1.2</version>
68 <executions>
69 <execution>
70 <id>generate-config</id>
71 <goals>
72 <goal>generate-depends-file</goal>
73 </goals>
74 </execution>
75 </executions>
76 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +000077
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000078 <plugin>
79 <groupId>org.apache.rat</groupId>
80 <artifactId>apache-rat-plugin</artifactId>
81 <executions>
82 <execution>
83 <phase>verify</phase>
84 <goals>
85 <goal>check</goal>
86 </goals>
87 </execution>
88 </executions>
89 <configuration>
90 <!-- check src only (except remote resources additions) -->
91 <includes>
92 <include>src/**</include>
93 </includes>
94 <excludes>
95 <exclude>src/main/appended-resources/**</exclude>
96 <exclude>**/*.iml</exclude>
97 <exclude>src/it/**/target/**</exclude>
98 </excludes>
99 </configuration>
100 </plugin>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +0000101
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000102 <plugin>
103 <artifactId>maven-deploy-plugin</artifactId>
104 <version>2.4</version>
105 <configuration>
106 <skip>true</skip>
107 </configuration>
108 </plugin>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000109
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-surefire-plugin</artifactId>
113 <version>2.15</version>
114 <configuration>
115 <skipTests>${skipTestExecution}</skipTests>
116 <systemPropertyVariables>
117 <!-- TIME_FACTOR can be set from the command line with -DTIME_FACTOR=9-->
118 <TIME_FACTOR>${TIME_FACTOR}</TIME_FACTOR>
119 <!-- Defined by the profiles -->
120 <pax.exam.framework>${pax.exam.framework}</pax.exam.framework>
121 </systemPropertyVariables>
122 </configuration>
123 </plugin>
124 </plugins>
Clement Escoffiere6986562013-02-22 18:55:31 +0000125
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000126 </build>
Clement Escoffiere6986562013-02-22 18:55:31 +0000127
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000128 <dependencies>
129 <dependency>
130 <groupId>org.ops4j.pax.exam</groupId>
131 <artifactId>pax-exam-container-native</artifactId>
132 <version>${exam.version}</version>
133 <scope>test</scope>
134 </dependency>
135
136 <dependency>
137 <groupId>org.ops4j.pax.exam</groupId>
138 <artifactId>pax-exam-junit4</artifactId>
139 <version>${exam.version}</version>
140 <scope>test</scope>
141 </dependency>
142
143 <dependency>
144 <groupId>org.ops4j.pax.exam</groupId>
145 <artifactId>pax-exam-link-mvn</artifactId>
146 <version>${exam.version}</version>
147 <scope>test</scope>
148 </dependency>
149
150 <dependency>
151 <groupId>org.ops4j.pax.url</groupId>
152 <artifactId>pax-url-aether</artifactId>
153 <version>${url.version}</version>
154 <scope>test</scope>
155 </dependency>
156
157 <dependency>
158 <groupId>ch.qos.logback</groupId>
159 <artifactId>logback-core</artifactId>
160 <version>0.9.6</version>
161 <scope>test</scope>
162 </dependency>
163
164 <dependency>
165 <groupId>ch.qos.logback</groupId>
166 <artifactId>logback-classic</artifactId>
167 <version>0.9.6</version>
168 <scope>test</scope>
169 </dependency>
170
171 <dependency>
172 <groupId>junit</groupId>
173 <artifactId>junit</artifactId>
174 <version>4.9</version>
175 <scope>test</scope>
176 </dependency>
177
178 <dependency>
179 <groupId>org.mockito</groupId>
180 <artifactId>mockito-all</artifactId>
181 <version>1.9.5</version>
182 </dependency>
183
184 <dependency>
185 <groupId>org.ops4j.pax.tinybundles</groupId>
186 <artifactId>tinybundles</artifactId>
187 <version>1.0.0</version>
188 </dependency>
189
190 <!-- The tiny bundle extension must be before the manipulator version
191 to use the right version of the manipulator -->
192 <dependency>
193 <groupId>org.ow2.chameleon.testing</groupId>
194 <artifactId>tinybundles-ipojo</artifactId>
195 <version>0.3.0</version>
196 <scope>test</scope>
197 </dependency>
198
199 <!-- Define the tested version -->
200 <dependency>
201 <groupId>org.apache.felix</groupId>
202 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
203 <version>${project.version}</version>
204 </dependency>
205
206 <dependency>
207 <groupId>org.apache.felix</groupId>
208 <artifactId>org.apache.felix.ipojo</artifactId>
209 <!-- To update before the release -->
210
211 <!--
212 if you are using a release version, be aware that this may introduce test failures as you should
213 update this version to the same version as the manipulator
214 -->
215 <!--<version>1.11.1</version>-->
216 <version>${project.version}</version>
217 <exclusions>
218 <exclusion>
219 <groupId>org.osgi</groupId>
220 <artifactId>org.osgi.core</artifactId>
221 </exclusion>
222 <exclusion>
223 <groupId>org.osgi</groupId>
224 <artifactId>org.osgi.compendium</artifactId>
225 </exclusion>
226 </exclusions>
227 </dependency>
228
229 <dependency>
230 <groupId>org.apache.felix</groupId>
231 <artifactId>org.apache.felix.ipojo.manipulator.online</artifactId>
232 <version>${project.version}</version>
233 <exclusions>
234 <exclusion>
235 <groupId>org.osgi</groupId>
236 <artifactId>org.osgi.core</artifactId>
237 </exclusion>
238 <exclusion>
239 <groupId>org.osgi</groupId>
240 <artifactId>org.osgi.compendium</artifactId>
241 </exclusion>
242 <exclusion>
243 <groupId>org.apache.felix</groupId>
244 <artifactId>org.apache.felix.ipojo</artifactId>
245 </exclusion>
246 </exclusions>
247 </dependency>
248
249 <!-- End of tested version -->
250
251 <dependency>
252 <groupId>org.apache.felix</groupId>
253 <artifactId>org.apache.felix.configadmin</artifactId>
254 <version>1.6.0</version>
255 <scope>test</scope>
256 </dependency>
257
258 <dependency>
259 <groupId>commons-io</groupId>
260 <artifactId>commons-io</artifactId>
261 <version>2.4</version>
262 </dependency>
263
264 <dependency>
265 <groupId>org.ow2.chameleon.testing</groupId>
266 <artifactId>osgi-helpers</artifactId>
267 <version>0.6.1</version>
268 <scope>test</scope>
269 <exclusions>
270 <exclusion>
271 <groupId>org.osgi</groupId>
272 <artifactId>org.osgi.core</artifactId>
273 </exclusion>
274 </exclusions>
275 </dependency>
276
277 <dependency>
278 <groupId>org.apache.felix</groupId>
279 <artifactId>org.apache.felix.log</artifactId>
280 <version>1.0.1</version>
281 <exclusions>
282 <exclusion>
283 <groupId>org.osgi</groupId>
284 <artifactId>org.osgi.core</artifactId>
285 </exclusion>
286 </exclusions>
287 </dependency>
288
289 <dependency>
290 <groupId>org.ops4j.pax.url</groupId>
291 <artifactId>pax-url-wrap</artifactId>
292 <version>1.5.2</version>
293 </dependency>
294
295 <dependency>
296 <groupId>org.easytesting</groupId>
297 <artifactId>fest-assert</artifactId>
298 <version>1.4</version>
299 </dependency>
300 </dependencies>
301
302 <profiles>
303 <profile>
304 <id>default</id>
305 <activation>
306 <activeByDefault>true</activeByDefault>
307 </activation>
308 <properties>
309 <pax.exam.framework>none</pax.exam.framework>
310 </properties>
311 <dependencies>
Clement Escoffiere6986562013-02-22 18:55:31 +0000312 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000313 <groupId>org.osgi</groupId>
314 <artifactId>org.osgi.compendium</artifactId>
315 <version>4.3.0</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000316 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000317 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000318 <groupId>org.osgi</groupId>
319 <artifactId>org.osgi.core</artifactId>
320 <version>4.3.1</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000321 </dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000322 </dependencies>
323 </profile>
324 <profile>
325 <id>knopflerfish</id>
326 <activation>
327 <activeByDefault>false</activeByDefault>
328 <property>
329 <name>pax.exam.framework</name>
330 <value>knopflerfish</value>
331 </property>
332 </activation>
333 <properties>
334 <pax.exam.framework>knopflerfish</pax.exam.framework>
335 </properties>
336 <repositories>
337 <repository>
338 <id>knopflerfish-releases</id>
339 <url>http://www.knopflerfish.org/maven2</url>
340 </repository>
341 </repositories>
342 <dependencies>
Clement Escoffiere6986562013-02-22 18:55:31 +0000343 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000344 <groupId>org.knopflerfish</groupId>
345 <artifactId>framework</artifactId>
346 <version>${knoperflerfish.version}</version>
347 <scope>test</scope>
Clement Escoffiere6986562013-02-22 18:55:31 +0000348 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000349 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000350 <!-- must be after KF -->
351 <groupId>org.osgi</groupId>
352 <artifactId>org.osgi.core</artifactId>
353 <version>4.3.1</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000354 </dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000355 </dependencies>
356 </profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000357
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000358 <profile>
359 <id>equinox</id>
360 <activation>
361 <activeByDefault>false</activeByDefault>
362 <property>
363 <name>pax.exam.framework</name>
364 <value>equinox</value>
365 </property>
366 </activation>
367 <properties>
368 <pax.exam.framework>equinox</pax.exam.framework>
369 </properties>
370 <dependencies>
Clement Escoffiere6986562013-02-22 18:55:31 +0000371 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000372 <groupId>org.osgi</groupId>
373 <artifactId>org.osgi.compendium</artifactId>
374 <version>4.3.0</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000375 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000376 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000377 <groupId>org.eclipse.tycho</groupId>
378 <artifactId>org.eclipse.osgi</artifactId>
379 <version>${equinox.version}</version>
380 <scope>test</scope>
Clement Escoffiere6986562013-02-22 18:55:31 +0000381 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000382 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000383 <!-- must be after equinox -->
384 <groupId>org.osgi</groupId>
385 <artifactId>org.osgi.core</artifactId>
386 <version>4.3.1</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000387 </dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000388 </dependencies>
389 </profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000390
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000391 <profile>
392 <id>felix</id>
393 <activation>
394 <activeByDefault>false</activeByDefault>
395 <property>
396 <name>pax.exam.framework</name>
397 <value>felix</value>
398 </property>
399 </activation>
400 <properties>
401 <pax.exam.framework>felix</pax.exam.framework>
402 </properties>
403 <dependencies>
Clement Escoffiere6986562013-02-22 18:55:31 +0000404 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000405 <groupId>org.apache.felix</groupId>
406 <artifactId>org.apache.felix.framework</artifactId>
407 <version>${felix.version}</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000408 </dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000409 </dependencies>
410 </profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000411
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000412 <profile>
413 <id>test</id>
414 <properties>
415 <skipTestExecution>false</skipTestExecution>
416 </properties>
417 </profile>
418 </profiles>
Clement Escoffiere6986562013-02-22 18:55:31 +0000419</project>