blob: 0b959aac3a82591fdd4441fce22e73a1467d0e8b [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">
Clement Escoffiere6986562013-02-22 18:55:31 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000023 <version>2.1</version>
Clement Escoffiere6986562013-02-22 18:55:31 +000024 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
Clement Escoffier609bf5f2013-06-21 07:30:11 +000026
Clement Escoffiere6986562013-02-22 18:55:31 +000027 <modelVersion>4.0.0</modelVersion>
28 <artifactId>org.apache.felix.ipojo.manipulator.manipulator-it</artifactId>
Clement Escoffier9d79d382014-03-11 14:56:40 +000029 <version>1.11.2</version>
Clement Escoffiera00b6422013-02-26 18:35:04 +000030 <name>Apache Felix iPOJO Manipulator ~ Integration Tests</name>
Clement Escoffiere6986562013-02-22 18:55:31 +000031 <packaging>pom</packaging>
32
Clement Escoffier609bf5f2013-06-21 07:30:11 +000033 <properties>
34 <!-- Tests are enabled only when the 'test' profile is activated -->
35 <skipTestExecution>true</skipTestExecution>
36
Clement Escoffier8903b0a2013-09-22 17:55:19 +000037 <exam.version>3.0.1</exam.version>
Clement Escoffier609bf5f2013-06-21 07:30:11 +000038 <url.version>1.5.1</url.version>
39
40 <felix.version>4.2.0</felix.version>
Clement Escoffier8903b0a2013-09-22 17:55:19 +000041 <equinox.version>3.9.0.v20130529-1710</equinox.version>
42 <knoperflerfish.version>6.0.2</knoperflerfish.version>
Clement Escoffier609bf5f2013-06-21 07:30:11 +000043 </properties>
44
45 <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>
51
Clement Escoffiere6986562013-02-22 18:55:31 +000052 <build>
Clement Escoffiere6986562013-02-22 18:55:31 +000053 <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>
63
64 <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
78 <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>
Clement Escoffier33660692013-04-12 05:48:29 +000097 <exclude>src/it/**/target/**</exclude>
Clement Escoffiered4ca022013-03-13 15:27:20 +000098 </excludes>
99 </configuration>
100 </plugin>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +0000101
102 <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
110 <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>
Clement Escoffier7e951462013-10-04 13:11:51 +0000119 <!-- Defined by the profiles -->
120 <pax.exam.framework>${pax.exam.framework}</pax.exam.framework>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000121 </systemPropertyVariables>
122 </configuration>
123 </plugin>
Clement Escoffiere6986562013-02-22 18:55:31 +0000124 </plugins>
125
126 </build>
127
Clement Escoffiere6986562013-02-22 18:55:31 +0000128 <dependencies>
Clement Escoffiere6986562013-02-22 18:55:31 +0000129 <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>
Clement Escoffiere6986562013-02-22 18:55:31 +0000158 <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
Clement Escoffiere6986562013-02-22 18:55:31 +0000171 <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
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000190 <!-- 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>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000196 <scope>test</scope>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000197 </dependency>
198
Clement Escoffiere6986562013-02-22 18:55:31 +0000199 <!-- Define the tested version -->
200 <dependency>
201 <groupId>org.apache.felix</groupId>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000202 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Guillaume Sauthierca551ba2013-06-03 17:08:57 +0000203 <version>${project.version}</version>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000204 </dependency>
205
206 <dependency>
207 <groupId>org.apache.felix</groupId>
Clement Escoffiere6986562013-02-22 18:55:31 +0000208 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier6c1d7582013-06-21 14:24:32 +0000209 <!-- To update before the release -->
Clement Escoffier035bb0c2014-03-11 14:53:02 +0000210
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
Clement Escoffier52ddb282013-10-08 12:54:51 +0000217 <!--<version>${project.version}</version>-->
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000218 <exclusions>
219 <exclusion>
220 <groupId>org.osgi</groupId>
221 <artifactId>org.osgi.core</artifactId>
222 </exclusion>
223 <exclusion>
224 <groupId>org.osgi</groupId>
225 <artifactId>org.osgi.compendium</artifactId>
226 </exclusion>
227 </exclusions>
Clement Escoffiere6986562013-02-22 18:55:31 +0000228 </dependency>
229
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000230 <dependency>
231 <groupId>org.apache.felix</groupId>
232 <artifactId>org.apache.felix.ipojo.manipulator.online</artifactId>
Guillaume Sauthierca551ba2013-06-03 17:08:57 +0000233 <version>${project.version}</version>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000234 <exclusions>
235 <exclusion>
236 <groupId>org.osgi</groupId>
237 <artifactId>org.osgi.core</artifactId>
238 </exclusion>
239 <exclusion>
240 <groupId>org.osgi</groupId>
241 <artifactId>org.osgi.compendium</artifactId>
242 </exclusion>
243 <exclusion>
244 <groupId>org.apache.felix</groupId>
245 <artifactId>org.apache.felix.ipojo</artifactId>
246 </exclusion>
247 </exclusions>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000248 </dependency>
249
Clement Escoffiere6986562013-02-22 18:55:31 +0000250 <!-- End of tested version -->
251
252 <dependency>
253 <groupId>org.apache.felix</groupId>
254 <artifactId>org.apache.felix.configadmin</artifactId>
255 <version>1.6.0</version>
256 <scope>test</scope>
257 </dependency>
258
259 <dependency>
260 <groupId>commons-io</groupId>
261 <artifactId>commons-io</artifactId>
262 <version>2.4</version>
263 </dependency>
264
265 <dependency>
266 <groupId>org.ow2.chameleon.testing</groupId>
267 <artifactId>osgi-helpers</artifactId>
Clement Escoffier52ddb282013-10-08 12:54:51 +0000268 <version>0.6.1</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000269 <scope>test</scope>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000270 <exclusions>
271 <exclusion>
272 <groupId>org.osgi</groupId>
273 <artifactId>org.osgi.core</artifactId>
274 </exclusion>
275 </exclusions>
Clement Escoffiere6986562013-02-22 18:55:31 +0000276 </dependency>
277
278 <dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000279 <groupId>org.apache.felix</groupId>
280 <artifactId>org.apache.felix.log</artifactId>
281 <version>1.0.1</version>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000282 <exclusions>
283 <exclusion>
284 <groupId>org.osgi</groupId>
285 <artifactId>org.osgi.core</artifactId>
286 </exclusion>
287 </exclusions>
Clement Escoffiere6986562013-02-22 18:55:31 +0000288 </dependency>
289
290 <dependency>
291 <groupId>org.ops4j.pax.url</groupId>
292 <artifactId>pax-url-wrap</artifactId>
293 <version>1.5.2</version>
294 </dependency>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000295
296 <dependency>
297 <groupId>org.easytesting</groupId>
298 <artifactId>fest-assert</artifactId>
299 <version>1.4</version>
300 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000301 </dependencies>
302
303 <profiles>
304 <profile>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000305 <id>default</id>
306 <activation>
307 <activeByDefault>true</activeByDefault>
308 </activation>
Clement Escoffier7e951462013-10-04 13:11:51 +0000309 <properties>
310 <pax.exam.framework>none</pax.exam.framework>
311 </properties>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000312 <dependencies>
313 <dependency>
314 <groupId>org.osgi</groupId>
315 <artifactId>org.osgi.compendium</artifactId>
316 <version>4.3.0</version>
317 </dependency>
318 <dependency>
319 <groupId>org.osgi</groupId>
320 <artifactId>org.osgi.core</artifactId>
321 <version>4.3.1</version>
322 </dependency>
323 </dependencies>
324 </profile>
325 <profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000326 <id>knopflerfish</id>
327 <activation>
328 <activeByDefault>false</activeByDefault>
329 <property>
330 <name>pax.exam.framework</name>
331 <value>knopflerfish</value>
332 </property>
333 </activation>
334 <properties>
335 <pax.exam.framework>knopflerfish</pax.exam.framework>
336 </properties>
337 <repositories>
338 <repository>
339 <id>knopflerfish-releases</id>
340 <url>http://www.knopflerfish.org/maven2</url>
341 </repository>
342 </repositories>
343 <dependencies>
344 <dependency>
345 <groupId>org.knopflerfish</groupId>
346 <artifactId>framework</artifactId>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000347 <version>${knoperflerfish.version}</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000348 <scope>test</scope>
349 </dependency>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000350 <dependency>
351 <!-- must be after KF -->
352 <groupId>org.osgi</groupId>
353 <artifactId>org.osgi.core</artifactId>
354 <version>4.3.1</version>
355 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000356 </dependencies>
357 </profile>
358
359 <profile>
360 <id>equinox</id>
361 <activation>
362 <activeByDefault>false</activeByDefault>
363 <property>
364 <name>pax.exam.framework</name>
365 <value>equinox</value>
366 </property>
367 </activation>
368 <properties>
369 <pax.exam.framework>equinox</pax.exam.framework>
370 </properties>
371 <dependencies>
372 <dependency>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000373 <groupId>org.osgi</groupId>
374 <artifactId>org.osgi.compendium</artifactId>
375 <version>4.3.0</version>
376 </dependency>
377 <dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000378 <groupId>org.eclipse.tycho</groupId>
379 <artifactId>org.eclipse.osgi</artifactId>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000380 <version>${equinox.version}</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000381 <scope>test</scope>
382 </dependency>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000383 <dependency>
384 <!-- must be after equinox -->
385 <groupId>org.osgi</groupId>
386 <artifactId>org.osgi.core</artifactId>
387 <version>4.3.1</version>
388 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000389 </dependencies>
390 </profile>
391
392 <profile>
393 <id>felix</id>
394 <activation>
395 <activeByDefault>false</activeByDefault>
396 <property>
397 <name>pax.exam.framework</name>
398 <value>felix</value>
399 </property>
400 </activation>
401 <properties>
402 <pax.exam.framework>felix</pax.exam.framework>
403 </properties>
404 <dependencies>
405 <dependency>
406 <groupId>org.apache.felix</groupId>
407 <artifactId>org.apache.felix.framework</artifactId>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000408 <version>${felix.version}</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000409 </dependency>
410 </dependencies>
411 </profile>
412
413 <profile>
414 <id>test</id>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000415 <properties>
416 <skipTestExecution>false</skipTestExecution>
417 </properties>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000418 </profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000419 </profiles>
Clement Escoffier9d79d382014-03-11 14:56:40 +0000420
421 <scm>
422 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/releases/org.apache.felix.ipojo.manipulator-project-1.11.2/org.apache.felix.ipojo.manipulator.manipulator-it</connection>
423 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/releases/org.apache.felix.ipojo.manipulator-project-1.11.2/org.apache.felix.ipojo.manipulator.manipulator-it</developerConnection>
424 <url>http://svn.apache.org/viewvc/felix/releases/?root=Apache-SVN/org.apache.felix.ipojo.manipulator-project-1.11.2/org.apache.felix.ipojo.manipulator.manipulator-it</url>
425 </scm>
Clement Escoffiere6986562013-02-22 18:55:31 +0000426</project>