blob: 274a61f45b91a1b49110e39373cdef8634427281 [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 Escoffierec4c3eb2013-05-15 13:29:45 +000028 <version>1.10.0</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 Escoffiere6986562013-02-22 18:55:31 +000081 </plugins>
82
83 </build>
84
85 <properties>
86 <exam.version>3.0.0</exam.version>
87 <url.version>1.5.1</url.version>
88 </properties>
89
90 <dependencies>
91
92 <dependency>
93 <groupId>org.ops4j.pax.exam</groupId>
94 <artifactId>pax-exam-container-native</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-junit4</artifactId>
102 <version>${exam.version}</version>
103 <scope>test</scope>
104 </dependency>
105
106 <dependency>
107 <groupId>org.ops4j.pax.exam</groupId>
108 <artifactId>pax-exam-link-mvn</artifactId>
109 <version>${exam.version}</version>
110 <scope>test</scope>
111 </dependency>
112
113 <dependency>
114 <groupId>org.ops4j.pax.url</groupId>
115 <artifactId>pax-url-aether</artifactId>
116 <version>${url.version}</version>
117 <scope>test</scope>
118 </dependency>
119
120 <dependency>
121 <groupId>org.apache.felix</groupId>
122 <artifactId>org.apache.felix.framework</artifactId>
123 <version>4.2.0</version>
124 <scope>test</scope>
125 </dependency>
126
127 <dependency>
128 <groupId>ch.qos.logback</groupId>
129 <artifactId>logback-core</artifactId>
130 <version>0.9.6</version>
131 <scope>test</scope>
132 </dependency>
133
134 <dependency>
135 <groupId>ch.qos.logback</groupId>
136 <artifactId>logback-classic</artifactId>
137 <version>0.9.6</version>
138 <scope>test</scope>
139 </dependency>
140
141
142 <dependency>
143 <groupId>junit</groupId>
144 <artifactId>junit</artifactId>
145 <version>4.9</version>
146 <scope>test</scope>
147 </dependency>
148
149 <dependency>
150 <groupId>org.mockito</groupId>
151 <artifactId>mockito-all</artifactId>
152 <version>1.9.5</version>
153 </dependency>
154
155 <dependency>
156 <groupId>org.ops4j.pax.tinybundles</groupId>
157 <artifactId>tinybundles</artifactId>
158 <version>1.0.0</version>
159 </dependency>
160
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000161 <!-- The tiny bundle extension must be before the manipulator version
162 to use the right version of the manipulator -->
163 <dependency>
164 <groupId>org.ow2.chameleon.testing</groupId>
165 <artifactId>tinybundles-ipojo</artifactId>
166 <version>0.3.0</version>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000167 <scope>test</scope>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000168 </dependency>
169
Clement Escoffiere6986562013-02-22 18:55:31 +0000170 <!-- Define the tested version -->
171 <dependency>
172 <groupId>org.apache.felix</groupId>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000173 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffierec4c3eb2013-05-15 13:29:45 +0000174 <version>1.10.0</version>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000175 </dependency>
176
177 <dependency>
178 <groupId>org.apache.felix</groupId>
Clement Escoffiere6986562013-02-22 18:55:31 +0000179 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffierec4c3eb2013-05-15 13:29:45 +0000180 <version>1.8.6</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000181 </dependency>
182
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000183 <dependency>
184 <groupId>org.apache.felix</groupId>
185 <artifactId>org.apache.felix.ipojo.manipulator.online</artifactId>
Clement Escoffierec4c3eb2013-05-15 13:29:45 +0000186 <version>1.10.0</version>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000187 </dependency>
188
Clement Escoffiere6986562013-02-22 18:55:31 +0000189 <!-- End of tested version -->
190
191 <dependency>
192 <groupId>org.apache.felix</groupId>
193 <artifactId>org.apache.felix.configadmin</artifactId>
194 <version>1.6.0</version>
195 <scope>test</scope>
196 </dependency>
197
198 <dependency>
199 <groupId>commons-io</groupId>
200 <artifactId>commons-io</artifactId>
201 <version>2.4</version>
202 </dependency>
203
204 <dependency>
205 <groupId>org.ow2.chameleon.testing</groupId>
206 <artifactId>osgi-helpers</artifactId>
Clement Escoffierec4c3eb2013-05-15 13:29:45 +0000207 <version>0.6.1</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000208 <scope>test</scope>
209 </dependency>
210
211 <dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000212 <groupId>org.apache.felix</groupId>
213 <artifactId>org.apache.felix.log</artifactId>
214 <version>1.0.1</version>
215 </dependency>
216
217 <dependency>
218 <groupId>org.ops4j.pax.url</groupId>
219 <artifactId>pax-url-wrap</artifactId>
220 <version>1.5.2</version>
221 </dependency>
222 </dependencies>
223
224 <profiles>
225 <profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000226 <id>knopflerfish</id>
227 <activation>
228 <activeByDefault>false</activeByDefault>
229 <property>
230 <name>pax.exam.framework</name>
231 <value>knopflerfish</value>
232 </property>
233 </activation>
234 <properties>
235 <pax.exam.framework>knopflerfish</pax.exam.framework>
236 </properties>
237 <repositories>
238 <repository>
239 <id>knopflerfish-releases</id>
240 <url>http://www.knopflerfish.org/maven2</url>
241 </repository>
242 </repositories>
243 <dependencies>
244 <dependency>
245 <groupId>org.knopflerfish</groupId>
246 <artifactId>framework</artifactId>
247 <version>5.2.0</version>
248 <scope>test</scope>
249 </dependency>
250 </dependencies>
251 </profile>
252
253 <profile>
254 <id>equinox</id>
255 <activation>
256 <activeByDefault>false</activeByDefault>
257 <property>
258 <name>pax.exam.framework</name>
259 <value>equinox</value>
260 </property>
261 </activation>
262 <properties>
263 <pax.exam.framework>equinox</pax.exam.framework>
264 </properties>
265 <dependencies>
266 <dependency>
267 <groupId>org.eclipse.tycho</groupId>
268 <artifactId>org.eclipse.osgi</artifactId>
269 <version>3.8.1.v20120830-144521</version>
270 <scope>test</scope>
271 </dependency>
272 </dependencies>
273 </profile>
274
275 <profile>
276 <id>felix</id>
277 <activation>
278 <activeByDefault>false</activeByDefault>
279 <property>
280 <name>pax.exam.framework</name>
281 <value>felix</value>
282 </property>
283 </activation>
284 <properties>
285 <pax.exam.framework>felix</pax.exam.framework>
286 </properties>
287 <dependencies>
288 <dependency>
289 <groupId>org.apache.felix</groupId>
290 <artifactId>org.apache.felix.framework</artifactId>
291 <version>4.2.0</version>
292 <scope>test</scope>
293 </dependency>
294 </dependencies>
295 </profile>
296
297 <profile>
298 <id>test</id>
299 <activation>
300 <activeByDefault>true</activeByDefault>
301 </activation>
302 <build>
303 <plugins>
304 <plugin>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-invoker-plugin</artifactId>
307 <version>1.8</version>
308 <configuration>
309 <streamLogs>true</streamLogs>
310 <goals>
311 <goal>clean</goal>
312 <goal>test</goal>
313 </goals>
314 <cloneClean>true</cloneClean>
315 </configuration>
316 <executions>
317 <execution>
318 <id>regular</id>
319 <goals>
320 <goal>run</goal>
321 </goals>
322 <configuration>
323 <profiles>
324 <profile>felix</profile>
325 </profiles>
326 <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo>
327 </configuration>
328 </execution>
329 </executions>
330 </plugin>
331 </plugins>
332 </build>
333 </profile>
334
335 <profile>
336 <id>test-all</id>
337 <activation>
338 <activeByDefault>false</activeByDefault>
339 </activation>
340 <build>
341 <plugins>
342 <plugin>
343 <groupId>org.apache.maven.plugins</groupId>
344 <artifactId>maven-invoker-plugin</artifactId>
345 <version>1.8</version>
346 <configuration>
347 <streamLogs>true</streamLogs>
348 <goals>
349 <goal>clean</goal>
350 <goal>test</goal>
351 </goals>
352 <cloneClean>true</cloneClean>
353 </configuration>
354 <executions>
355 <execution>
356 <id>equinox-native</id>
357 <goals>
358 <goal>run</goal>
359 </goals>
360 <configuration>
361 <profiles>
362 <profile>equinox</profile>
363 </profiles>
364 <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo>
365
366 </configuration>
367 </execution>
368 <execution>
369 <id>felix-native</id>
370 <goals>
371 <goal>run</goal>
372 </goals>
373 <configuration>
374 <profiles>
375 <profile>felix</profile>
376 </profiles>
377 <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo>
378 </configuration>
379 </execution>
380 <execution>
381 <id>knopflerfish-native</id>
382 <goals>
383 <goal>run</goal>
384 </goals>
385 <configuration>
386 <profiles>
387 <profile>knopflerfish</profile>
388 </profiles>
389 <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo>
390 </configuration>
391 </execution>
392 </executions>
393 </plugin>
394 </plugins>
395 </build>
396 </profile>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000397
398 <profile>
399 <id>apache-release</id>
400 <build>
401 <plugins>
402 <plugin>
403 <artifactId>maven-assembly-plugin</artifactId>
404 <dependencies>
405 <dependency>
406 <groupId>org.apache.apache.resources</groupId>
407 <artifactId>apache-source-release-assembly-descriptor</artifactId>
408 <version>1.0.3</version>
409 </dependency>
410 </dependencies>
411 <executions>
412 <execution>
413 <id>source-release-assembly</id>
414 <phase>package</phase>
415 <goals>
416 <goal>single</goal>
417 </goals>
418 <configuration>
419 <runOnlyAtExecutionRoot>false</runOnlyAtExecutionRoot>
420 <descriptorRefs>
421 <descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef>
422 </descriptorRefs>
423 <tarLongFileMode>gnu</tarLongFileMode>
424 </configuration>
425 </execution>
426 </executions>
427 </plugin>
428 </plugins>
429 </build>
430 </profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000431 </profiles>
Clement Escoffierc8c8bf22013-05-03 07:28:42 +0000432
433 <repositories>
434 <!-- Temporal addition of this repository until the osgi-helper are released -->
435 <!-- TODO remove this before the release -->
436 <repository>
437 <id>ow2.snapshots</id>
438 <url>http://repository.ow2.org/nexus/content/repositories/snapshots/</url>
439 </repository>
440 </repositories>
Clement Escoffierec4c3eb2013-05-15 13:29:45 +0000441
442 <scm>
443 <connection>scm:svn:http://svn.apache.org/repos/asf/felix/releases/org.apache.felix.ipojo.manipulator-project-1.10.0/org.apache.felix.ipojo.manipulator.manipulator-it</connection>
444 <developerConnection>scm:svn:https://svn.apache.org/repos/asf/felix/releases/org.apache.felix.ipojo.manipulator-project-1.10.0/org.apache.felix.ipojo.manipulator.manipulator-it</developerConnection>
445 <url>http://svn.apache.org/viewvc/felix/releases/?root=Apache-SVN/org.apache.felix.ipojo.manipulator-project-1.10.0/org.apache.felix.ipojo.manipulator.manipulator-it</url>
446 </scm>
Clement Escoffiere6986562013-02-22 18:55:31 +0000447</project>