blob: f90c2291d2e32f7b1c02ef3f0ead0aa1274e791e [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-->
Clement Escoffierab397832013-05-15 15:43:05 +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 Escoffierd7851eb2013-03-12 14:24:33 +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 Escoffierd7851eb2013-03-12 14:24:33 +000024 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <artifactId>org.apache.felix.ipojo.runtime.api-it</artifactId>
Clement Escoffiera5649bd2013-05-15 15:43:37 +000028 <version>1.10.1-SNAPSHOT</version>
Clement Escoffierd7851eb2013-03-12 14:24:33 +000029 <name>Apache Felix iPOJO Runtime Project ~ API Integration Tests</name>
30 <packaging>pom</packaging>
31
32 <build>
Clement Escoffierd7851eb2013-03-12 14:24:33 +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> <!-- Exclude iml files -->
77 </excludes>
78 </configuration>
79 </plugin>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +000080
81 <plugin>
82 <artifactId>maven-deploy-plugin</artifactId>
83 <version>2.4</version>
84 <configuration>
85 <skip>true</skip>
86 </configuration>
87 </plugin>
Clement Escoffierd7851eb2013-03-12 14:24:33 +000088 </plugins>
89
90 </build>
91
92 <properties>
Clement Escoffier5b5a0742013-03-17 19:47:43 +000093 <exam.version>3.0.0</exam.version>
Clement Escoffierd7851eb2013-03-12 14:24:33 +000094 <url.version>1.5.1</url.version>
95 </properties>
96
97 <dependencies>
98
99 <dependency>
100 <groupId>org.ops4j.pax.exam</groupId>
101 <artifactId>pax-exam-container-native</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-junit4</artifactId>
109 <version>${exam.version}</version>
110 <scope>test</scope>
111 </dependency>
112
113 <dependency>
114 <groupId>org.ops4j.pax.exam</groupId>
115 <artifactId>pax-exam-link-mvn</artifactId>
116 <version>${exam.version}</version>
117 <scope>test</scope>
118 </dependency>
119
120 <dependency>
121 <groupId>org.ops4j.pax.url</groupId>
122 <artifactId>pax-url-aether</artifactId>
123 <version>${url.version}</version>
124 <scope>test</scope>
125 </dependency>
126
127 <dependency>
128 <groupId>org.apache.felix</groupId>
129 <artifactId>org.apache.felix.framework</artifactId>
130 <version>4.2.0</version>
131 <scope>test</scope>
132 </dependency>
133
134 <dependency>
135 <groupId>ch.qos.logback</groupId>
136 <artifactId>logback-core</artifactId>
137 <version>0.9.6</version>
138 <scope>test</scope>
139 </dependency>
140
141 <dependency>
142 <groupId>ch.qos.logback</groupId>
143 <artifactId>logback-classic</artifactId>
144 <version>0.9.6</version>
145 <scope>test</scope>
146 </dependency>
147
148
149 <dependency>
150 <groupId>junit</groupId>
151 <artifactId>junit</artifactId>
152 <version>4.9</version>
153 <scope>test</scope>
154 </dependency>
155
156 <dependency>
157 <groupId>org.mockito</groupId>
158 <artifactId>mockito-all</artifactId>
159 <version>1.9.5</version>
160 </dependency>
161
162 <dependency>
163 <groupId>org.ops4j.pax.tinybundles</groupId>
164 <artifactId>tinybundles</artifactId>
165 <version>1.0.0</version>
166 </dependency>
167
168 <dependency>
169 <groupId>org.apache.felix</groupId>
170 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffiera5649bd2013-05-15 15:43:37 +0000171 <version>1.10.1-SNAPSHOT</version>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000172 </dependency>
173
174 <dependency>
175 <groupId>org.apache.felix</groupId>
176 <artifactId>org.apache.felix.ipojo.api</artifactId>
Clement Escoffiera5649bd2013-05-15 15:43:37 +0000177 <version>1.10.1-SNAPSHOT</version>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000178 </dependency>
179
180 <dependency>
181 <groupId>org.apache.felix</groupId>
182 <artifactId>org.apache.felix.ipojo.composite</artifactId>
Clement Escoffiera5649bd2013-05-15 15:43:37 +0000183 <version>1.10.1-SNAPSHOT</version>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000184 </dependency>
185
186 <dependency>
187 <groupId>org.apache.felix</groupId>
188 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffierc34ba5c2013-05-16 08:12:53 +0000189 <version>1.10.1-SNAPSHOT</version>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000190 </dependency>
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>org.apache.felix</groupId>
201 <artifactId>org.apache.felix.ipojo.handler.whiteboard</artifactId>
202 <version>1.4.0</version>
203 <scope>test</scope>
Clement Escoffiercfae7912013-05-08 16:51:29 +0000204 <exclusions>
205 <exclusion>
206 <groupId>org.apache.felix</groupId>
207 <artifactId>org.osgi.core</artifactId>
208 </exclusion>
209 </exclusions>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000210 </dependency>
211
212 <dependency>
213 <groupId>commons-io</groupId>
214 <artifactId>commons-io</artifactId>
215 <version>2.4</version>
216 </dependency>
217
218 <dependency>
219 <groupId>org.ow2.chameleon.testing</groupId>
220 <artifactId>osgi-helpers</artifactId>
Clement Escoffierab397832013-05-15 15:43:05 +0000221 <version>0.6.1</version>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000222 <scope>test</scope>
223 </dependency>
224
225 <dependency>
226 <groupId>org.ow2.chameleon.testing</groupId>
227 <artifactId>tinybundles-ipojo</artifactId>
228 <version>0.3.0</version>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000229 <scope>test</scope>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000230 </dependency>
231
232 <dependency>
233 <groupId>org.apache.felix</groupId>
234 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
235 <!--
236 We use the released version as we don't really have to do any behavioral test on the handler in the core
237 test.
238 -->
239 <version>1.8.0</version>
240 </dependency>
241
242 <dependency>
243 <groupId>org.apache.felix</groupId>
244 <artifactId>org.apache.felix.log</artifactId>
245 <version>1.0.1</version>
246 </dependency>
247
248 <dependency>
249 <groupId>org.ops4j.pax.url</groupId>
250 <artifactId>pax-url-wrap</artifactId>
251 <version>1.5.2</version>
252 </dependency>
253 </dependencies>
254
255 <profiles>
256 <profile>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000257 <id>knopflerfish</id>
258 <activation>
259 <activeByDefault>false</activeByDefault>
260 <property>
261 <name>pax.exam.framework</name>
262 <value>knopflerfish</value>
263 </property>
264 </activation>
265 <properties>
266 <pax.exam.framework>knopflerfish</pax.exam.framework>
267 </properties>
268 <repositories>
269 <repository>
270 <id>knopflerfish-releases</id>
271 <url>http://www.knopflerfish.org/maven2</url>
272 </repository>
273 </repositories>
274 <dependencies>
275 <dependency>
276 <groupId>org.knopflerfish</groupId>
277 <artifactId>framework</artifactId>
278 <version>5.2.0</version>
279 <scope>test</scope>
280 </dependency>
281 </dependencies>
282 </profile>
283
284 <profile>
285 <id>equinox</id>
286 <activation>
287 <activeByDefault>false</activeByDefault>
288 <property>
289 <name>pax.exam.framework</name>
290 <value>equinox</value>
291 </property>
292 </activation>
293 <properties>
294 <pax.exam.framework>equinox</pax.exam.framework>
295 </properties>
296 <dependencies>
297 <dependency>
298 <groupId>org.eclipse.tycho</groupId>
299 <artifactId>org.eclipse.osgi</artifactId>
300 <version>3.8.1.v20120830-144521</version>
301 <scope>test</scope>
302 </dependency>
303 </dependencies>
304 </profile>
305
306 <profile>
307 <id>felix</id>
308 <activation>
309 <activeByDefault>false</activeByDefault>
310 <property>
311 <name>pax.exam.framework</name>
312 <value>felix</value>
313 </property>
314 </activation>
315 <properties>
316 <pax.exam.framework>felix</pax.exam.framework>
317 </properties>
318 <dependencies>
319 <dependency>
320 <groupId>org.apache.felix</groupId>
321 <artifactId>org.apache.felix.framework</artifactId>
322 <version>4.2.0</version>
323 <scope>test</scope>
324 </dependency>
325 </dependencies>
326 </profile>
327
328 <profile>
329 <id>test</id>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000330 <build>
331 <plugins>
332 <plugin>
333 <groupId>org.apache.maven.plugins</groupId>
334 <artifactId>maven-invoker-plugin</artifactId>
335 <version>1.8</version>
336 <configuration>
337 <streamLogs>true</streamLogs>
338 <goals>
339 <goal>clean</goal>
340 <goal>test</goal>
341 </goals>
342 <cloneClean>true</cloneClean>
343 </configuration>
344 <executions>
345 <execution>
346 <id>regular</id>
347 <goals>
348 <goal>run</goal>
349 </goals>
350 <configuration>
351 <profiles>
352 <profile>felix</profile>
353 </profiles>
354 <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo>
355 </configuration>
356 </execution>
357 </executions>
358 </plugin>
359 </plugins>
360 </build>
361 </profile>
362
363 <profile>
364 <id>test-all</id>
365 <activation>
366 <activeByDefault>false</activeByDefault>
367 </activation>
368 <build>
369 <plugins>
370 <plugin>
371 <groupId>org.apache.maven.plugins</groupId>
372 <artifactId>maven-invoker-plugin</artifactId>
373 <version>1.8</version>
374 <configuration>
375 <streamLogs>true</streamLogs>
376 <goals>
377 <goal>clean</goal>
378 <goal>test</goal>
379 </goals>
380 <cloneClean>true</cloneClean>
381 </configuration>
382 <executions>
383 <execution>
384 <id>equinox-native</id>
385 <goals>
386 <goal>run</goal>
387 </goals>
388 <configuration>
389 <profiles>
390 <profile>equinox</profile>
391 </profiles>
392 <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo>
393
394 </configuration>
395 </execution>
396 <execution>
397 <id>felix-native</id>
398 <goals>
399 <goal>run</goal>
400 </goals>
401 <configuration>
402 <profiles>
403 <profile>felix</profile>
404 </profiles>
405 <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo>
406 </configuration>
407 </execution>
408 <execution>
409 <id>knopflerfish-native</id>
410 <goals>
411 <goal>run</goal>
412 </goals>
413 <configuration>
414 <profiles>
415 <profile>knopflerfish</profile>
416 </profiles>
417 <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo>
418 </configuration>
419 </execution>
420 </executions>
421 </plugin>
422 </plugins>
423 </build>
424 </profile>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000425
426 <profile>
427 <id>apache-release</id>
428 <build>
429 <plugins>
430 <plugin>
431 <artifactId>maven-assembly-plugin</artifactId>
432 <dependencies>
433 <dependency>
434 <groupId>org.apache.apache.resources</groupId>
435 <artifactId>apache-source-release-assembly-descriptor</artifactId>
436 <version>1.0.3</version>
437 </dependency>
438 </dependencies>
439 <executions>
440 <execution>
441 <id>source-release-assembly</id>
442 <phase>package</phase>
443 <goals>
444 <goal>single</goal>
445 </goals>
446 <configuration>
447 <runOnlyAtExecutionRoot>false</runOnlyAtExecutionRoot>
448 <descriptorRefs>
449 <descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef>
450 </descriptorRefs>
451 <tarLongFileMode>gnu</tarLongFileMode>
452 </configuration>
453 </execution>
454 </executions>
455 </plugin>
456 </plugins>
457 </build>
458 </profile>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000459 </profiles>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000460</project>