blob: c55a44203819b9d3dd2ab188951c67ae6435b176 [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>
Clement Escoffiered4ca022013-03-13 15:27:20 +000025 <version>2.1</version>
Clement Escoffiere6986562013-02-22 18:55:31 +000026 <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>
Clement Escoffiere6986562013-02-22 18:55:31 +000035 <plugins>
36 <plugin>
37 <groupId>org.apache.maven.plugins</groupId>
38 <artifactId>maven-compiler-plugin</artifactId>
39 <version>2.5.1</version>
40 <configuration>
41 <source>1.6</source>
42 <target>1.6</target>
43 </configuration>
44 </plugin>
45
46 <plugin>
47 <groupId>org.apache.servicemix.tooling</groupId>
48 <artifactId>depends-maven-plugin</artifactId>
49 <version>1.2</version>
50 <executions>
51 <execution>
52 <id>generate-config</id>
53 <goals>
54 <goal>generate-depends-file</goal>
55 </goals>
56 </execution>
57 </executions>
58 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +000059
60 <plugin>
61 <groupId>org.apache.rat</groupId>
62 <artifactId>apache-rat-plugin</artifactId>
63 <executions>
64 <execution>
65 <phase>verify</phase>
66 <goals>
67 <goal>check</goal>
68 </goals>
69 </execution>
70 </executions>
71 <configuration>
72 <!-- check src only (except remote resources additions) -->
73 <includes>
74 <include>src/**</include>
75 </includes>
76 <excludes>
77 <exclude>src/main/appended-resources/**</exclude>
78 <exclude>**/*.iml</exclude>
Clement Escoffier33660692013-04-12 05:48:29 +000079 <exclude>src/it/**/target/**</exclude>
Clement Escoffiered4ca022013-03-13 15:27:20 +000080 </excludes>
81 </configuration>
82 </plugin>
Clement Escoffiere6986562013-02-22 18:55:31 +000083 </plugins>
84
85 </build>
86
87 <properties>
88 <exam.version>3.0.0</exam.version>
89 <url.version>1.5.1</url.version>
90 </properties>
91
92 <dependencies>
93
94 <dependency>
95 <groupId>org.ops4j.pax.exam</groupId>
96 <artifactId>pax-exam-container-native</artifactId>
97 <version>${exam.version}</version>
98 <scope>test</scope>
99 </dependency>
100
101 <dependency>
102 <groupId>org.ops4j.pax.exam</groupId>
103 <artifactId>pax-exam-junit4</artifactId>
104 <version>${exam.version}</version>
105 <scope>test</scope>
106 </dependency>
107
108 <dependency>
109 <groupId>org.ops4j.pax.exam</groupId>
110 <artifactId>pax-exam-link-mvn</artifactId>
111 <version>${exam.version}</version>
112 <scope>test</scope>
113 </dependency>
114
115 <dependency>
116 <groupId>org.ops4j.pax.url</groupId>
117 <artifactId>pax-url-aether</artifactId>
118 <version>${url.version}</version>
119 <scope>test</scope>
120 </dependency>
121
122 <dependency>
123 <groupId>org.apache.felix</groupId>
124 <artifactId>org.apache.felix.framework</artifactId>
125 <version>4.2.0</version>
126 <scope>test</scope>
127 </dependency>
128
129 <dependency>
130 <groupId>ch.qos.logback</groupId>
131 <artifactId>logback-core</artifactId>
132 <version>0.9.6</version>
133 <scope>test</scope>
134 </dependency>
135
136 <dependency>
137 <groupId>ch.qos.logback</groupId>
138 <artifactId>logback-classic</artifactId>
139 <version>0.9.6</version>
140 <scope>test</scope>
141 </dependency>
142
143
144 <dependency>
145 <groupId>junit</groupId>
146 <artifactId>junit</artifactId>
147 <version>4.9</version>
148 <scope>test</scope>
149 </dependency>
150
151 <dependency>
152 <groupId>org.mockito</groupId>
153 <artifactId>mockito-all</artifactId>
154 <version>1.9.5</version>
155 </dependency>
156
157 <dependency>
158 <groupId>org.ops4j.pax.tinybundles</groupId>
159 <artifactId>tinybundles</artifactId>
160 <version>1.0.0</version>
161 </dependency>
162
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000163 <!-- The tiny bundle extension must be before the manipulator version
164 to use the right version of the manipulator -->
165 <dependency>
166 <groupId>org.ow2.chameleon.testing</groupId>
167 <artifactId>tinybundles-ipojo</artifactId>
168 <version>0.3.0</version>
169 </dependency>
170
Clement Escoffiere6986562013-02-22 18:55:31 +0000171 <!-- Define the tested version -->
172 <dependency>
173 <groupId>org.apache.felix</groupId>
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000174 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
175 <version>1.9.0-SNAPSHOT</version>
176 </dependency>
177
178 <dependency>
179 <groupId>org.apache.felix</groupId>
Clement Escoffiere6986562013-02-22 18:55:31 +0000180 <artifactId>org.apache.felix.ipojo</artifactId>
181 <version>1.9.0-SNAPSHOT</version>
182 </dependency>
183
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000184 <dependency>
185 <groupId>org.apache.felix</groupId>
186 <artifactId>org.apache.felix.ipojo.manipulator.online</artifactId>
187 <version>1.9.0-SNAPSHOT</version>
188 </dependency>
189
Clement Escoffiere6986562013-02-22 18:55:31 +0000190 <!-- End of tested version -->
191
192 <dependency>
193 <groupId>org.apache.felix</groupId>
194 <artifactId>org.apache.felix.configadmin</artifactId>
195 <version>1.6.0</version>
196 <scope>test</scope>
197 </dependency>
198
199 <dependency>
200 <groupId>commons-io</groupId>
201 <artifactId>commons-io</artifactId>
202 <version>2.4</version>
203 </dependency>
204
205 <dependency>
206 <groupId>org.ow2.chameleon.testing</groupId>
207 <artifactId>osgi-helpers</artifactId>
Clement Escoffierc8c8bf22013-05-03 07:28:42 +0000208 <version>0.6.1-SNAPSHOT</version>
Clement Escoffiere6986562013-02-22 18:55:31 +0000209 <scope>test</scope>
210 </dependency>
211
212 <dependency>
Clement Escoffiere6986562013-02-22 18:55:31 +0000213 <groupId>org.apache.felix</groupId>
214 <artifactId>org.apache.felix.log</artifactId>
215 <version>1.0.1</version>
216 </dependency>
217
218 <dependency>
219 <groupId>org.ops4j.pax.url</groupId>
220 <artifactId>pax-url-wrap</artifactId>
221 <version>1.5.2</version>
222 </dependency>
223 </dependencies>
224
225 <profiles>
226 <profile>
Clement Escoffiere6986562013-02-22 18:55:31 +0000227 <id>knopflerfish</id>
228 <activation>
229 <activeByDefault>false</activeByDefault>
230 <property>
231 <name>pax.exam.framework</name>
232 <value>knopflerfish</value>
233 </property>
234 </activation>
235 <properties>
236 <pax.exam.framework>knopflerfish</pax.exam.framework>
237 </properties>
238 <repositories>
239 <repository>
240 <id>knopflerfish-releases</id>
241 <url>http://www.knopflerfish.org/maven2</url>
242 </repository>
243 </repositories>
244 <dependencies>
245 <dependency>
246 <groupId>org.knopflerfish</groupId>
247 <artifactId>framework</artifactId>
248 <version>5.2.0</version>
249 <scope>test</scope>
250 </dependency>
251 </dependencies>
252 </profile>
253
254 <profile>
255 <id>equinox</id>
256 <activation>
257 <activeByDefault>false</activeByDefault>
258 <property>
259 <name>pax.exam.framework</name>
260 <value>equinox</value>
261 </property>
262 </activation>
263 <properties>
264 <pax.exam.framework>equinox</pax.exam.framework>
265 </properties>
266 <dependencies>
267 <dependency>
268 <groupId>org.eclipse.tycho</groupId>
269 <artifactId>org.eclipse.osgi</artifactId>
270 <version>3.8.1.v20120830-144521</version>
271 <scope>test</scope>
272 </dependency>
273 </dependencies>
274 </profile>
275
276 <profile>
277 <id>felix</id>
278 <activation>
279 <activeByDefault>false</activeByDefault>
280 <property>
281 <name>pax.exam.framework</name>
282 <value>felix</value>
283 </property>
284 </activation>
285 <properties>
286 <pax.exam.framework>felix</pax.exam.framework>
287 </properties>
288 <dependencies>
289 <dependency>
290 <groupId>org.apache.felix</groupId>
291 <artifactId>org.apache.felix.framework</artifactId>
292 <version>4.2.0</version>
293 <scope>test</scope>
294 </dependency>
295 </dependencies>
296 </profile>
297
298 <profile>
299 <id>test</id>
300 <activation>
301 <activeByDefault>true</activeByDefault>
302 </activation>
303 <build>
304 <plugins>
305 <plugin>
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-invoker-plugin</artifactId>
308 <version>1.8</version>
309 <configuration>
310 <streamLogs>true</streamLogs>
311 <goals>
312 <goal>clean</goal>
313 <goal>test</goal>
314 </goals>
315 <cloneClean>true</cloneClean>
316 </configuration>
317 <executions>
318 <execution>
319 <id>regular</id>
320 <goals>
321 <goal>run</goal>
322 </goals>
323 <configuration>
324 <profiles>
325 <profile>felix</profile>
326 </profiles>
327 <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo>
328 </configuration>
329 </execution>
330 </executions>
331 </plugin>
332 </plugins>
333 </build>
334 </profile>
335
336 <profile>
337 <id>test-all</id>
338 <activation>
339 <activeByDefault>false</activeByDefault>
340 </activation>
341 <build>
342 <plugins>
343 <plugin>
344 <groupId>org.apache.maven.plugins</groupId>
345 <artifactId>maven-invoker-plugin</artifactId>
346 <version>1.8</version>
347 <configuration>
348 <streamLogs>true</streamLogs>
349 <goals>
350 <goal>clean</goal>
351 <goal>test</goal>
352 </goals>
353 <cloneClean>true</cloneClean>
354 </configuration>
355 <executions>
356 <execution>
357 <id>equinox-native</id>
358 <goals>
359 <goal>run</goal>
360 </goals>
361 <configuration>
362 <profiles>
363 <profile>equinox</profile>
364 </profiles>
365 <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo>
366
367 </configuration>
368 </execution>
369 <execution>
370 <id>felix-native</id>
371 <goals>
372 <goal>run</goal>
373 </goals>
374 <configuration>
375 <profiles>
376 <profile>felix</profile>
377 </profiles>
378 <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo>
379 </configuration>
380 </execution>
381 <execution>
382 <id>knopflerfish-native</id>
383 <goals>
384 <goal>run</goal>
385 </goals>
386 <configuration>
387 <profiles>
388 <profile>knopflerfish</profile>
389 </profiles>
390 <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo>
391 </configuration>
392 </execution>
393 </executions>
394 </plugin>
395 </plugins>
396 </build>
397 </profile>
398 </profiles>
Clement Escoffierc8c8bf22013-05-03 07:28:42 +0000399
400 <repositories>
401 <!-- Temporal addition of this repository until the osgi-helper are released -->
402 <!-- TODO remove this before the release -->
403 <repository>
404 <id>ow2.snapshots</id>
405 <url>http://repository.ow2.org/nexus/content/repositories/snapshots/</url>
406 </repository>
407 </repositories>
Clement Escoffiere6986562013-02-22 18:55:31 +0000408</project>