blob: 01fa408e5a19cee2fde78995065376f6b59cec18 [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-->
Clement Escoffierec4c3eb2013-05-15 13:29:45 +000019<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Clement Escoffiere6986562013-02-22 18:55:31 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000023 <version>2.1</version>
Clement Escoffiere6986562013-02-22 18:55:31 +000024 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <artifactId>org.apache.felix.ipojo.manipulator.manipulator-it</artifactId>
Clement Escoffierd5a66c42013-05-15 13:30:34 +000028 <version>1.10.1-SNAPSHOT</version>
Clement Escoffiera00b6422013-02-26 18:35:04 +000029 <name>Apache Felix iPOJO Manipulator ~ Integration Tests</name>
Clement Escoffiere6986562013-02-22 18:55:31 +000030 <packaging>pom</packaging>
31
32 <build>
Clement Escoffiere6986562013-02-22 18:55:31 +000033 <plugins>
34 <plugin>
35 <groupId>org.apache.maven.plugins</groupId>
36 <artifactId>maven-compiler-plugin</artifactId>
37 <version>2.5.1</version>
38 <configuration>
39 <source>1.6</source>
40 <target>1.6</target>
41 </configuration>
42 </plugin>
43
44 <plugin>
45 <groupId>org.apache.servicemix.tooling</groupId>
46 <artifactId>depends-maven-plugin</artifactId>
47 <version>1.2</version>
48 <executions>
49 <execution>
50 <id>generate-config</id>
51 <goals>
52 <goal>generate-depends-file</goal>
53 </goals>
54 </execution>
55 </executions>
56 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +000057
58 <plugin>
59 <groupId>org.apache.rat</groupId>
60 <artifactId>apache-rat-plugin</artifactId>
61 <executions>
62 <execution>
63 <phase>verify</phase>
64 <goals>
65 <goal>check</goal>
66 </goals>
67 </execution>
68 </executions>
69 <configuration>
70 <!-- check src only (except remote resources additions) -->
71 <includes>
72 <include>src/**</include>
73 </includes>
74 <excludes>
75 <exclude>src/main/appended-resources/**</exclude>
76 <exclude>**/*.iml</exclude>
Clement Escoffier33660692013-04-12 05:48:29 +000077 <exclude>src/it/**/target/**</exclude>
Clement Escoffiered4ca022013-03-13 15:27:20 +000078 </excludes>
79 </configuration>
80 </plugin>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +000081
82 <plugin>
83 <artifactId>maven-deploy-plugin</artifactId>
84 <version>2.4</version>
85 <configuration>
86 <skip>true</skip>
87 </configuration>
88 </plugin>
Clement Escoffiere6986562013-02-22 18:55:31 +000089 </plugins>
90
91 </build>
92
93 <properties>
94 <exam.version>3.0.0</exam.version>
95 <url.version>1.5.1</url.version>
96 </properties>
97
98 <dependencies>
99
100 <dependency>
101 <groupId>org.ops4j.pax.exam</groupId>
102 <artifactId>pax-exam-container-native</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-junit4</artifactId>
110 <version>${exam.version}</version>
111 <scope>test</scope>
112 </dependency>
113
114 <dependency>
115 <groupId>org.ops4j.pax.exam</groupId>
116 <artifactId>pax-exam-link-mvn</artifactId>
117 <version>${exam.version}</version>
118 <scope>test</scope>
119 </dependency>
120
121 <dependency>
122 <groupId>org.ops4j.pax.url</groupId>
123 <artifactId>pax-url-aether</artifactId>
124 <version>${url.version}</version>
125 <scope>test</scope>
126 </dependency>
127
128 <dependency>
129 <groupId>org.apache.felix</groupId>
130 <artifactId>org.apache.felix.framework</artifactId>
131 <version>4.2.0</version>
132 <scope>test</scope>
133 </dependency>
134
135 <dependency>
136 <groupId>ch.qos.logback</groupId>
137 <artifactId>logback-core</artifactId>
138 <version>0.9.6</version>
139 <scope>test</scope>
140 </dependency>
141
142 <dependency>
143 <groupId>ch.qos.logback</groupId>
144 <artifactId>logback-classic</artifactId>
145 <version>0.9.6</version>
146 <scope>test</scope>
147 </dependency>
148
149
150 <dependency>
151 <groupId>junit</groupId>
152 <artifactId>junit</artifactId>
153 <version>4.9</version>
154 <scope>test</scope>
155 </dependency>
156
157 <dependency>
158 <groupId>org.mockito</groupId>
159 <artifactId>mockito-all</artifactId>
160 <version>1.9.5</version>
161 </dependency>
162
163 <dependency>
164 <groupId>org.ops4j.pax.tinybundles</groupId>
165 <artifactId>tinybundles</artifactId>
166 <version>1.0.0</version>
167 </dependency>
168
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000169 <!-- The tiny bundle extension must be before the manipulator version
170 to use the right version of the manipulator -->
171 <dependency>
172 <groupId>org.ow2.chameleon.testing</groupId>
173 <artifactId>tinybundles-ipojo</artifactId>
174 <version>0.3.0</version>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000175 <scope>test</scope>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000176 </dependency>
177
Clement Escoffiere6986562013-02-22 18:55:31 +0000178 <!-- Define the tested version -->
179 <dependency>
180 <groupId>org.apache.felix</groupId>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000181 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Guillaume Sauthierca551ba2013-06-03 17:08:57 +0000182 <version>${project.version}</version>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000183 </dependency>
184
185 <dependency>
186 <groupId>org.apache.felix</groupId>
Clement Escoffiere6986562013-02-22 18:55:31 +0000187 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier9c501942013-05-21 11:38:35 +0000188 <version>1.10.1-SNAPSHOT</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000189 </dependency>
190
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000191 <dependency>
192 <groupId>org.apache.felix</groupId>
193 <artifactId>org.apache.felix.ipojo.manipulator.online</artifactId>
Guillaume Sauthierca551ba2013-06-03 17:08:57 +0000194 <version>${project.version}</version>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000195 </dependency>
196
Clement Escoffiere6986562013-02-22 18:55:31 +0000197 <!-- End of tested version -->
198
199 <dependency>
200 <groupId>org.apache.felix</groupId>
201 <artifactId>org.apache.felix.configadmin</artifactId>
202 <version>1.6.0</version>
203 <scope>test</scope>
204 </dependency>
205
206 <dependency>
207 <groupId>commons-io</groupId>
208 <artifactId>commons-io</artifactId>
209 <version>2.4</version>
210 </dependency>
211
212 <dependency>
213 <groupId>org.ow2.chameleon.testing</groupId>
214 <artifactId>osgi-helpers</artifactId>
Clement Escoffierec4c3eb2013-05-15 13:29:45 +0000215 <version>0.6.1</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000216 <scope>test</scope>
217 </dependency>
218
219 <dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000220 <groupId>org.apache.felix</groupId>
221 <artifactId>org.apache.felix.log</artifactId>
222 <version>1.0.1</version>
223 </dependency>
224
225 <dependency>
226 <groupId>org.ops4j.pax.url</groupId>
227 <artifactId>pax-url-wrap</artifactId>
228 <version>1.5.2</version>
229 </dependency>
230 </dependencies>
231
232 <profiles>
233 <profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000234 <id>knopflerfish</id>
235 <activation>
236 <activeByDefault>false</activeByDefault>
237 <property>
238 <name>pax.exam.framework</name>
239 <value>knopflerfish</value>
240 </property>
241 </activation>
242 <properties>
243 <pax.exam.framework>knopflerfish</pax.exam.framework>
244 </properties>
245 <repositories>
246 <repository>
247 <id>knopflerfish-releases</id>
248 <url>http://www.knopflerfish.org/maven2</url>
249 </repository>
250 </repositories>
251 <dependencies>
252 <dependency>
253 <groupId>org.knopflerfish</groupId>
254 <artifactId>framework</artifactId>
255 <version>5.2.0</version>
256 <scope>test</scope>
257 </dependency>
258 </dependencies>
259 </profile>
260
261 <profile>
262 <id>equinox</id>
263 <activation>
264 <activeByDefault>false</activeByDefault>
265 <property>
266 <name>pax.exam.framework</name>
267 <value>equinox</value>
268 </property>
269 </activation>
270 <properties>
271 <pax.exam.framework>equinox</pax.exam.framework>
272 </properties>
273 <dependencies>
274 <dependency>
275 <groupId>org.eclipse.tycho</groupId>
276 <artifactId>org.eclipse.osgi</artifactId>
277 <version>3.8.1.v20120830-144521</version>
278 <scope>test</scope>
279 </dependency>
280 </dependencies>
281 </profile>
282
283 <profile>
284 <id>felix</id>
285 <activation>
286 <activeByDefault>false</activeByDefault>
287 <property>
288 <name>pax.exam.framework</name>
289 <value>felix</value>
290 </property>
291 </activation>
292 <properties>
293 <pax.exam.framework>felix</pax.exam.framework>
294 </properties>
295 <dependencies>
296 <dependency>
297 <groupId>org.apache.felix</groupId>
298 <artifactId>org.apache.felix.framework</artifactId>
299 <version>4.2.0</version>
300 <scope>test</scope>
301 </dependency>
302 </dependencies>
303 </profile>
304
305 <profile>
306 <id>test</id>
Clement Escoffiere6986562013-02-22 18:55:31 +0000307 <build>
308 <plugins>
309 <plugin>
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-invoker-plugin</artifactId>
312 <version>1.8</version>
313 <configuration>
314 <streamLogs>true</streamLogs>
315 <goals>
316 <goal>clean</goal>
317 <goal>test</goal>
318 </goals>
319 <cloneClean>true</cloneClean>
320 </configuration>
321 <executions>
322 <execution>
323 <id>regular</id>
324 <goals>
325 <goal>run</goal>
326 </goals>
327 <configuration>
328 <profiles>
329 <profile>felix</profile>
330 </profiles>
331 <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo>
332 </configuration>
333 </execution>
334 </executions>
335 </plugin>
336 </plugins>
337 </build>
338 </profile>
339
340 <profile>
341 <id>test-all</id>
342 <activation>
343 <activeByDefault>false</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>equinox-native</id>
362 <goals>
363 <goal>run</goal>
364 </goals>
365 <configuration>
366 <profiles>
367 <profile>equinox</profile>
368 </profiles>
369 <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo>
370
371 </configuration>
372 </execution>
373 <execution>
374 <id>felix-native</id>
375 <goals>
376 <goal>run</goal>
377 </goals>
378 <configuration>
379 <profiles>
380 <profile>felix</profile>
381 </profiles>
382 <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo>
383 </configuration>
384 </execution>
385 <execution>
386 <id>knopflerfish-native</id>
387 <goals>
388 <goal>run</goal>
389 </goals>
390 <configuration>
391 <profiles>
392 <profile>knopflerfish</profile>
393 </profiles>
394 <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo>
395 </configuration>
396 </execution>
397 </executions>
398 </plugin>
399 </plugins>
400 </build>
401 </profile>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000402
403 <profile>
404 <id>apache-release</id>
405 <build>
406 <plugins>
407 <plugin>
408 <artifactId>maven-assembly-plugin</artifactId>
409 <dependencies>
410 <dependency>
411 <groupId>org.apache.apache.resources</groupId>
412 <artifactId>apache-source-release-assembly-descriptor</artifactId>
413 <version>1.0.3</version>
414 </dependency>
415 </dependencies>
416 <executions>
417 <execution>
418 <id>source-release-assembly</id>
419 <phase>package</phase>
420 <goals>
421 <goal>single</goal>
422 </goals>
423 <configuration>
424 <runOnlyAtExecutionRoot>false</runOnlyAtExecutionRoot>
425 <descriptorRefs>
426 <descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef>
427 </descriptorRefs>
428 <tarLongFileMode>gnu</tarLongFileMode>
429 </configuration>
430 </execution>
431 </executions>
432 </plugin>
433 </plugins>
434 </build>
435 </profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000436 </profiles>
Clement Escoffiere6986562013-02-22 18:55:31 +0000437</project>