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