blob: 680c2b29f181b223b50be70b6e087213c3cac87c [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>
144 <artifactId>mockito-all</artifactId>
145 <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>
155 <groupId>org.apache.felix</groupId>
156 <artifactId>org.apache.felix.ipojo</artifactId>
157 <version>1.9.0-SNAPSHOT</version>
158 </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>
168 <artifactId>org.apache.felix.configadmin</artifactId>
169 <version>1.6.0</version>
170 <scope>test</scope>
171 </dependency>
172
173 <dependency>
174 <groupId>commons-io</groupId>
175 <artifactId>commons-io</artifactId>
176 <version>2.4</version>
177 </dependency>
178
179 <dependency>
180 <groupId>org.ow2.chameleon.testing</groupId>
181 <artifactId>osgi-helpers</artifactId>
182 <version>0.6.0</version>
183 <scope>test</scope>
184 </dependency>
185
186 <dependency>
187 <groupId>org.ow2.chameleon.testing</groupId>
188 <artifactId>tinybundles-ipojo</artifactId>
189 <version>0.3.0</version>
190 </dependency>
191
192 <dependency>
193 <groupId>org.apache.felix</groupId>
194 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
195 <!--
196 We use the released version as we don't really have to do any behavioral test on the handler in the core
197 test.
198 -->
199 <version>1.8.0</version>
200 </dependency>
201
202 <dependency>
203 <groupId>org.apache.felix</groupId>
204 <artifactId>org.apache.felix.log</artifactId>
205 <version>1.0.1</version>
206 </dependency>
207
208 <dependency>
209 <groupId>org.ops4j.pax.url</groupId>
210 <artifactId>pax-url-wrap</artifactId>
211 <version>1.5.2</version>
212 </dependency>
213 </dependencies>
214
Clement Escoffier1c47f282013-02-13 16:26:18 +0000215 <profiles>
216 <profile>
217 <id>release</id>
218 <build>
219 <plugins>
220 <plugin>
221 <groupId>org.apache.maven.plugins</groupId>
222 <artifactId>maven-assembly-plugin</artifactId>
223 <executions>
224 <execution>
225 <id>make-assembly</id>
226 <phase>package</phase>
227 <goals>
228 <goal>single</goal>
229 </goals>
230 <configuration>
231 <descriptorRefs>
232 <descriptorRef>project</descriptorRef>
233 </descriptorRefs>
234 <!-- we don't want to attach all the assemblies, such as bz2 -->
235 <attach>false</attach>
236 </configuration>
237 </execution>
238 </executions>
239 </plugin>
240 <plugin>
241 <!-- only attach the project and bin assemblies, in tar.gz and zip flavors -->
242 <groupId>org.codehaus.mojo</groupId>
243 <artifactId>build-helper-maven-plugin</artifactId>
244 <executions>
245 <execution>
246 <id>attach-assemblies</id>
247 <phase>package</phase>
248 <goals>
249 <goal>attach-artifact</goal>
250 </goals>
251 <configuration>
252 <artifacts>
253 <artifact>
254 <file>
255 ${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz
256 </file>
257 <classifier>project</classifier>
258 <type>tar.gz</type>
259 </artifact>
260 <artifact>
261 <file>
262 ${project.build.directory}/${project.artifactId}-${project.version}-project.zip
263 </file>
264 <classifier>project</classifier>
265 <type>zip</type>
266 </artifact>
267 </artifacts>
268 </configuration>
269 </execution>
270 </executions>
271 </plugin>
272 </plugins>
273 </build>
274 </profile>
275
276 <profile>
277 <id>knopflerfish</id>
278 <activation>
279 <activeByDefault>false</activeByDefault>
280 <property>
281 <name>pax.exam.framework</name>
282 <value>knopflerfish</value>
283 </property>
284 </activation>
285 <properties>
286 <pax.exam.framework>knopflerfish</pax.exam.framework>
287 </properties>
288 <repositories>
289 <repository>
290 <id>knopflerfish-releases</id>
291 <url>http://www.knopflerfish.org/maven2</url>
292 </repository>
293 </repositories>
294 <dependencies>
295 <dependency>
296 <groupId>org.knopflerfish</groupId>
297 <artifactId>framework</artifactId>
298 <version>5.2.0</version>
299 <scope>test</scope>
300 </dependency>
301 </dependencies>
302 </profile>
303
304 <profile>
305 <id>equinox</id>
306 <activation>
307 <activeByDefault>false</activeByDefault>
308 <property>
309 <name>pax.exam.framework</name>
310 <value>equinox</value>
311 </property>
312 </activation>
313 <properties>
314 <pax.exam.framework>equinox</pax.exam.framework>
315 </properties>
316 <dependencies>
317 <dependency>
318 <groupId>org.eclipse.tycho</groupId>
319 <artifactId>org.eclipse.osgi</artifactId>
320 <version>3.8.1.v20120830-144521</version>
321 <scope>test</scope>
322 </dependency>
323 </dependencies>
324 </profile>
325
326 <profile>
327 <id>felix</id>
328 <activation>
329 <activeByDefault>false</activeByDefault>
330 <property>
331 <name>pax.exam.framework</name>
332 <value>felix</value>
333 </property>
334 </activation>
335 <properties>
336 <pax.exam.framework>felix</pax.exam.framework>
337 </properties>
338 <dependencies>
339 <dependency>
340 <groupId>org.apache.felix</groupId>
341 <artifactId>org.apache.felix.framework</artifactId>
342 <version>4.2.0</version>
343 <scope>test</scope>
344 </dependency>
345 </dependencies>
346 </profile>
347
348 <profile>
349 <id>test</id>
350 <activation>
351 <activeByDefault>true</activeByDefault>
352 </activation>
353 <build>
354 <plugins>
355 <plugin>
356 <groupId>org.apache.maven.plugins</groupId>
357 <artifactId>maven-invoker-plugin</artifactId>
358 <version>1.8</version>
359 <configuration>
360 <streamLogs>true</streamLogs>
361 <goals>
362 <goal>clean</goal>
363 <goal>test</goal>
364 </goals>
365 <cloneClean>true</cloneClean>
366 </configuration>
367 <executions>
368 <execution>
369 <id>regular</id>
370 <goals>
371 <goal>run</goal>
372 </goals>
373 <configuration>
374 <profiles>
375 <profile>felix</profile>
376 </profiles>
377 <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo>
378 </configuration>
379 </execution>
380 </executions>
381 </plugin>
382 </plugins>
383 </build>
384 </profile>
385
386 <profile>
387 <id>test-all</id>
388 <activation>
389 <activeByDefault>false</activeByDefault>
390 </activation>
391 <build>
392 <plugins>
393 <plugin>
394 <groupId>org.apache.maven.plugins</groupId>
395 <artifactId>maven-invoker-plugin</artifactId>
396 <version>1.8</version>
397 <configuration>
398 <streamLogs>true</streamLogs>
399 <goals>
400 <goal>clean</goal>
401 <goal>test</goal>
402 </goals>
403 <cloneClean>true</cloneClean>
404 </configuration>
405 <executions>
406 <execution>
407 <id>equinox-native</id>
408 <goals>
409 <goal>run</goal>
410 </goals>
411 <configuration>
412 <profiles>
413 <profile>equinox</profile>
414 </profiles>
415 <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo>
416
417 </configuration>
418 </execution>
419 <execution>
420 <id>felix-native</id>
421 <goals>
422 <goal>run</goal>
423 </goals>
424 <configuration>
425 <profiles>
426 <profile>felix</profile>
427 </profiles>
428 <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo>
429 </configuration>
430 </execution>
431 <execution>
432 <id>knopflerfish-native</id>
433 <goals>
434 <goal>run</goal>
435 </goals>
436 <configuration>
437 <profiles>
438 <profile>knopflerfish</profile>
439 </profiles>
440 <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo>
441 </configuration>
442 </execution>
443 </executions>
444 </plugin>
445 </plugins>
446 </build>
447 </profile>
448 </profiles>
449</project>