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