blob: 6849e9627a62a57c0312513006ec677c498698a1 [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 Sauthier5dbe4dc2014-03-13 12:45:43 +000052 <dependencyManagement>
53 <dependencies>
54 <dependency>
55 <groupId>org.apache.felix</groupId>
56 <artifactId>ipojo-manipulator-bom</artifactId>
57 <version>${project.version}</version>
58 <type>pom</type>
59 <scope>import</scope>
60 </dependency>
61 </dependencies>
62 </dependencyManagement>
63
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000064 <build>
65 <plugins>
66 <plugin>
67 <groupId>org.apache.maven.plugins</groupId>
68 <artifactId>maven-compiler-plugin</artifactId>
69 <version>2.5.1</version>
70 <configuration>
71 <source>1.6</source>
72 <target>1.6</target>
73 </configuration>
74 </plugin>
Clement Escoffiere6986562013-02-22 18:55:31 +000075
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000076 <plugin>
77 <groupId>org.apache.servicemix.tooling</groupId>
78 <artifactId>depends-maven-plugin</artifactId>
79 <version>1.2</version>
80 <executions>
81 <execution>
82 <id>generate-config</id>
83 <goals>
84 <goal>generate-depends-file</goal>
85 </goals>
86 </execution>
87 </executions>
88 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +000089
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000090 <plugin>
91 <groupId>org.apache.rat</groupId>
92 <artifactId>apache-rat-plugin</artifactId>
93 <executions>
94 <execution>
95 <phase>verify</phase>
96 <goals>
97 <goal>check</goal>
98 </goals>
99 </execution>
100 </executions>
101 <configuration>
102 <!-- check src only (except remote resources additions) -->
103 <includes>
104 <include>src/**</include>
105 </includes>
106 <excludes>
107 <exclude>src/main/appended-resources/**</exclude>
108 <exclude>**/*.iml</exclude>
109 <exclude>src/it/**/target/**</exclude>
110 </excludes>
111 </configuration>
112 </plugin>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +0000113
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000114 <plugin>
115 <artifactId>maven-deploy-plugin</artifactId>
116 <version>2.4</version>
117 <configuration>
118 <skip>true</skip>
119 </configuration>
120 </plugin>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000121
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000122 <plugin>
123 <groupId>org.apache.maven.plugins</groupId>
124 <artifactId>maven-surefire-plugin</artifactId>
125 <version>2.15</version>
126 <configuration>
127 <skipTests>${skipTestExecution}</skipTests>
128 <systemPropertyVariables>
129 <!-- TIME_FACTOR can be set from the command line with -DTIME_FACTOR=9-->
130 <TIME_FACTOR>${TIME_FACTOR}</TIME_FACTOR>
131 <!-- Defined by the profiles -->
132 <pax.exam.framework>${pax.exam.framework}</pax.exam.framework>
133 </systemPropertyVariables>
134 </configuration>
135 </plugin>
136 </plugins>
Clement Escoffiere6986562013-02-22 18:55:31 +0000137
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000138 </build>
Clement Escoffiere6986562013-02-22 18:55:31 +0000139
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000140 <dependencies>
141 <dependency>
142 <groupId>org.ops4j.pax.exam</groupId>
143 <artifactId>pax-exam-container-native</artifactId>
144 <version>${exam.version}</version>
145 <scope>test</scope>
146 </dependency>
147
148 <dependency>
149 <groupId>org.ops4j.pax.exam</groupId>
150 <artifactId>pax-exam-junit4</artifactId>
151 <version>${exam.version}</version>
152 <scope>test</scope>
153 </dependency>
154
155 <dependency>
156 <groupId>org.ops4j.pax.exam</groupId>
157 <artifactId>pax-exam-link-mvn</artifactId>
158 <version>${exam.version}</version>
159 <scope>test</scope>
160 </dependency>
161
162 <dependency>
163 <groupId>org.ops4j.pax.url</groupId>
164 <artifactId>pax-url-aether</artifactId>
165 <version>${url.version}</version>
166 <scope>test</scope>
167 </dependency>
168
169 <dependency>
170 <groupId>ch.qos.logback</groupId>
171 <artifactId>logback-core</artifactId>
172 <version>0.9.6</version>
173 <scope>test</scope>
174 </dependency>
175
176 <dependency>
177 <groupId>ch.qos.logback</groupId>
178 <artifactId>logback-classic</artifactId>
179 <version>0.9.6</version>
180 <scope>test</scope>
181 </dependency>
182
183 <dependency>
184 <groupId>junit</groupId>
185 <artifactId>junit</artifactId>
186 <version>4.9</version>
187 <scope>test</scope>
188 </dependency>
189
190 <dependency>
191 <groupId>org.mockito</groupId>
192 <artifactId>mockito-all</artifactId>
193 <version>1.9.5</version>
194 </dependency>
195
196 <dependency>
197 <groupId>org.ops4j.pax.tinybundles</groupId>
198 <artifactId>tinybundles</artifactId>
199 <version>1.0.0</version>
200 </dependency>
201
202 <!-- The tiny bundle extension must be before the manipulator version
203 to use the right version of the manipulator -->
204 <dependency>
205 <groupId>org.ow2.chameleon.testing</groupId>
206 <artifactId>tinybundles-ipojo</artifactId>
207 <version>0.3.0</version>
208 <scope>test</scope>
209 </dependency>
210
211 <!-- Define the tested version -->
212 <dependency>
213 <groupId>org.apache.felix</groupId>
214 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000215 </dependency>
216
217 <dependency>
218 <groupId>org.apache.felix</groupId>
219 <artifactId>org.apache.felix.ipojo</artifactId>
220 <!-- To update before the release -->
221
222 <!--
223 if you are using a release version, be aware that this may introduce test failures as you should
224 update this version to the same version as the manipulator
225 -->
226 <!--<version>1.11.1</version>-->
227 <version>${project.version}</version>
228 <exclusions>
229 <exclusion>
230 <groupId>org.osgi</groupId>
231 <artifactId>org.osgi.core</artifactId>
232 </exclusion>
233 <exclusion>
234 <groupId>org.osgi</groupId>
235 <artifactId>org.osgi.compendium</artifactId>
236 </exclusion>
237 </exclusions>
238 </dependency>
239
240 <dependency>
241 <groupId>org.apache.felix</groupId>
242 <artifactId>org.apache.felix.ipojo.manipulator.online</artifactId>
243 <version>${project.version}</version>
244 <exclusions>
245 <exclusion>
246 <groupId>org.osgi</groupId>
247 <artifactId>org.osgi.core</artifactId>
248 </exclusion>
249 <exclusion>
250 <groupId>org.osgi</groupId>
251 <artifactId>org.osgi.compendium</artifactId>
252 </exclusion>
253 <exclusion>
254 <groupId>org.apache.felix</groupId>
255 <artifactId>org.apache.felix.ipojo</artifactId>
256 </exclusion>
257 </exclusions>
258 </dependency>
259
260 <!-- End of tested version -->
261
262 <dependency>
263 <groupId>org.apache.felix</groupId>
264 <artifactId>org.apache.felix.configadmin</artifactId>
265 <version>1.6.0</version>
266 <scope>test</scope>
267 </dependency>
268
269 <dependency>
270 <groupId>commons-io</groupId>
271 <artifactId>commons-io</artifactId>
272 <version>2.4</version>
273 </dependency>
274
275 <dependency>
276 <groupId>org.ow2.chameleon.testing</groupId>
277 <artifactId>osgi-helpers</artifactId>
278 <version>0.6.1</version>
279 <scope>test</scope>
280 <exclusions>
281 <exclusion>
282 <groupId>org.osgi</groupId>
283 <artifactId>org.osgi.core</artifactId>
284 </exclusion>
285 </exclusions>
286 </dependency>
287
288 <dependency>
289 <groupId>org.apache.felix</groupId>
290 <artifactId>org.apache.felix.log</artifactId>
291 <version>1.0.1</version>
292 <exclusions>
293 <exclusion>
294 <groupId>org.osgi</groupId>
295 <artifactId>org.osgi.core</artifactId>
296 </exclusion>
297 </exclusions>
298 </dependency>
299
300 <dependency>
301 <groupId>org.ops4j.pax.url</groupId>
302 <artifactId>pax-url-wrap</artifactId>
303 <version>1.5.2</version>
304 </dependency>
305
306 <dependency>
307 <groupId>org.easytesting</groupId>
308 <artifactId>fest-assert</artifactId>
309 <version>1.4</version>
310 </dependency>
311 </dependencies>
312
313 <profiles>
314 <profile>
315 <id>default</id>
316 <activation>
317 <activeByDefault>true</activeByDefault>
318 </activation>
319 <properties>
320 <pax.exam.framework>none</pax.exam.framework>
321 </properties>
322 <dependencies>
Clement Escoffiere6986562013-02-22 18:55:31 +0000323 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000324 <groupId>org.osgi</groupId>
325 <artifactId>org.osgi.compendium</artifactId>
326 <version>4.3.0</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000327 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000328 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000329 <groupId>org.osgi</groupId>
330 <artifactId>org.osgi.core</artifactId>
331 <version>4.3.1</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000332 </dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000333 </dependencies>
334 </profile>
335 <profile>
336 <id>knopflerfish</id>
337 <activation>
338 <activeByDefault>false</activeByDefault>
339 <property>
340 <name>pax.exam.framework</name>
341 <value>knopflerfish</value>
342 </property>
343 </activation>
344 <properties>
345 <pax.exam.framework>knopflerfish</pax.exam.framework>
346 </properties>
347 <repositories>
348 <repository>
349 <id>knopflerfish-releases</id>
350 <url>http://www.knopflerfish.org/maven2</url>
351 </repository>
352 </repositories>
353 <dependencies>
Clement Escoffiere6986562013-02-22 18:55:31 +0000354 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000355 <groupId>org.knopflerfish</groupId>
356 <artifactId>framework</artifactId>
357 <version>${knoperflerfish.version}</version>
358 <scope>test</scope>
Clement Escoffiere6986562013-02-22 18:55:31 +0000359 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000360 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000361 <!-- must be after KF -->
362 <groupId>org.osgi</groupId>
363 <artifactId>org.osgi.core</artifactId>
364 <version>4.3.1</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000365 </dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000366 </dependencies>
367 </profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000368
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000369 <profile>
370 <id>equinox</id>
371 <activation>
372 <activeByDefault>false</activeByDefault>
373 <property>
374 <name>pax.exam.framework</name>
375 <value>equinox</value>
376 </property>
377 </activation>
378 <properties>
379 <pax.exam.framework>equinox</pax.exam.framework>
380 </properties>
381 <dependencies>
Clement Escoffiere6986562013-02-22 18:55:31 +0000382 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000383 <groupId>org.osgi</groupId>
384 <artifactId>org.osgi.compendium</artifactId>
385 <version>4.3.0</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000386 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000387 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000388 <groupId>org.eclipse.tycho</groupId>
389 <artifactId>org.eclipse.osgi</artifactId>
390 <version>${equinox.version}</version>
391 <scope>test</scope>
Clement Escoffiere6986562013-02-22 18:55:31 +0000392 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000393 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000394 <!-- must be after equinox -->
395 <groupId>org.osgi</groupId>
396 <artifactId>org.osgi.core</artifactId>
397 <version>4.3.1</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000398 </dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000399 </dependencies>
400 </profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000401
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000402 <profile>
403 <id>felix</id>
404 <activation>
405 <activeByDefault>false</activeByDefault>
406 <property>
407 <name>pax.exam.framework</name>
408 <value>felix</value>
409 </property>
410 </activation>
411 <properties>
412 <pax.exam.framework>felix</pax.exam.framework>
413 </properties>
414 <dependencies>
Clement Escoffiere6986562013-02-22 18:55:31 +0000415 <dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000416 <groupId>org.apache.felix</groupId>
417 <artifactId>org.apache.felix.framework</artifactId>
418 <version>${felix.version}</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000419 </dependency>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000420 </dependencies>
421 </profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000422
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000423 <profile>
424 <id>test</id>
425 <properties>
426 <skipTestExecution>false</skipTestExecution>
427 </properties>
428 </profile>
429 </profiles>
Clement Escoffiere6986562013-02-22 18:55:31 +0000430</project>