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