blob: f0a7f4a2c4f13103682aa83a53f056ae6ad16d58 [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>
79 </excludes>
80 </configuration>
81 </plugin>
Clement Escoffiere6986562013-02-22 18:55:31 +000082 </plugins>
83
84 </build>
85
86 <properties>
87 <exam.version>3.0.0</exam.version>
88 <url.version>1.5.1</url.version>
89 </properties>
90
91 <dependencies>
92
93 <dependency>
94 <groupId>org.ops4j.pax.exam</groupId>
95 <artifactId>pax-exam-container-native</artifactId>
96 <version>${exam.version}</version>
97 <scope>test</scope>
98 </dependency>
99
100 <dependency>
101 <groupId>org.ops4j.pax.exam</groupId>
102 <artifactId>pax-exam-junit4</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-link-mvn</artifactId>
110 <version>${exam.version}</version>
111 <scope>test</scope>
112 </dependency>
113
114 <dependency>
115 <groupId>org.ops4j.pax.url</groupId>
116 <artifactId>pax-url-aether</artifactId>
117 <version>${url.version}</version>
118 <scope>test</scope>
119 </dependency>
120
121 <dependency>
122 <groupId>org.apache.felix</groupId>
123 <artifactId>org.apache.felix.framework</artifactId>
124 <version>4.2.0</version>
125 <scope>test</scope>
126 </dependency>
127
128 <dependency>
129 <groupId>ch.qos.logback</groupId>
130 <artifactId>logback-core</artifactId>
131 <version>0.9.6</version>
132 <scope>test</scope>
133 </dependency>
134
135 <dependency>
136 <groupId>ch.qos.logback</groupId>
137 <artifactId>logback-classic</artifactId>
138 <version>0.9.6</version>
139 <scope>test</scope>
140 </dependency>
141
142
143 <dependency>
144 <groupId>junit</groupId>
145 <artifactId>junit</artifactId>
146 <version>4.9</version>
147 <scope>test</scope>
148 </dependency>
149
150 <dependency>
151 <groupId>org.mockito</groupId>
152 <artifactId>mockito-all</artifactId>
153 <version>1.9.5</version>
154 </dependency>
155
156 <dependency>
157 <groupId>org.ops4j.pax.tinybundles</groupId>
158 <artifactId>tinybundles</artifactId>
159 <version>1.0.0</version>
160 </dependency>
161
Clement Escoffier8c127ac2013-03-09 09:06:29 +0000162 <!-- The tiny bundle extension must be before the manipulator version
163 to use the right version of the manipulator -->
164 <dependency>
165 <groupId>org.ow2.chameleon.testing</groupId>
166 <artifactId>tinybundles-ipojo</artifactId>
167 <version>0.3.0</version>
168 </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>
174 <version>1.9.0-SNAPSHOT</version>
175 </dependency>
176
177 <dependency>
178 <groupId>org.apache.felix</groupId>
Clement Escoffiere6986562013-02-22 18:55:31 +0000179 <artifactId>org.apache.felix.ipojo</artifactId>
180 <version>1.9.0-SNAPSHOT</version>
181 </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>
186 <version>1.9.0-SNAPSHOT</version>
187 </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>
207 <version>0.6.0</version>
208 <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>
397 </profiles>
398</project>