blob: 8797bcbba2f6607dccda0054a3194d2a59be8518 [file] [log] [blame]
Clement Escoffierd7851eb2013-03-12 14:24:33 +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 Escoffierd7851eb2013-03-12 14:24:33 +000026 <relativePath>../../../pom/pom.xml</relativePath>
27 </parent>
28 <modelVersion>4.0.0</modelVersion>
29 <artifactId>org.apache.felix.ipojo.runtime.api-it</artifactId>
30 <version>1.9.0-SNAPSHOT</version>
31 <name>Apache Felix iPOJO Runtime Project ~ API Integration Tests</name>
32 <packaging>pom</packaging>
33
34 <build>
Clement Escoffierd7851eb2013-03-12 14:24:33 +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> <!-- Exclude iml files -->
79 </excludes>
80 </configuration>
81 </plugin>
Clement Escoffierd7851eb2013-03-12 14:24:33 +000082 </plugins>
83
84 </build>
85
86 <properties>
Clement Escoffier5b5a0742013-03-17 19:47:43 +000087 <exam.version>3.0.0</exam.version>
Clement Escoffierd7851eb2013-03-12 14:24:33 +000088 <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
162 <dependency>
163 <groupId>org.apache.felix</groupId>
164 <artifactId>org.apache.felix.ipojo</artifactId>
165 <version>1.9.0-SNAPSHOT</version>
166 </dependency>
167
168 <dependency>
169 <groupId>org.apache.felix</groupId>
170 <artifactId>org.apache.felix.ipojo.api</artifactId>
171 <version>1.9.0-SNAPSHOT</version>
172 </dependency>
173
174 <dependency>
175 <groupId>org.apache.felix</groupId>
176 <artifactId>org.apache.felix.ipojo.composite</artifactId>
177 <version>1.9.0-SNAPSHOT</version>
178 </dependency>
179
180 <dependency>
181 <groupId>org.apache.felix</groupId>
182 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffier9888f532013-05-15 13:58:22 +0000183 <version>1.10.0</version>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000184 </dependency>
185
186 <dependency>
187 <groupId>org.apache.felix</groupId>
188 <artifactId>org.apache.felix.configadmin</artifactId>
189 <version>1.6.0</version>
190 <scope>test</scope>
191 </dependency>
192
193 <dependency>
194 <groupId>org.apache.felix</groupId>
195 <artifactId>org.apache.felix.ipojo.handler.whiteboard</artifactId>
196 <version>1.4.0</version>
197 <scope>test</scope>
Clement Escoffiercfae7912013-05-08 16:51:29 +0000198 <exclusions>
199 <exclusion>
200 <groupId>org.apache.felix</groupId>
201 <artifactId>org.osgi.core</artifactId>
202 </exclusion>
203 </exclusions>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000204 </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 Escoffier75bba6a2013-05-07 12:22:52 +0000215 <version>0.6.1-SNAPSHOT</version>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000216 <scope>test</scope>
217 </dependency>
218
219 <dependency>
220 <groupId>org.ow2.chameleon.testing</groupId>
221 <artifactId>tinybundles-ipojo</artifactId>
222 <version>0.3.0</version>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000223 <scope>test</scope>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000224 </dependency>
225
226 <dependency>
227 <groupId>org.apache.felix</groupId>
228 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
229 <!--
230 We use the released version as we don't really have to do any behavioral test on the handler in the core
231 test.
232 -->
233 <version>1.8.0</version>
234 </dependency>
235
236 <dependency>
237 <groupId>org.apache.felix</groupId>
238 <artifactId>org.apache.felix.log</artifactId>
239 <version>1.0.1</version>
240 </dependency>
241
242 <dependency>
243 <groupId>org.ops4j.pax.url</groupId>
244 <artifactId>pax-url-wrap</artifactId>
245 <version>1.5.2</version>
246 </dependency>
247 </dependencies>
248
249 <profiles>
250 <profile>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000251 <id>knopflerfish</id>
252 <activation>
253 <activeByDefault>false</activeByDefault>
254 <property>
255 <name>pax.exam.framework</name>
256 <value>knopflerfish</value>
257 </property>
258 </activation>
259 <properties>
260 <pax.exam.framework>knopflerfish</pax.exam.framework>
261 </properties>
262 <repositories>
263 <repository>
264 <id>knopflerfish-releases</id>
265 <url>http://www.knopflerfish.org/maven2</url>
266 </repository>
267 </repositories>
268 <dependencies>
269 <dependency>
270 <groupId>org.knopflerfish</groupId>
271 <artifactId>framework</artifactId>
272 <version>5.2.0</version>
273 <scope>test</scope>
274 </dependency>
275 </dependencies>
276 </profile>
277
278 <profile>
279 <id>equinox</id>
280 <activation>
281 <activeByDefault>false</activeByDefault>
282 <property>
283 <name>pax.exam.framework</name>
284 <value>equinox</value>
285 </property>
286 </activation>
287 <properties>
288 <pax.exam.framework>equinox</pax.exam.framework>
289 </properties>
290 <dependencies>
291 <dependency>
292 <groupId>org.eclipse.tycho</groupId>
293 <artifactId>org.eclipse.osgi</artifactId>
294 <version>3.8.1.v20120830-144521</version>
295 <scope>test</scope>
296 </dependency>
297 </dependencies>
298 </profile>
299
300 <profile>
301 <id>felix</id>
302 <activation>
303 <activeByDefault>false</activeByDefault>
304 <property>
305 <name>pax.exam.framework</name>
306 <value>felix</value>
307 </property>
308 </activation>
309 <properties>
310 <pax.exam.framework>felix</pax.exam.framework>
311 </properties>
312 <dependencies>
313 <dependency>
314 <groupId>org.apache.felix</groupId>
315 <artifactId>org.apache.felix.framework</artifactId>
316 <version>4.2.0</version>
317 <scope>test</scope>
318 </dependency>
319 </dependencies>
320 </profile>
321
322 <profile>
323 <id>test</id>
324 <activation>
325 <activeByDefault>true</activeByDefault>
326 </activation>
327 <build>
328 <plugins>
329 <plugin>
330 <groupId>org.apache.maven.plugins</groupId>
331 <artifactId>maven-invoker-plugin</artifactId>
332 <version>1.8</version>
333 <configuration>
334 <streamLogs>true</streamLogs>
335 <goals>
336 <goal>clean</goal>
337 <goal>test</goal>
338 </goals>
339 <cloneClean>true</cloneClean>
340 </configuration>
341 <executions>
342 <execution>
343 <id>regular</id>
344 <goals>
345 <goal>run</goal>
346 </goals>
347 <configuration>
348 <profiles>
349 <profile>felix</profile>
350 </profiles>
351 <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo>
352 </configuration>
353 </execution>
354 </executions>
355 </plugin>
356 </plugins>
357 </build>
358 </profile>
359
360 <profile>
361 <id>test-all</id>
362 <activation>
363 <activeByDefault>false</activeByDefault>
364 </activation>
365 <build>
366 <plugins>
367 <plugin>
368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-invoker-plugin</artifactId>
370 <version>1.8</version>
371 <configuration>
372 <streamLogs>true</streamLogs>
373 <goals>
374 <goal>clean</goal>
375 <goal>test</goal>
376 </goals>
377 <cloneClean>true</cloneClean>
378 </configuration>
379 <executions>
380 <execution>
381 <id>equinox-native</id>
382 <goals>
383 <goal>run</goal>
384 </goals>
385 <configuration>
386 <profiles>
387 <profile>equinox</profile>
388 </profiles>
389 <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo>
390
391 </configuration>
392 </execution>
393 <execution>
394 <id>felix-native</id>
395 <goals>
396 <goal>run</goal>
397 </goals>
398 <configuration>
399 <profiles>
400 <profile>felix</profile>
401 </profiles>
402 <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo>
403 </configuration>
404 </execution>
405 <execution>
406 <id>knopflerfish-native</id>
407 <goals>
408 <goal>run</goal>
409 </goals>
410 <configuration>
411 <profiles>
412 <profile>knopflerfish</profile>
413 </profiles>
414 <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo>
415 </configuration>
416 </execution>
417 </executions>
418 </plugin>
419 </plugins>
420 </build>
421 </profile>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000422
423 <profile>
424 <id>apache-release</id>
425 <build>
426 <plugins>
427 <plugin>
428 <artifactId>maven-assembly-plugin</artifactId>
429 <dependencies>
430 <dependency>
431 <groupId>org.apache.apache.resources</groupId>
432 <artifactId>apache-source-release-assembly-descriptor</artifactId>
433 <version>1.0.3</version>
434 </dependency>
435 </dependencies>
436 <executions>
437 <execution>
438 <id>source-release-assembly</id>
439 <phase>package</phase>
440 <goals>
441 <goal>single</goal>
442 </goals>
443 <configuration>
444 <runOnlyAtExecutionRoot>false</runOnlyAtExecutionRoot>
445 <descriptorRefs>
446 <descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef>
447 </descriptorRefs>
448 <tarLongFileMode>gnu</tarLongFileMode>
449 </configuration>
450 </execution>
451 </executions>
452 </plugin>
453 </plugins>
454 </build>
455 </profile>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000456 </profiles>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000457</project>