blob: 24771e347c925d07365bdfc5146d785eb93c772e [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 -->
79 </excludes>
80 </configuration>
81 </plugin>
Clement Escoffiera0030f52013-02-18 20:43:25 +000082 </plugins>
83
Clement Escoffier1c47f282013-02-13 16:26:18 +000084 </build>
85
Clement Escoffiera0030f52013-02-18 20:43:25 +000086 <properties>
87 <exam.version>3.0.0</exam.version>
88 <url.version>1.5.1</url.version>
89 </properties>
90
91 <dependencies>
92
93 <dependency>
94 <groupId>org.ops4j.pax.exam</groupId>
95 <artifactId>pax-exam-container-native</artifactId>
96 <version>${exam.version}</version>
97 <scope>test</scope>
98 </dependency>
99
100 <dependency>
101 <groupId>org.ops4j.pax.exam</groupId>
102 <artifactId>pax-exam-junit4</artifactId>
103 <version>${exam.version}</version>
104 <scope>test</scope>
105 </dependency>
106
107 <dependency>
108 <groupId>org.ops4j.pax.exam</groupId>
109 <artifactId>pax-exam-link-mvn</artifactId>
110 <version>${exam.version}</version>
111 <scope>test</scope>
112 </dependency>
113
114 <dependency>
115 <groupId>org.ops4j.pax.url</groupId>
116 <artifactId>pax-url-aether</artifactId>
117 <version>${url.version}</version>
118 <scope>test</scope>
119 </dependency>
120
121 <dependency>
122 <groupId>org.apache.felix</groupId>
123 <artifactId>org.apache.felix.framework</artifactId>
124 <version>4.2.0</version>
125 <scope>test</scope>
126 </dependency>
127
128 <dependency>
129 <groupId>ch.qos.logback</groupId>
130 <artifactId>logback-core</artifactId>
131 <version>0.9.6</version>
132 <scope>test</scope>
133 </dependency>
134
135 <dependency>
136 <groupId>ch.qos.logback</groupId>
137 <artifactId>logback-classic</artifactId>
138 <version>0.9.6</version>
139 <scope>test</scope>
140 </dependency>
141
142
143 <dependency>
144 <groupId>junit</groupId>
145 <artifactId>junit</artifactId>
146 <version>4.9</version>
147 <scope>test</scope>
148 </dependency>
149
150 <dependency>
151 <groupId>org.mockito</groupId>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000152 <artifactId>mockito-all</artifactId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000153 <version>1.9.5</version>
154 </dependency>
155
156 <dependency>
157 <groupId>org.ops4j.pax.tinybundles</groupId>
158 <artifactId>tinybundles</artifactId>
159 <version>1.0.0</version>
160 </dependency>
161
162 <dependency>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000163 <groupId>org.ow2.chameleon.testing</groupId>
164 <artifactId>tinybundles-ipojo</artifactId>
165 <version>0.3.0</version>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000166 </dependency>
167
168 <dependency>
169 <groupId>org.apache.felix</groupId>
170 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
171 <version>1.9.0-SNAPSHOT</version>
172 </dependency>
173
174 <dependency>
175 <groupId>org.apache.felix</groupId>
Clement Escoffier4f6fb5f2013-03-12 13:15:33 +0000176 <artifactId>org.apache.felix.ipojo</artifactId>
177 <version>1.9.0-SNAPSHOT</version>
178 </dependency>
179
180 <dependency>
181 <groupId>org.apache.felix</groupId>
Clement Escoffiera0030f52013-02-18 20:43:25 +0000182 <artifactId>org.apache.felix.configadmin</artifactId>
183 <version>1.6.0</version>
184 <scope>test</scope>
185 </dependency>
186
187 <dependency>
188 <groupId>commons-io</groupId>
189 <artifactId>commons-io</artifactId>
190 <version>2.4</version>
191 </dependency>
192
193 <dependency>
194 <groupId>org.ow2.chameleon.testing</groupId>
195 <artifactId>osgi-helpers</artifactId>
196 <version>0.6.0</version>
197 <scope>test</scope>
198 </dependency>
199
Clement Escoffiera0030f52013-02-18 20:43:25 +0000200
201 <dependency>
202 <groupId>org.apache.felix</groupId>
203 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
204 <!--
205 We use the released version as we don't really have to do any behavioral test on the handler in the core
206 test.
207 -->
208 <version>1.8.0</version>
209 </dependency>
210
211 <dependency>
212 <groupId>org.apache.felix</groupId>
213 <artifactId>org.apache.felix.log</artifactId>
214 <version>1.0.1</version>
215 </dependency>
216
217 <dependency>
218 <groupId>org.ops4j.pax.url</groupId>
219 <artifactId>pax-url-wrap</artifactId>
220 <version>1.5.2</version>
221 </dependency>
222 </dependencies>
223
Clement Escoffier1c47f282013-02-13 16:26:18 +0000224 <profiles>
225 <profile>
226 <id>release</id>
227 <build>
228 <plugins>
229 <plugin>
230 <groupId>org.apache.maven.plugins</groupId>
231 <artifactId>maven-assembly-plugin</artifactId>
232 <executions>
233 <execution>
234 <id>make-assembly</id>
235 <phase>package</phase>
236 <goals>
237 <goal>single</goal>
238 </goals>
239 <configuration>
240 <descriptorRefs>
241 <descriptorRef>project</descriptorRef>
242 </descriptorRefs>
243 <!-- we don't want to attach all the assemblies, such as bz2 -->
244 <attach>false</attach>
245 </configuration>
246 </execution>
247 </executions>
248 </plugin>
249 <plugin>
250 <!-- only attach the project and bin assemblies, in tar.gz and zip flavors -->
251 <groupId>org.codehaus.mojo</groupId>
252 <artifactId>build-helper-maven-plugin</artifactId>
253 <executions>
254 <execution>
255 <id>attach-assemblies</id>
256 <phase>package</phase>
257 <goals>
258 <goal>attach-artifact</goal>
259 </goals>
260 <configuration>
261 <artifacts>
262 <artifact>
263 <file>
264 ${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz
265 </file>
266 <classifier>project</classifier>
267 <type>tar.gz</type>
268 </artifact>
269 <artifact>
270 <file>
271 ${project.build.directory}/${project.artifactId}-${project.version}-project.zip
272 </file>
273 <classifier>project</classifier>
274 <type>zip</type>
275 </artifact>
276 </artifacts>
277 </configuration>
278 </execution>
279 </executions>
280 </plugin>
281 </plugins>
282 </build>
283 </profile>
284
285 <profile>
286 <id>knopflerfish</id>
287 <activation>
288 <activeByDefault>false</activeByDefault>
289 <property>
290 <name>pax.exam.framework</name>
291 <value>knopflerfish</value>
292 </property>
293 </activation>
294 <properties>
295 <pax.exam.framework>knopflerfish</pax.exam.framework>
296 </properties>
297 <repositories>
298 <repository>
299 <id>knopflerfish-releases</id>
300 <url>http://www.knopflerfish.org/maven2</url>
301 </repository>
302 </repositories>
303 <dependencies>
304 <dependency>
305 <groupId>org.knopflerfish</groupId>
306 <artifactId>framework</artifactId>
307 <version>5.2.0</version>
308 <scope>test</scope>
309 </dependency>
310 </dependencies>
311 </profile>
312
313 <profile>
314 <id>equinox</id>
315 <activation>
316 <activeByDefault>false</activeByDefault>
317 <property>
318 <name>pax.exam.framework</name>
319 <value>equinox</value>
320 </property>
321 </activation>
322 <properties>
323 <pax.exam.framework>equinox</pax.exam.framework>
324 </properties>
325 <dependencies>
326 <dependency>
327 <groupId>org.eclipse.tycho</groupId>
328 <artifactId>org.eclipse.osgi</artifactId>
329 <version>3.8.1.v20120830-144521</version>
330 <scope>test</scope>
331 </dependency>
332 </dependencies>
333 </profile>
334
335 <profile>
336 <id>felix</id>
337 <activation>
338 <activeByDefault>false</activeByDefault>
339 <property>
340 <name>pax.exam.framework</name>
341 <value>felix</value>
342 </property>
343 </activation>
344 <properties>
345 <pax.exam.framework>felix</pax.exam.framework>
346 </properties>
347 <dependencies>
348 <dependency>
349 <groupId>org.apache.felix</groupId>
350 <artifactId>org.apache.felix.framework</artifactId>
351 <version>4.2.0</version>
352 <scope>test</scope>
353 </dependency>
354 </dependencies>
355 </profile>
356
357 <profile>
358 <id>test</id>
359 <activation>
360 <activeByDefault>true</activeByDefault>
361 </activation>
362 <build>
363 <plugins>
364 <plugin>
365 <groupId>org.apache.maven.plugins</groupId>
366 <artifactId>maven-invoker-plugin</artifactId>
367 <version>1.8</version>
368 <configuration>
369 <streamLogs>true</streamLogs>
370 <goals>
371 <goal>clean</goal>
372 <goal>test</goal>
373 </goals>
374 <cloneClean>true</cloneClean>
375 </configuration>
376 <executions>
377 <execution>
378 <id>regular</id>
379 <goals>
380 <goal>run</goal>
381 </goals>
382 <configuration>
383 <profiles>
384 <profile>felix</profile>
385 </profiles>
386 <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo>
387 </configuration>
388 </execution>
389 </executions>
390 </plugin>
391 </plugins>
392 </build>
393 </profile>
394
395 <profile>
396 <id>test-all</id>
397 <activation>
398 <activeByDefault>false</activeByDefault>
399 </activation>
400 <build>
401 <plugins>
402 <plugin>
403 <groupId>org.apache.maven.plugins</groupId>
404 <artifactId>maven-invoker-plugin</artifactId>
405 <version>1.8</version>
406 <configuration>
407 <streamLogs>true</streamLogs>
408 <goals>
409 <goal>clean</goal>
410 <goal>test</goal>
411 </goals>
412 <cloneClean>true</cloneClean>
413 </configuration>
414 <executions>
415 <execution>
416 <id>equinox-native</id>
417 <goals>
418 <goal>run</goal>
419 </goals>
420 <configuration>
421 <profiles>
422 <profile>equinox</profile>
423 </profiles>
424 <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo>
425
426 </configuration>
427 </execution>
428 <execution>
429 <id>felix-native</id>
430 <goals>
431 <goal>run</goal>
432 </goals>
433 <configuration>
434 <profiles>
435 <profile>felix</profile>
436 </profiles>
437 <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo>
438 </configuration>
439 </execution>
440 <execution>
441 <id>knopflerfish-native</id>
442 <goals>
443 <goal>run</goal>
444 </goals>
445 <configuration>
446 <profiles>
447 <profile>knopflerfish</profile>
448 </profiles>
449 <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo>
450 </configuration>
451 </execution>
452 </executions>
453 </plugin>
454 </plugins>
455 </build>
456 </profile>
457 </profiles>
458</project>