blob: 1be62eb2e6d266b8137d959a75b1b9923507d8b7 [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>
Clement Escoffier9b0f3f32014-05-07 19:04:33 +000030 <version>1.12.0-SNAPSHOT</version>
Clement Escoffier615c9f22014-05-04 12:36:09 +000031 <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>
Clement Escoffier615c9f22014-05-04 12:36:09 +0000230 </dependency>
231
232 <dependency>
233 <groupId>org.apache.felix</groupId>
234 <artifactId>org.apache.felix.ipojo.manipulator.online</artifactId>
235 <version>${project.version}</version>
236 <scope>provided</scope>
237 </dependency>
238
239 <!-- End of tested version -->
240
241 <dependency>
242 <groupId>org.apache.felix</groupId>
243 <artifactId>org.apache.felix.configadmin</artifactId>
244 <version>1.6.0</version>
245 <scope>test</scope>
246 </dependency>
247
248 <dependency>
249 <groupId>commons-io</groupId>
250 <artifactId>commons-io</artifactId>
251 <version>2.4</version>
252 </dependency>
253
254 <dependency>
255 <groupId>org.ow2.chameleon.testing</groupId>
256 <artifactId>osgi-helpers</artifactId>
257 <version>0.6.1</version>
258 <scope>test</scope>
259 <exclusions>
260 <exclusion>
261 <groupId>org.osgi</groupId>
262 <artifactId>org.osgi.core</artifactId>
263 </exclusion>
264 </exclusions>
265 </dependency>
266
267 <dependency>
268 <groupId>org.apache.felix</groupId>
269 <artifactId>org.apache.felix.log</artifactId>
270 <version>1.0.1</version>
271 <exclusions>
272 <exclusion>
273 <groupId>org.osgi</groupId>
274 <artifactId>org.osgi.core</artifactId>
275 </exclusion>
276 </exclusions>
277 </dependency>
278
279 <dependency>
280 <groupId>org.ops4j.pax.url</groupId>
281 <artifactId>pax-url-wrap</artifactId>
282 <version>1.5.2</version>
283 </dependency>
284
285 <dependency>
286 <groupId>org.easytesting</groupId>
287 <artifactId>fest-assert</artifactId>
288 <version>1.4</version>
289 </dependency>
Guillaume Sauthier5dbe4dc2014-03-13 12:45:43 +0000290 </dependencies>
Guillaume Sauthier5dbe4dc2014-03-13 12:45:43 +0000291
Clement Escoffier615c9f22014-05-04 12:36:09 +0000292 <profiles>
293 <profile>
294 <id>default</id>
295 <activation>
296 <activeByDefault>true</activeByDefault>
297 </activation>
298 <properties>
299 <pax.exam.framework>none</pax.exam.framework>
300 </properties>
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>
315 <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>
336 <version>${knoperflerfish.version}</version>
337 <scope>test</scope>
338 </dependency>
339 <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>
345 </dependencies>
346 </profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000347
Clement Escoffier615c9f22014-05-04 12:36:09 +0000348 <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>
362 <groupId>org.osgi</groupId>
363 <artifactId>org.osgi.compendium</artifactId>
364 <version>4.3.0</version>
365 </dependency>
366 <dependency>
367 <groupId>org.eclipse.tycho</groupId>
368 <artifactId>org.eclipse.osgi</artifactId>
369 <version>${equinox.version}</version>
370 <scope>test</scope>
371 </dependency>
372 <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>
378 </dependencies>
379 </profile>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000380
Clement Escoffier615c9f22014-05-04 12:36:09 +0000381 <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>
397 <version>${felix.version}</version>
398 </dependency>
399 </dependencies>
400 </profile>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +0000401
Clement Escoffier615c9f22014-05-04 12:36:09 +0000402 <profile>
403 <id>test</id>
404 <properties>
405 <skipTestExecution>false</skipTestExecution>
406 </properties>
407 </profile>
408 </profiles>
Clement Escoffiere6986562013-02-22 18:55:31 +0000409</project>