blob: 184e811eccc06fa8775ebb2bd2a0f142f1aed80a [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>
183 <version>1.9.0-SNAPSHOT</version>
184 </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>
198 </dependency>
199
200 <dependency>
201 <groupId>commons-io</groupId>
202 <artifactId>commons-io</artifactId>
203 <version>2.4</version>
204 </dependency>
205
206 <dependency>
207 <groupId>org.ow2.chameleon.testing</groupId>
208 <artifactId>osgi-helpers</artifactId>
Clement Escoffier75bba6a2013-05-07 12:22:52 +0000209 <version>0.6.1-SNAPSHOT</version>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000210 <scope>test</scope>
211 </dependency>
212
213 <dependency>
214 <groupId>org.ow2.chameleon.testing</groupId>
215 <artifactId>tinybundles-ipojo</artifactId>
216 <version>0.3.0</version>
217 </dependency>
218
219 <dependency>
220 <groupId>org.apache.felix</groupId>
221 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
222 <!--
223 We use the released version as we don't really have to do any behavioral test on the handler in the core
224 test.
225 -->
226 <version>1.8.0</version>
227 </dependency>
228
229 <dependency>
230 <groupId>org.apache.felix</groupId>
231 <artifactId>org.apache.felix.log</artifactId>
232 <version>1.0.1</version>
233 </dependency>
234
235 <dependency>
236 <groupId>org.ops4j.pax.url</groupId>
237 <artifactId>pax-url-wrap</artifactId>
238 <version>1.5.2</version>
239 </dependency>
240 </dependencies>
241
242 <profiles>
243 <profile>
Clement Escoffierd7851eb2013-03-12 14:24:33 +0000244 <id>knopflerfish</id>
245 <activation>
246 <activeByDefault>false</activeByDefault>
247 <property>
248 <name>pax.exam.framework</name>
249 <value>knopflerfish</value>
250 </property>
251 </activation>
252 <properties>
253 <pax.exam.framework>knopflerfish</pax.exam.framework>
254 </properties>
255 <repositories>
256 <repository>
257 <id>knopflerfish-releases</id>
258 <url>http://www.knopflerfish.org/maven2</url>
259 </repository>
260 </repositories>
261 <dependencies>
262 <dependency>
263 <groupId>org.knopflerfish</groupId>
264 <artifactId>framework</artifactId>
265 <version>5.2.0</version>
266 <scope>test</scope>
267 </dependency>
268 </dependencies>
269 </profile>
270
271 <profile>
272 <id>equinox</id>
273 <activation>
274 <activeByDefault>false</activeByDefault>
275 <property>
276 <name>pax.exam.framework</name>
277 <value>equinox</value>
278 </property>
279 </activation>
280 <properties>
281 <pax.exam.framework>equinox</pax.exam.framework>
282 </properties>
283 <dependencies>
284 <dependency>
285 <groupId>org.eclipse.tycho</groupId>
286 <artifactId>org.eclipse.osgi</artifactId>
287 <version>3.8.1.v20120830-144521</version>
288 <scope>test</scope>
289 </dependency>
290 </dependencies>
291 </profile>
292
293 <profile>
294 <id>felix</id>
295 <activation>
296 <activeByDefault>false</activeByDefault>
297 <property>
298 <name>pax.exam.framework</name>
299 <value>felix</value>
300 </property>
301 </activation>
302 <properties>
303 <pax.exam.framework>felix</pax.exam.framework>
304 </properties>
305 <dependencies>
306 <dependency>
307 <groupId>org.apache.felix</groupId>
308 <artifactId>org.apache.felix.framework</artifactId>
309 <version>4.2.0</version>
310 <scope>test</scope>
311 </dependency>
312 </dependencies>
313 </profile>
314
315 <profile>
316 <id>test</id>
317 <activation>
318 <activeByDefault>true</activeByDefault>
319 </activation>
320 <build>
321 <plugins>
322 <plugin>
323 <groupId>org.apache.maven.plugins</groupId>
324 <artifactId>maven-invoker-plugin</artifactId>
325 <version>1.8</version>
326 <configuration>
327 <streamLogs>true</streamLogs>
328 <goals>
329 <goal>clean</goal>
330 <goal>test</goal>
331 </goals>
332 <cloneClean>true</cloneClean>
333 </configuration>
334 <executions>
335 <execution>
336 <id>regular</id>
337 <goals>
338 <goal>run</goal>
339 </goals>
340 <configuration>
341 <profiles>
342 <profile>felix</profile>
343 </profiles>
344 <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo>
345 </configuration>
346 </execution>
347 </executions>
348 </plugin>
349 </plugins>
350 </build>
351 </profile>
352
353 <profile>
354 <id>test-all</id>
355 <activation>
356 <activeByDefault>false</activeByDefault>
357 </activation>
358 <build>
359 <plugins>
360 <plugin>
361 <groupId>org.apache.maven.plugins</groupId>
362 <artifactId>maven-invoker-plugin</artifactId>
363 <version>1.8</version>
364 <configuration>
365 <streamLogs>true</streamLogs>
366 <goals>
367 <goal>clean</goal>
368 <goal>test</goal>
369 </goals>
370 <cloneClean>true</cloneClean>
371 </configuration>
372 <executions>
373 <execution>
374 <id>equinox-native</id>
375 <goals>
376 <goal>run</goal>
377 </goals>
378 <configuration>
379 <profiles>
380 <profile>equinox</profile>
381 </profiles>
382 <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo>
383
384 </configuration>
385 </execution>
386 <execution>
387 <id>felix-native</id>
388 <goals>
389 <goal>run</goal>
390 </goals>
391 <configuration>
392 <profiles>
393 <profile>felix</profile>
394 </profiles>
395 <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo>
396 </configuration>
397 </execution>
398 <execution>
399 <id>knopflerfish-native</id>
400 <goals>
401 <goal>run</goal>
402 </goals>
403 <configuration>
404 <profiles>
405 <profile>knopflerfish</profile>
406 </profiles>
407 <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo>
408 </configuration>
409 </execution>
410 </executions>
411 </plugin>
412 </plugins>
413 </build>
414 </profile>
415 </profiles>
416</project>