blob: 81c2aed2428d0fd46e5d71a64974095580b6745a [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 Escoffier615c9f22014-05-04 12:36:09 +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">
21 <parent>
Guillaume Sauthier5dbe4dc2014-03-13 12:45:43 +000022 <groupId>org.apache.felix</groupId>
Clement Escoffier615c9f22014-05-04 12:36:09 +000023 <artifactId>felix-parent</artifactId>
24 <version>2.1</version>
25 <relativePath>../../../pom/pom.xml</relativePath>
26 </parent>
27
28 <modelVersion>4.0.0</modelVersion>
29 <artifactId>org.apache.felix.ipojo.manipulator.manipulator-it</artifactId>
30 <version>1.11.3-SNAPSHOT</version>
31 <name>Apache Felix iPOJO Manipulator ~ Integration Tests</name>
32 <packaging>pom</packaging>
33
34 <properties>
35 <!-- Tests are enabled only when the 'test' profile is activated -->
36 <skipTestExecution>true</skipTestExecution>
37
38 <exam.version>3.0.1</exam.version>
39 <url.version>1.5.1</url.version>
40
41 <felix.version>4.4.0</felix.version>
42 <equinox.version>3.9.0.v20130529-1710</equinox.version>
43 <knoperflerfish.version>6.0.2</knoperflerfish.version>
44 </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
53 <dependencyManagement>
54 <dependencies>
55 <dependency>
56 <groupId>org.apache.felix</groupId>
57 <artifactId>ipojo-manipulator-bom</artifactId>
58 <version>${project.version}</version>
59 <type>pom</type>
60 <scope>import</scope>
61 </dependency>
62 </dependencies>
63 </dependencyManagement>
64
65 <build>
66 <plugins>
67 <plugin>
68 <groupId>org.apache.maven.plugins</groupId>
69 <artifactId>maven-compiler-plugin</artifactId>
70 <version>2.5.1</version>
71 <configuration>
Clement Escoffier47a173d2014-05-04 17:00:18 +000072 <source>1.7</source>
73 <target>1.7</target>
Clement Escoffier615c9f22014-05-04 12:36:09 +000074 </configuration>
75 </plugin>
76
77 <plugin>
78 <groupId>org.apache.servicemix.tooling</groupId>
79 <artifactId>depends-maven-plugin</artifactId>
80 <version>1.2</version>
81 <executions>
82 <execution>
83 <id>generate-config</id>
84 <goals>
85 <goal>generate-depends-file</goal>
86 </goals>
87 </execution>
88 </executions>
89 </plugin>
90
91 <plugin>
92 <groupId>org.apache.rat</groupId>
93 <artifactId>apache-rat-plugin</artifactId>
94 <executions>
95 <execution>
96 <phase>verify</phase>
97 <goals>
98 <goal>check</goal>
99 </goals>
100 </execution>
101 </executions>
102 <configuration>
103 <!-- check src only (except remote resources additions) -->
104 <includes>
105 <include>src/**</include>
106 </includes>
107 <excludes>
108 <exclude>src/main/appended-resources/**</exclude>
109 <exclude>**/*.iml</exclude>
110 <exclude>src/it/**/target/**</exclude>
111 </excludes>
112 </configuration>
113 </plugin>
114
115 <plugin>
116 <artifactId>maven-deploy-plugin</artifactId>
117 <version>2.4</version>
118 <configuration>
119 <skip>true</skip>
120 </configuration>
121 </plugin>
122
123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-surefire-plugin</artifactId>
126 <version>2.15</version>
127 <configuration>
128 <skipTests>${skipTestExecution}</skipTests>
129 <systemPropertyVariables>
130 <!-- TIME_FACTOR can be set from the command line with -DTIME_FACTOR=9-->
131 <TIME_FACTOR>${TIME_FACTOR}</TIME_FACTOR>
132 <!-- Defined by the profiles -->
133 <pax.exam.framework>${pax.exam.framework}</pax.exam.framework>
134 </systemPropertyVariables>
135 </configuration>
136 </plugin>
137 </plugins>
138
139 </build>
140
141 <dependencies>
142 <dependency>
143 <groupId>org.ops4j.pax.exam</groupId>
144 <artifactId>pax-exam-container-native</artifactId>
145 <version>${exam.version}</version>
146 <scope>test</scope>
147 </dependency>
148
149 <dependency>
150 <groupId>org.ops4j.pax.exam</groupId>
151 <artifactId>pax-exam-junit4</artifactId>
152 <version>${exam.version}</version>
153 <scope>test</scope>
154 </dependency>
155
156 <dependency>
157 <groupId>org.ops4j.pax.exam</groupId>
158 <artifactId>pax-exam-link-mvn</artifactId>
159 <version>${exam.version}</version>
160 <scope>test</scope>
161 </dependency>
162
163 <dependency>
164 <groupId>org.ops4j.pax.url</groupId>
165 <artifactId>pax-url-aether</artifactId>
166 <version>${url.version}</version>
167 <scope>test</scope>
168 </dependency>
169
170 <dependency>
171 <groupId>ch.qos.logback</groupId>
172 <artifactId>logback-core</artifactId>
173 <version>0.9.6</version>
174 <scope>test</scope>
175 </dependency>
176
177 <dependency>
178 <groupId>ch.qos.logback</groupId>
179 <artifactId>logback-classic</artifactId>
180 <version>0.9.6</version>
181 <scope>test</scope>
182 </dependency>
183
184 <dependency>
185 <groupId>junit</groupId>
186 <artifactId>junit</artifactId>
187 <version>4.9</version>
188 <scope>test</scope>
189 </dependency>
190
191 <dependency>
192 <groupId>org.mockito</groupId>
193 <artifactId>mockito-all</artifactId>
194 <version>1.9.5</version>
195 </dependency>
196
197 <dependency>
198 <groupId>org.ops4j.pax.tinybundles</groupId>
199 <artifactId>tinybundles</artifactId>
200 <version>1.0.0</version>
201 </dependency>
202
203 <!-- The tiny bundle extension must be before the manipulator version
204 to use the right version of the manipulator -->
205 <dependency>
206 <groupId>org.ow2.chameleon.testing</groupId>
207 <artifactId>tinybundles-ipojo</artifactId>
208 <version>0.3.0</version>
209 <scope>test</scope>
210 </dependency>
211
212 <!-- Define the tested version -->
213 <dependency>
214 <groupId>org.apache.felix</groupId>
215 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
216 </dependency>
217
218 <dependency>
219 <groupId>org.apache.felix</groupId>
220 <artifactId>org.apache.felix.ipojo</artifactId>
221 <!-- To update before the release -->
222
223 <!--
224 if you are using a release version, be aware that this may introduce test failures as you should
225 update this version to the same version as the manipulator
226 -->
227 <!--<version>1.11.1</version>-->
228 <version>${project.version}</version>
229 <scope>provided</scope>
230 <exclusions>
231 <exclusion>
232 <groupId>org.osgi</groupId>
233 <artifactId>org.osgi.core</artifactId>
234 </exclusion>
235 </exclusions>
236 </dependency>
237
238 <dependency>
239 <groupId>org.apache.felix</groupId>
240 <artifactId>org.apache.felix.ipojo.manipulator.online</artifactId>
241 <version>${project.version}</version>
242 <scope>provided</scope>
243 </dependency>
244
245 <!-- End of tested version -->
246
247 <dependency>
248 <groupId>org.apache.felix</groupId>
249 <artifactId>org.apache.felix.configadmin</artifactId>
250 <version>1.6.0</version>
251 <scope>test</scope>
252 </dependency>
253
254 <dependency>
255 <groupId>commons-io</groupId>
256 <artifactId>commons-io</artifactId>
257 <version>2.4</version>
258 </dependency>
259
260 <dependency>
261 <groupId>org.ow2.chameleon.testing</groupId>
262 <artifactId>osgi-helpers</artifactId>
263 <version>0.6.1</version>
264 <scope>test</scope>
265 <exclusions>
266 <exclusion>
267 <groupId>org.osgi</groupId>
268 <artifactId>org.osgi.core</artifactId>
269 </exclusion>
270 </exclusions>
271 </dependency>
272
273 <dependency>
274 <groupId>org.apache.felix</groupId>
275 <artifactId>org.apache.felix.log</artifactId>
276 <version>1.0.1</version>
277 <exclusions>
278 <exclusion>
279 <groupId>org.osgi</groupId>
280 <artifactId>org.osgi.core</artifactId>
281 </exclusion>
282 </exclusions>
283 </dependency>
284
285 <dependency>
286 <groupId>org.ops4j.pax.url</groupId>
287 <artifactId>pax-url-wrap</artifactId>
288 <version>1.5.2</version>
289 </dependency>
290
291 <dependency>
292 <groupId>org.easytesting</groupId>
293 <artifactId>fest-assert</artifactId>
294 <version>1.4</version>
295 </dependency>
Guillaume Sauthier5dbe4dc2014-03-13 12:45:43 +0000296 </dependencies>
Guillaume Sauthier5dbe4dc2014-03-13 12:45:43 +0000297
Clement Escoffier615c9f22014-05-04 12:36:09 +0000298 <profiles>
299 <profile>
300 <id>default</id>
301 <activation>
302 <activeByDefault>true</activeByDefault>
303 </activation>
304 <properties>
305 <pax.exam.framework>none</pax.exam.framework>
306 </properties>
307 <dependencies>
308 <dependency>
309 <groupId>org.osgi</groupId>
310 <artifactId>org.osgi.compendium</artifactId>
311 <version>4.3.0</version>
312 </dependency>
313 <dependency>
314 <groupId>org.osgi</groupId>
315 <artifactId>org.osgi.core</artifactId>
316 <version>4.3.1</version>
317 </dependency>
318 </dependencies>
319 </profile>
320 <profile>
321 <id>knopflerfish</id>
322 <activation>
323 <activeByDefault>false</activeByDefault>
324 <property>
325 <name>pax.exam.framework</name>
326 <value>knopflerfish</value>
327 </property>
328 </activation>
329 <properties>
330 <pax.exam.framework>knopflerfish</pax.exam.framework>
331 </properties>
332 <repositories>
333 <repository>
334 <id>knopflerfish-releases</id>
335 <url>http://www.knopflerfish.org/maven2</url>
336 </repository>
337 </repositories>
338 <dependencies>
339 <dependency>
340 <groupId>org.knopflerfish</groupId>
341 <artifactId>framework</artifactId>
342 <version>${knoperflerfish.version}</version>
343 <scope>test</scope>
344 </dependency>
345 <dependency>
346 <!-- must be after KF -->
347 <groupId>org.osgi</groupId>
348 <artifactId>org.osgi.core</artifactId>
349 <version>4.3.1</version>
350 </dependency>
351 </dependencies>
352 </profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000353
Clement Escoffier615c9f22014-05-04 12:36:09 +0000354 <profile>
355 <id>equinox</id>
356 <activation>
357 <activeByDefault>false</activeByDefault>
358 <property>
359 <name>pax.exam.framework</name>
360 <value>equinox</value>
361 </property>
362 </activation>
363 <properties>
364 <pax.exam.framework>equinox</pax.exam.framework>
365 </properties>
366 <dependencies>
367 <dependency>
368 <groupId>org.osgi</groupId>
369 <artifactId>org.osgi.compendium</artifactId>
370 <version>4.3.0</version>
371 </dependency>
372 <dependency>
373 <groupId>org.eclipse.tycho</groupId>
374 <artifactId>org.eclipse.osgi</artifactId>
375 <version>${equinox.version}</version>
376 <scope>test</scope>
377 </dependency>
378 <dependency>
379 <!-- must be after equinox -->
380 <groupId>org.osgi</groupId>
381 <artifactId>org.osgi.core</artifactId>
382 <version>4.3.1</version>
383 </dependency>
384 </dependencies>
385 </profile>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000386
Clement Escoffier615c9f22014-05-04 12:36:09 +0000387 <profile>
388 <id>felix</id>
389 <activation>
390 <activeByDefault>false</activeByDefault>
391 <property>
392 <name>pax.exam.framework</name>
393 <value>felix</value>
394 </property>
395 </activation>
396 <properties>
397 <pax.exam.framework>felix</pax.exam.framework>
398 </properties>
399 <dependencies>
400 <dependency>
401 <groupId>org.apache.felix</groupId>
402 <artifactId>org.apache.felix.framework</artifactId>
403 <version>${felix.version}</version>
404 </dependency>
405 </dependencies>
406 </profile>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +0000407
Clement Escoffier615c9f22014-05-04 12:36:09 +0000408 <profile>
409 <id>test</id>
410 <properties>
411 <skipTestExecution>false</skipTestExecution>
412 </properties>
413 </profile>
414 </profiles>
Clement Escoffiere6986562013-02-22 18:55:31 +0000415</project>