blob: 0d782dd22e7a7e93b6faac1b7b1b3617d4ec886c [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 Escoffier3037b742014-05-12 11:13:32 +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 Escoffier615c9f22014-05-04 12:36:09 +000020 <parent>
Guillaume Sauthier5dbe4dc2014-03-13 12:45:43 +000021 <groupId>org.apache.felix</groupId>
Clement Escoffier615c9f22014-05-04 12:36:09 +000022 <artifactId>felix-parent</artifactId>
23 <version>2.1</version>
24 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
26
27 <modelVersion>4.0.0</modelVersion>
28 <artifactId>org.apache.felix.ipojo.manipulator.manipulator-it</artifactId>
Clement Escoffierc984df12014-05-12 11:13:53 +000029 <version>1.12.1-SNAPSHOT</version>
Clement Escoffier615c9f22014-05-04 12:36:09 +000030 <name>Apache Felix iPOJO Manipulator ~ Integration Tests</name>
31 <packaging>pom</packaging>
32
33 <properties>
34 <!-- Tests are enabled only when the 'test' profile is activated -->
35 <skipTestExecution>true</skipTestExecution>
36
37 <exam.version>3.0.1</exam.version>
38 <url.version>1.5.1</url.version>
39
40 <felix.version>4.4.0</felix.version>
41 <equinox.version>3.9.0.v20130529-1710</equinox.version>
42 <knoperflerfish.version>6.0.2</knoperflerfish.version>
43 </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
52 <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
64 <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>
Clement Escoffier47a173d2014-05-04 17:00:18 +000071 <source>1.7</source>
72 <target>1.7</target>
Clement Escoffier615c9f22014-05-04 12:36:09 +000073 </configuration>
74 </plugin>
75
76 <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>
89
90 <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>
113
114 <plugin>
115 <artifactId>maven-deploy-plugin</artifactId>
116 <version>2.4</version>
117 <configuration>
118 <skip>true</skip>
119 </configuration>
120 </plugin>
121
122 <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>
137
138 </build>
139
140 <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>
215 </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 -->
Clement Escoffier46ebda82014-05-17 12:19:25 +0000226 <version>1.12.1-SNAPSHOT</version>
Clement Escoffier615c9f22014-05-04 12:36:09 +0000227 <scope>provided</scope>
Clement Escoffier615c9f22014-05-04 12:36:09 +0000228 </dependency>
229
230 <dependency>
231 <groupId>org.apache.felix</groupId>
232 <artifactId>org.apache.felix.ipojo.manipulator.online</artifactId>
233 <version>${project.version}</version>
234 <scope>provided</scope>
235 </dependency>
236
237 <!-- End of tested version -->
238
239 <dependency>
240 <groupId>org.apache.felix</groupId>
241 <artifactId>org.apache.felix.configadmin</artifactId>
242 <version>1.6.0</version>
243 <scope>test</scope>
244 </dependency>
245
246 <dependency>
247 <groupId>commons-io</groupId>
248 <artifactId>commons-io</artifactId>
249 <version>2.4</version>
250 </dependency>
251
252 <dependency>
253 <groupId>org.ow2.chameleon.testing</groupId>
254 <artifactId>osgi-helpers</artifactId>
255 <version>0.6.1</version>
256 <scope>test</scope>
257 <exclusions>
258 <exclusion>
259 <groupId>org.osgi</groupId>
260 <artifactId>org.osgi.core</artifactId>
261 </exclusion>
262 </exclusions>
263 </dependency>
264
265 <dependency>
266 <groupId>org.apache.felix</groupId>
267 <artifactId>org.apache.felix.log</artifactId>
268 <version>1.0.1</version>
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.ops4j.pax.url</groupId>
279 <artifactId>pax-url-wrap</artifactId>
280 <version>1.5.2</version>
281 </dependency>
282
283 <dependency>
284 <groupId>org.easytesting</groupId>
285 <artifactId>fest-assert</artifactId>
286 <version>1.4</version>
287 </dependency>
Guillaume Sauthier5dbe4dc2014-03-13 12:45:43 +0000288 </dependencies>
Guillaume Sauthier5dbe4dc2014-03-13 12:45:43 +0000289
Clement Escoffier615c9f22014-05-04 12:36:09 +0000290 <profiles>
291 <profile>
292 <id>default</id>
293 <activation>
294 <activeByDefault>true</activeByDefault>
295 </activation>
296 <properties>
297 <pax.exam.framework>none</pax.exam.framework>
298 </properties>
299 <dependencies>
300 <dependency>
301 <groupId>org.osgi</groupId>
302 <artifactId>org.osgi.compendium</artifactId>
303 <version>4.3.0</version>
304 </dependency>
305 <dependency>
306 <groupId>org.osgi</groupId>
307 <artifactId>org.osgi.core</artifactId>
308 <version>4.3.1</version>
309 </dependency>
310 </dependencies>
311 </profile>
312 <profile>
313 <id>knopflerfish</id>
314 <activation>
315 <activeByDefault>false</activeByDefault>
316 <property>
317 <name>pax.exam.framework</name>
318 <value>knopflerfish</value>
319 </property>
320 </activation>
321 <properties>
322 <pax.exam.framework>knopflerfish</pax.exam.framework>
323 </properties>
324 <repositories>
325 <repository>
326 <id>knopflerfish-releases</id>
327 <url>http://www.knopflerfish.org/maven2</url>
328 </repository>
329 </repositories>
330 <dependencies>
331 <dependency>
332 <groupId>org.knopflerfish</groupId>
333 <artifactId>framework</artifactId>
334 <version>${knoperflerfish.version}</version>
335 <scope>test</scope>
336 </dependency>
337 <dependency>
338 <!-- must be after KF -->
339 <groupId>org.osgi</groupId>
340 <artifactId>org.osgi.core</artifactId>
341 <version>4.3.1</version>
342 </dependency>
343 </dependencies>
344 </profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000345
Clement Escoffier615c9f22014-05-04 12:36:09 +0000346 <profile>
347 <id>equinox</id>
348 <activation>
349 <activeByDefault>false</activeByDefault>
350 <property>
351 <name>pax.exam.framework</name>
352 <value>equinox</value>
353 </property>
354 </activation>
355 <properties>
356 <pax.exam.framework>equinox</pax.exam.framework>
357 </properties>
358 <dependencies>
359 <dependency>
360 <groupId>org.osgi</groupId>
361 <artifactId>org.osgi.compendium</artifactId>
362 <version>4.3.0</version>
363 </dependency>
364 <dependency>
365 <groupId>org.eclipse.tycho</groupId>
366 <artifactId>org.eclipse.osgi</artifactId>
367 <version>${equinox.version}</version>
368 <scope>test</scope>
369 </dependency>
370 <dependency>
371 <!-- must be after equinox -->
372 <groupId>org.osgi</groupId>
373 <artifactId>org.osgi.core</artifactId>
374 <version>4.3.1</version>
375 </dependency>
376 </dependencies>
377 </profile>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000378
Clement Escoffier615c9f22014-05-04 12:36:09 +0000379 <profile>
380 <id>felix</id>
381 <activation>
382 <activeByDefault>false</activeByDefault>
383 <property>
384 <name>pax.exam.framework</name>
385 <value>felix</value>
386 </property>
387 </activation>
388 <properties>
389 <pax.exam.framework>felix</pax.exam.framework>
390 </properties>
391 <dependencies>
392 <dependency>
393 <groupId>org.apache.felix</groupId>
394 <artifactId>org.apache.felix.framework</artifactId>
395 <version>${felix.version}</version>
396 </dependency>
397 </dependencies>
398 </profile>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +0000399
Clement Escoffier615c9f22014-05-04 12:36:09 +0000400 <profile>
401 <id>test</id>
402 <properties>
403 <skipTestExecution>false</skipTestExecution>
404 </properties>
405 </profile>
406 </profiles>
Clement Escoffiere6986562013-02-22 18:55:31 +0000407</project>