blob: 1d0b57042f0e5bba0d7f05069f1ce09d9796e445 [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>
120 </systemPropertyVariables>
121 </configuration>
122 </plugin>
Clement Escoffiere6986562013-02-22 18:55:31 +0000123 </plugins>
124
125 </build>
126
Clement Escoffiere6986562013-02-22 18:55:31 +0000127 <dependencies>
Clement Escoffiere6986562013-02-22 18:55:31 +0000128 <dependency>
129 <groupId>org.ops4j.pax.exam</groupId>
130 <artifactId>pax-exam-container-native</artifactId>
131 <version>${exam.version}</version>
132 <scope>test</scope>
133 </dependency>
134
135 <dependency>
136 <groupId>org.ops4j.pax.exam</groupId>
137 <artifactId>pax-exam-junit4</artifactId>
138 <version>${exam.version}</version>
139 <scope>test</scope>
140 </dependency>
141
142 <dependency>
143 <groupId>org.ops4j.pax.exam</groupId>
144 <artifactId>pax-exam-link-mvn</artifactId>
145 <version>${exam.version}</version>
146 <scope>test</scope>
147 </dependency>
148
149 <dependency>
150 <groupId>org.ops4j.pax.url</groupId>
151 <artifactId>pax-url-aether</artifactId>
152 <version>${url.version}</version>
153 <scope>test</scope>
154 </dependency>
155
156 <dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000157 <groupId>ch.qos.logback</groupId>
158 <artifactId>logback-core</artifactId>
159 <version>0.9.6</version>
160 <scope>test</scope>
161 </dependency>
162
163 <dependency>
164 <groupId>ch.qos.logback</groupId>
165 <artifactId>logback-classic</artifactId>
166 <version>0.9.6</version>
167 <scope>test</scope>
168 </dependency>
169
Clement Escoffiere6986562013-02-22 18:55:31 +0000170 <dependency>
171 <groupId>junit</groupId>
172 <artifactId>junit</artifactId>
173 <version>4.9</version>
174 <scope>test</scope>
175 </dependency>
176
177 <dependency>
178 <groupId>org.mockito</groupId>
179 <artifactId>mockito-all</artifactId>
180 <version>1.9.5</version>
181 </dependency>
182
183 <dependency>
184 <groupId>org.ops4j.pax.tinybundles</groupId>
185 <artifactId>tinybundles</artifactId>
186 <version>1.0.0</version>
187 </dependency>
188
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000189 <!-- The tiny bundle extension must be before the manipulator version
190 to use the right version of the manipulator -->
191 <dependency>
192 <groupId>org.ow2.chameleon.testing</groupId>
193 <artifactId>tinybundles-ipojo</artifactId>
194 <version>0.3.0</version>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000195 <scope>test</scope>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000196 </dependency>
197
Clement Escoffiere6986562013-02-22 18:55:31 +0000198 <!-- Define the tested version -->
199 <dependency>
200 <groupId>org.apache.felix</groupId>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000201 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Guillaume Sauthierca551ba2013-06-03 17:08:57 +0000202 <version>${project.version}</version>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000203 </dependency>
204
205 <dependency>
206 <groupId>org.apache.felix</groupId>
Clement Escoffiere6986562013-02-22 18:55:31 +0000207 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier6c1d7582013-06-21 14:24:32 +0000208 <!-- To update before the release -->
209 <version>${project.version}</version>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000210 <exclusions>
211 <exclusion>
212 <groupId>org.osgi</groupId>
213 <artifactId>org.osgi.core</artifactId>
214 </exclusion>
215 <exclusion>
216 <groupId>org.osgi</groupId>
217 <artifactId>org.osgi.compendium</artifactId>
218 </exclusion>
219 </exclusions>
Clement Escoffiere6986562013-02-22 18:55:31 +0000220 </dependency>
221
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000222 <dependency>
223 <groupId>org.apache.felix</groupId>
224 <artifactId>org.apache.felix.ipojo.manipulator.online</artifactId>
Guillaume Sauthierca551ba2013-06-03 17:08:57 +0000225 <version>${project.version}</version>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000226 <exclusions>
227 <exclusion>
228 <groupId>org.osgi</groupId>
229 <artifactId>org.osgi.core</artifactId>
230 </exclusion>
231 <exclusion>
232 <groupId>org.osgi</groupId>
233 <artifactId>org.osgi.compendium</artifactId>
234 </exclusion>
235 <exclusion>
236 <groupId>org.apache.felix</groupId>
237 <artifactId>org.apache.felix.ipojo</artifactId>
238 </exclusion>
239 </exclusions>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000240 </dependency>
241
Clement Escoffiere6986562013-02-22 18:55:31 +0000242 <!-- End of tested version -->
243
244 <dependency>
245 <groupId>org.apache.felix</groupId>
246 <artifactId>org.apache.felix.configadmin</artifactId>
247 <version>1.6.0</version>
248 <scope>test</scope>
249 </dependency>
250
251 <dependency>
252 <groupId>commons-io</groupId>
253 <artifactId>commons-io</artifactId>
254 <version>2.4</version>
255 </dependency>
256
257 <dependency>
258 <groupId>org.ow2.chameleon.testing</groupId>
259 <artifactId>osgi-helpers</artifactId>
Clement Escoffier90ccbb32013-06-21 13:43:42 +0000260 <version>0.6.2-SNAPSHOT</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000261 <scope>test</scope>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000262 <exclusions>
263 <exclusion>
264 <groupId>org.osgi</groupId>
265 <artifactId>org.osgi.core</artifactId>
266 </exclusion>
267 </exclusions>
Clement Escoffiere6986562013-02-22 18:55:31 +0000268 </dependency>
269
270 <dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000271 <groupId>org.apache.felix</groupId>
272 <artifactId>org.apache.felix.log</artifactId>
273 <version>1.0.1</version>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000274 <exclusions>
275 <exclusion>
276 <groupId>org.osgi</groupId>
277 <artifactId>org.osgi.core</artifactId>
278 </exclusion>
279 </exclusions>
Clement Escoffiere6986562013-02-22 18:55:31 +0000280 </dependency>
281
282 <dependency>
283 <groupId>org.ops4j.pax.url</groupId>
284 <artifactId>pax-url-wrap</artifactId>
285 <version>1.5.2</version>
286 </dependency>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000287
288 <dependency>
289 <groupId>org.easytesting</groupId>
290 <artifactId>fest-assert</artifactId>
291 <version>1.4</version>
292 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000293 </dependencies>
294
295 <profiles>
296 <profile>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000297 <id>default</id>
298 <activation>
299 <activeByDefault>true</activeByDefault>
300 </activation>
301 <dependencies>
302 <dependency>
303 <groupId>org.osgi</groupId>
304 <artifactId>org.osgi.compendium</artifactId>
305 <version>4.3.0</version>
306 </dependency>
307 <dependency>
308 <groupId>org.osgi</groupId>
309 <artifactId>org.osgi.core</artifactId>
310 <version>4.3.1</version>
311 </dependency>
312 </dependencies>
313 </profile>
314 <profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000315 <id>knopflerfish</id>
316 <activation>
317 <activeByDefault>false</activeByDefault>
318 <property>
319 <name>pax.exam.framework</name>
320 <value>knopflerfish</value>
321 </property>
322 </activation>
323 <properties>
324 <pax.exam.framework>knopflerfish</pax.exam.framework>
325 </properties>
326 <repositories>
327 <repository>
328 <id>knopflerfish-releases</id>
329 <url>http://www.knopflerfish.org/maven2</url>
330 </repository>
331 </repositories>
332 <dependencies>
333 <dependency>
334 <groupId>org.knopflerfish</groupId>
335 <artifactId>framework</artifactId>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000336 <version>${knoperflerfish.version}</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000337 <scope>test</scope>
338 </dependency>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000339 <dependency>
340 <!-- must be after KF -->
341 <groupId>org.osgi</groupId>
342 <artifactId>org.osgi.core</artifactId>
343 <version>4.3.1</version>
344 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000345 </dependencies>
346 </profile>
347
348 <profile>
349 <id>equinox</id>
350 <activation>
351 <activeByDefault>false</activeByDefault>
352 <property>
353 <name>pax.exam.framework</name>
354 <value>equinox</value>
355 </property>
356 </activation>
357 <properties>
358 <pax.exam.framework>equinox</pax.exam.framework>
359 </properties>
360 <dependencies>
361 <dependency>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000362 <groupId>org.osgi</groupId>
363 <artifactId>org.osgi.compendium</artifactId>
364 <version>4.3.0</version>
365 </dependency>
366 <dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000367 <groupId>org.eclipse.tycho</groupId>
368 <artifactId>org.eclipse.osgi</artifactId>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000369 <version>${equinox.version}</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000370 <scope>test</scope>
371 </dependency>
Clement Escoffier8903b0a2013-09-22 17:55:19 +0000372 <dependency>
373 <!-- must be after equinox -->
374 <groupId>org.osgi</groupId>
375 <artifactId>org.osgi.core</artifactId>
376 <version>4.3.1</version>
377 </dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000378 </dependencies>
379 </profile>
380
381 <profile>
382 <id>felix</id>
383 <activation>
384 <activeByDefault>false</activeByDefault>
385 <property>
386 <name>pax.exam.framework</name>
387 <value>felix</value>
388 </property>
389 </activation>
390 <properties>
391 <pax.exam.framework>felix</pax.exam.framework>
392 </properties>
393 <dependencies>
394 <dependency>
395 <groupId>org.apache.felix</groupId>
396 <artifactId>org.apache.felix.framework</artifactId>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000397 <version>${felix.version}</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000398 </dependency>
399 </dependencies>
400 </profile>
401
402 <profile>
403 <id>test</id>
Clement Escoffier609bf5f2013-06-21 07:30:11 +0000404 <properties>
405 <skipTestExecution>false</skipTestExecution>
406 </properties>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000407 </profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000408 </profiles>
Clement Escoffiere6986562013-02-22 18:55:31 +0000409</project>