blob: 800ebf6291d19ec91e0983f41f617225ca2bd60e [file] [log] [blame]
Clement Escoffier1c47f282013-02-13 16:26:18 +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-->
19<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xmlns="http://maven.apache.org/POM/4.0.0"
21 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22 <parent>
23 <groupId>org.apache.felix</groupId>
24 <artifactId>felix-parent</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000025 <version>2.1</version>
Clement Escoffier1c47f282013-02-13 16:26:18 +000026 <relativePath>../../../pom/pom.xml</relativePath>
27 </parent>
28 <modelVersion>4.0.0</modelVersion>
29 <artifactId>org.apache.felix.ipojo.runtime.core-it</artifactId>
30 <version>1.9.0-SNAPSHOT</version>
31 <name>Apache Felix iPOJO Runtime Project ~ Core Integration Tests</name>
32 <packaging>pom</packaging>
33
34 <build>
Clement Escoffiera0030f52013-02-18 20:43:25 +000035 <plugins>
36 <plugin>
37 <groupId>org.apache.maven.plugins</groupId>
38 <artifactId>maven-compiler-plugin</artifactId>
39 <version>2.5.1</version>
40 <configuration>
41 <source>1.6</source>
42 <target>1.6</target>
43 </configuration>
44 </plugin>
45
46 <plugin>
47 <groupId>org.apache.servicemix.tooling</groupId>
48 <artifactId>depends-maven-plugin</artifactId>
49 <version>1.2</version>
50 <executions>
51 <execution>
52 <id>generate-config</id>
53 <goals>
54 <goal>generate-depends-file</goal>
55 </goals>
56 </execution>
57 </executions>
58 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +000059
60 <plugin>
61 <groupId>org.apache.rat</groupId>
62 <artifactId>apache-rat-plugin</artifactId>
63 <executions>
64 <execution>
65 <phase>verify</phase>
66 <goals>
67 <goal>check</goal>
68 </goals>
69 </execution>
70 </executions>
71 <configuration>
72 <!-- check src only (except remote resources additions) -->
73 <includes>
74 <include>src/**</include>
75 </includes>
76 <excludes>
77 <exclude>src/main/appended-resources/**</exclude>
78 <exclude>**/*.iml</exclude> <!-- Exclude iml files -->
Clement Escoffier48877b22013-04-09 15:31:02 +000079 <exclude>src/it/*/target/**/*</exclude> <!-- Exclude sub target folders -->
Clement Escoffiered4ca022013-03-13 15:27:20 +000080 </excludes>
81 </configuration>
82 </plugin>
Clement Escoffiera0030f52013-02-18 20:43:25 +000083 </plugins>
84
Clement Escoffier1c47f282013-02-13 16:26:18 +000085 </build>
86
Clement Escoffiera0030f52013-02-18 20:43:25 +000087 <properties>
Clement Escoffierd18900c2013-03-18 18:29:08 +000088 <exam.version>3.0.1</exam.version>
Clement Escoffiera0030f52013-02-18 20:43:25 +000089 <url.version>1.5.1</url.version>
Clement Escoffier2545db72013-05-05 13:55:09 +000090
91
92
Clement Escoffiera0030f52013-02-18 20:43:25 +000093 </properties>
94
95 <dependencies>
96
97 <dependency>
98 <groupId>org.ops4j.pax.exam</groupId>
99 <artifactId>pax-exam-container-native</artifactId>
100 <version>${exam.version}</version>
101 <scope>test</scope>
102 </dependency>
103
104 <dependency>
105 <groupId>org.ops4j.pax.exam</groupId>
106 <artifactId>pax-exam-junit4</artifactId>
107 <version>${exam.version}</version>
108 <scope>test</scope>
109 </dependency>
110
111 <dependency>
112 <groupId>org.ops4j.pax.exam</groupId>
113 <artifactId>pax-exam-link-mvn</artifactId>
114 <version>${exam.version}</version>
115 <scope>test</scope>
116 </dependency>
117
118 <dependency>
119 <groupId>org.ops4j.pax.url</groupId>
120 <artifactId>pax-url-aether</artifactId>
121 <version>${url.version}</version>
122 <scope>test</scope>
123 </dependency>
124
125 <dependency>
126 <groupId>org.apache.felix</groupId>
127 <artifactId>org.apache.felix.framework</artifactId>
128 <version>4.2.0</version>
129 <scope>test</scope>
130 </dependency>
131
132 <dependency>
133 <groupId>ch.qos.logback</groupId>
134 <artifactId>logback-core</artifactId>
135 <version>0.9.6</version>
136 <scope>test</scope>
137 </dependency>
138
139 <dependency>
140 <groupId>ch.qos.logback</groupId>
141 <artifactId>logback-classic</artifactId>
142 <version>0.9.6</version>
143 <scope>test</scope>
144 </dependency>
145
146
147 <dependency>
148 <groupId>junit</groupId>
149 <artifactId>junit</artifactId>
150 <version>4.9</version>
151 <scope>test</scope>
152 </dependency>
153
154 <dependency>
155 <groupId>org.mockito</groupId>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000156 <artifactId>mockito-all</artifactId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000157 <version>1.9.5</version>
158 </dependency>
159
160 <dependency>
161 <groupId>org.ops4j.pax.tinybundles</groupId>
162 <artifactId>tinybundles</artifactId>
163 <version>1.0.0</version>
164 </dependency>
165
166 <dependency>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000167 <groupId>org.ow2.chameleon.testing</groupId>
168 <artifactId>tinybundles-ipojo</artifactId>
169 <version>0.3.0</version>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000170 </dependency>
171
172 <dependency>
173 <groupId>org.apache.felix</groupId>
174 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
175 <version>1.9.0-SNAPSHOT</version>
176 </dependency>
177
178 <dependency>
179 <groupId>org.apache.felix</groupId>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000180 <artifactId>org.apache.felix.ipojo</artifactId>
181 <version>1.9.0-SNAPSHOT</version>
182 </dependency>
183
184 <dependency>
185 <groupId>org.apache.felix</groupId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000186 <artifactId>org.apache.felix.configadmin</artifactId>
187 <version>1.6.0</version>
188 <scope>test</scope>
189 </dependency>
190
191 <dependency>
192 <groupId>commons-io</groupId>
193 <artifactId>commons-io</artifactId>
194 <version>2.4</version>
195 </dependency>
196
197 <dependency>
198 <groupId>org.ow2.chameleon.testing</groupId>
199 <artifactId>osgi-helpers</artifactId>
Clement Escoffier2545db72013-05-05 13:55:09 +0000200 <version>0.6.1-SNAPSHOT</version>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000201 <scope>test</scope>
202 </dependency>
203
Clement Escoffiera0030f52013-02-18 20:43:25 +0000204
205 <dependency>
206 <groupId>org.apache.felix</groupId>
207 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
208 <!--
209 We use the released version as we don't really have to do any behavioral test on the handler in the core
210 test.
211 -->
212 <version>1.8.0</version>
213 </dependency>
214
215 <dependency>
216 <groupId>org.apache.felix</groupId>
217 <artifactId>org.apache.felix.log</artifactId>
218 <version>1.0.1</version>
219 </dependency>
220
221 <dependency>
222 <groupId>org.ops4j.pax.url</groupId>
223 <artifactId>pax-url-wrap</artifactId>
224 <version>1.5.2</version>
225 </dependency>
226 </dependencies>
227
Clement Escoffier1c47f282013-02-13 16:26:18 +0000228 <profiles>
229 <profile>
230 <id>release</id>
231 <build>
232 <plugins>
233 <plugin>
234 <groupId>org.apache.maven.plugins</groupId>
235 <artifactId>maven-assembly-plugin</artifactId>
236 <executions>
237 <execution>
238 <id>make-assembly</id>
239 <phase>package</phase>
240 <goals>
241 <goal>single</goal>
242 </goals>
243 <configuration>
244 <descriptorRefs>
245 <descriptorRef>project</descriptorRef>
246 </descriptorRefs>
247 <!-- we don't want to attach all the assemblies, such as bz2 -->
248 <attach>false</attach>
249 </configuration>
250 </execution>
251 </executions>
252 </plugin>
253 <plugin>
254 <!-- only attach the project and bin assemblies, in tar.gz and zip flavors -->
255 <groupId>org.codehaus.mojo</groupId>
256 <artifactId>build-helper-maven-plugin</artifactId>
257 <executions>
258 <execution>
259 <id>attach-assemblies</id>
260 <phase>package</phase>
261 <goals>
262 <goal>attach-artifact</goal>
263 </goals>
264 <configuration>
265 <artifacts>
266 <artifact>
267 <file>
268 ${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz
269 </file>
270 <classifier>project</classifier>
271 <type>tar.gz</type>
272 </artifact>
273 <artifact>
274 <file>
275 ${project.build.directory}/${project.artifactId}-${project.version}-project.zip
276 </file>
277 <classifier>project</classifier>
278 <type>zip</type>
279 </artifact>
280 </artifacts>
281 </configuration>
282 </execution>
283 </executions>
284 </plugin>
285 </plugins>
286 </build>
287 </profile>
288
289 <profile>
290 <id>knopflerfish</id>
291 <activation>
292 <activeByDefault>false</activeByDefault>
293 <property>
294 <name>pax.exam.framework</name>
295 <value>knopflerfish</value>
296 </property>
297 </activation>
298 <properties>
299 <pax.exam.framework>knopflerfish</pax.exam.framework>
300 </properties>
301 <repositories>
302 <repository>
303 <id>knopflerfish-releases</id>
304 <url>http://www.knopflerfish.org/maven2</url>
305 </repository>
306 </repositories>
307 <dependencies>
308 <dependency>
309 <groupId>org.knopflerfish</groupId>
310 <artifactId>framework</artifactId>
311 <version>5.2.0</version>
312 <scope>test</scope>
313 </dependency>
314 </dependencies>
315 </profile>
316
317 <profile>
318 <id>equinox</id>
319 <activation>
320 <activeByDefault>false</activeByDefault>
321 <property>
322 <name>pax.exam.framework</name>
323 <value>equinox</value>
324 </property>
325 </activation>
326 <properties>
327 <pax.exam.framework>equinox</pax.exam.framework>
328 </properties>
329 <dependencies>
330 <dependency>
331 <groupId>org.eclipse.tycho</groupId>
332 <artifactId>org.eclipse.osgi</artifactId>
333 <version>3.8.1.v20120830-144521</version>
334 <scope>test</scope>
335 </dependency>
336 </dependencies>
337 </profile>
338
339 <profile>
340 <id>felix</id>
341 <activation>
342 <activeByDefault>false</activeByDefault>
343 <property>
344 <name>pax.exam.framework</name>
345 <value>felix</value>
346 </property>
347 </activation>
348 <properties>
349 <pax.exam.framework>felix</pax.exam.framework>
350 </properties>
351 <dependencies>
352 <dependency>
353 <groupId>org.apache.felix</groupId>
354 <artifactId>org.apache.felix.framework</artifactId>
355 <version>4.2.0</version>
356 <scope>test</scope>
357 </dependency>
358 </dependencies>
359 </profile>
360
361 <profile>
362 <id>test</id>
363 <activation>
364 <activeByDefault>true</activeByDefault>
365 </activation>
366 <build>
367 <plugins>
368 <plugin>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-invoker-plugin</artifactId>
371 <version>1.8</version>
372 <configuration>
373 <streamLogs>true</streamLogs>
374 <goals>
375 <goal>clean</goal>
376 <goal>test</goal>
377 </goals>
378 <cloneClean>true</cloneClean>
Clement Escoffier2545db72013-05-05 13:55:09 +0000379 <environmentVariables>
380 <!-- TIME_FACTOR can be set from the command line with -DTIME_FACTOR=9-->
381 <TIME_FACTOR>${TIME_FACTOR}</TIME_FACTOR>
382 </environmentVariables>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000383 </configuration>
384 <executions>
385 <execution>
386 <id>regular</id>
387 <goals>
388 <goal>run</goal>
389 </goals>
390 <configuration>
391 <profiles>
392 <profile>felix</profile>
393 </profiles>
394 <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo>
395 </configuration>
396 </execution>
397 </executions>
398 </plugin>
399 </plugins>
400 </build>
401 </profile>
402
403 <profile>
404 <id>test-all</id>
405 <activation>
406 <activeByDefault>false</activeByDefault>
407 </activation>
408 <build>
409 <plugins>
410 <plugin>
411 <groupId>org.apache.maven.plugins</groupId>
412 <artifactId>maven-invoker-plugin</artifactId>
413 <version>1.8</version>
414 <configuration>
415 <streamLogs>true</streamLogs>
416 <goals>
417 <goal>clean</goal>
418 <goal>test</goal>
419 </goals>
420 <cloneClean>true</cloneClean>
Clement Escoffier2545db72013-05-05 13:55:09 +0000421 <environmentVariables>
422 <!-- TIME_FACTOR can be set from the command line with -DTIME_FACTOR=9-->
423 <TIME_FACTOR>${TIME_FACTOR}</TIME_FACTOR>
424 </environmentVariables>
Clement Escoffier1c47f282013-02-13 16:26:18 +0000425 </configuration>
426 <executions>
427 <execution>
428 <id>equinox-native</id>
429 <goals>
430 <goal>run</goal>
431 </goals>
432 <configuration>
433 <profiles>
434 <profile>equinox</profile>
435 </profiles>
436 <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo>
437
438 </configuration>
439 </execution>
440 <execution>
441 <id>felix-native</id>
442 <goals>
443 <goal>run</goal>
444 </goals>
445 <configuration>
446 <profiles>
447 <profile>felix</profile>
448 </profiles>
449 <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo>
450 </configuration>
451 </execution>
452 <execution>
453 <id>knopflerfish-native</id>
454 <goals>
455 <goal>run</goal>
456 </goals>
457 <configuration>
458 <profiles>
459 <profile>knopflerfish</profile>
460 </profiles>
461 <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo>
462 </configuration>
463 </execution>
464 </executions>
465 </plugin>
466 </plugins>
467 </build>
468 </profile>
469 </profiles>
470</project>