blob: ca8f175603fed4dfe0f3f4adc08f7998ef652d39 [file] [log] [blame]
Clement Escoffiera7b8f7d2013-02-28 10:27:21 +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="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21 <parent>
22 <groupId>org.apache.felix</groupId>
23 <artifactId>felix-parent</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000024 <version>2.1</version>
Clement Escoffiera7b8f7d2013-02-28 10:27:21 +000025 <relativePath>../../../../pom/pom.xml</relativePath>
26 </parent>
27
28 <modelVersion>4.0.0</modelVersion>
29 <packaging>pom</packaging>
30 <name>Apache Felix iPOJO Temporal Dependency Handler - Integration Test</name>
31 <artifactId>org.apache.felix.ipojo.handler.temporal-it</artifactId>
32 <version>1.7.0-SNAPSHOT</version>
33
34 <properties>
35 <exam.version>3.0.0</exam.version>
36 <url.version>1.5.1</url.version>
37 </properties>
38
39 <dependencies>
40
41 <dependency>
42 <groupId>org.apache.felix</groupId>
43 <artifactId>org.apache.felix.ipojo.handler.temporal</artifactId>
44 <version>${project.version}</version>
45 <!--
46 The event admin handler depends on an older version of the compendium and core, to avoid issue during
47 tests, we must exclude those artifacts and trust the framework to provide the right / compatible
48 version
49 -->
50 <exclusions>
51 <exclusion>
52 <groupId>org.osgi</groupId>
53 <artifactId>org.osgi.compendium</artifactId>
54 </exclusion>
55 <exclusion>
56 <groupId>org.osgi</groupId>
57 <artifactId>org.osgi.core</artifactId>
58 </exclusion>
59 <exclusion>
60 <groupId>org.apache.felix</groupId>
61 <artifactId>org.apache.felix.ipojo</artifactId>
62 </exclusion>
63 </exclusions>
64 </dependency>
65
66 <dependency>
67 <groupId>org.apache.felix</groupId>
68 <artifactId>org.apache.felix.framework</artifactId>
69 <version>4.2.0</version>
70 <scope>test</scope>
71 </dependency>
72
73
74 <dependency>
75 <groupId>org.apache.felix</groupId>
76 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier2441c682013-09-03 09:19:52 +000077 <version>1.10.1</version>
Clement Escoffiera7b8f7d2013-02-28 10:27:21 +000078 <scope>test</scope>
79 </dependency>
80
81 <dependency>
82 <groupId>org.ops4j.pax.exam</groupId>
83 <artifactId>pax-exam-container-native</artifactId>
84 <version>${exam.version}</version>
85 <scope>test</scope>
86 </dependency>
87
88 <dependency>
89 <groupId>org.ops4j.pax.exam</groupId>
90 <artifactId>pax-exam-junit4</artifactId>
91 <version>${exam.version}</version>
92 <scope>test</scope>
93 </dependency>
94
95 <dependency>
96 <groupId>org.ops4j.pax.exam</groupId>
97 <artifactId>pax-exam-link-mvn</artifactId>
98 <version>${exam.version}</version>
99 <scope>test</scope>
100 </dependency>
101
102 <dependency>
103 <groupId>org.ops4j.pax.url</groupId>
104 <artifactId>pax-url-aether</artifactId>
105 <version>${url.version}</version>
106 <scope>test</scope>
107 </dependency>
108
109
110 <dependency>
111 <groupId>ch.qos.logback</groupId>
112 <artifactId>logback-core</artifactId>
113 <version>0.9.20</version>
114 <scope>test</scope>
115 </dependency>
116
117 <dependency>
118 <groupId>ch.qos.logback</groupId>
119 <artifactId>logback-classic</artifactId>
120 <version>0.9.20</version>
121 <scope>test</scope>
122 </dependency>
123
124
125 <dependency>
126 <groupId>org.ops4j.pax.tinybundles</groupId>
127 <artifactId>tinybundles</artifactId>
128 <version>1.0.0</version>
129 <scope>test</scope>
130 </dependency>
131
132 <dependency>
133 <groupId>commons-io</groupId>
134 <artifactId>commons-io</artifactId>
135 <version>2.4</version>
136 </dependency>
137
138 <dependency>
139 <groupId>org.ow2.chameleon.testing</groupId>
140 <artifactId>osgi-helpers</artifactId>
Clement Escoffier2441c682013-09-03 09:19:52 +0000141 <version>0.6.1</version>
Clement Escoffiera7b8f7d2013-02-28 10:27:21 +0000142 </dependency>
143
144 <dependency>
145 <groupId>org.ow2.chameleon.testing</groupId>
146 <artifactId>tinybundles-ipojo</artifactId>
147 <version>0.3.0</version>
148 </dependency>
149
150 <dependency>
151 <groupId>junit</groupId>
152 <artifactId>junit</artifactId>
153 <version>4.9</version>
154 <scope>test</scope>
155 </dependency>
156
157 <dependency>
158 <groupId>org.ops4j.pax.url</groupId>
159 <artifactId>pax-url-wrap</artifactId>
160 <version>1.5.2</version>
161 </dependency>
162 </dependencies>
163
164 <build>
165 <plugins>
166 <plugin>
167 <groupId>org.apache.servicemix.tooling</groupId>
168 <artifactId>depends-maven-plugin</artifactId>
169 <version>1.2</version>
170 <executions>
171 <execution>
172 <id>generate-config</id>
173 <goals>
174 <goal>generate-depends-file</goal>
175 </goals>
176 </execution>
177 </executions>
178 </plugin>
179
180 <plugin>
181 <groupId>org.apache.maven.plugins</groupId>
182 <artifactId>maven-compiler-plugin</artifactId>
183 <version>2.5.1</version>
184 <configuration>
185 <source>1.6</source>
186 <target>1.6</target>
187 </configuration>
188 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000189
190 <plugin>
191 <groupId>org.apache.rat</groupId>
192 <artifactId>apache-rat-plugin</artifactId>
193 <executions>
194 <execution>
195 <phase>verify</phase>
196 <goals>
197 <goal>check</goal>
198 </goals>
199 </execution>
200 </executions>
201 <configuration>
202 <!-- check src only (except remote resources additions) -->
203 <includes>
204 <include>src/**</include>
205 </includes>
206 <excludes>
207 <exclude>src/main/appended-resources/**</exclude>
208 <exclude>**/*.iml</exclude> <!-- Exclude iml files -->
209 </excludes>
210 </configuration>
211 </plugin>
Clement Escoffiera7b8f7d2013-02-28 10:27:21 +0000212 </plugins>
213 </build>
214
215 <profiles>
216 <profile>
217 <id>test</id>
218 <activation>
219 <activeByDefault>true</activeByDefault>
220 </activation>
221 <build>
222 <plugins>
223 <plugin>
224 <groupId>org.apache.maven.plugins</groupId>
225 <artifactId>maven-invoker-plugin</artifactId>
226 <version>1.8</version>
227 <configuration>
228 <streamLogs>true</streamLogs>
229 <goals>
230 <goal>clean</goal>
231 <goal>test</goal>
232 </goals>
233 <cloneClean>true</cloneClean>
234 </configuration>
235 <executions>
236 <execution>
237 <id>regular</id>
238 <goals>
239 <goal>run</goal>
240 </goals>
241 <configuration>
242 <profiles>
243 <profile>felix</profile>
244 </profiles>
245 <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo>
246 </configuration>
247 </execution>
248 </executions>
249 </plugin>
250 </plugins>
251 </build>
252 </profile>
253
254 <profile>
255 <id>test-all</id>
256 <activation>
257 <activeByDefault>false</activeByDefault>
258 </activation>
259 <build>
260 <plugins>
261 <plugin>
262 <groupId>org.apache.maven.plugins</groupId>
263 <artifactId>maven-invoker-plugin</artifactId>
264 <version>1.8</version>
265 <configuration>
266 <streamLogs>true</streamLogs>
267 <goals>
268 <goal>clean</goal>
269 <goal>test</goal>
270 </goals>
271 <cloneClean>true</cloneClean>
272 </configuration>
273 <executions>
274 <execution>
275 <id>equinox-native</id>
276 <goals>
277 <goal>run</goal>
278 </goals>
279 <configuration>
280 <profiles>
281 <profile>equinox</profile>
282 </profiles>
283 <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo>
284
285 </configuration>
286 </execution>
287 <execution>
288 <id>felix-native</id>
289 <goals>
290 <goal>run</goal>
291 </goals>
292 <configuration>
293 <profiles>
294 <profile>felix</profile>
295 </profiles>
296 <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo>
297 </configuration>
298 </execution>
299 <execution>
300 <id>knopflerfish-native</id>
301 <goals>
302 <goal>run</goal>
303 </goals>
304 <configuration>
305 <profiles>
306 <profile>knopflerfish</profile>
307 </profiles>
308 <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo>
309 </configuration>
310 </execution>
311 </executions>
312 </plugin>
313 </plugins>
314 </build>
315 </profile>
316
317 <profile>
318 <id>knopflerfish</id>
319 <activation>
320 <activeByDefault>false</activeByDefault>
321 <property>
322 <name>pax.exam.framework</name>
323 <value>knopflerfish</value>
324 </property>
325 </activation>
326 <properties>
327 <pax.exam.framework>knopflerfish</pax.exam.framework>
328 </properties>
329 <repositories>
330 <repository>
331 <id>knopflerfish-releases</id>
332 <url>http://www.knopflerfish.org/maven2</url>
333 </repository>
334 </repositories>
335 <dependencies>
336 <dependency>
337 <groupId>org.knopflerfish</groupId>
338 <artifactId>framework</artifactId>
339 <version>5.2.0</version>
340 <scope>test</scope>
341 </dependency>
342 </dependencies>
343 </profile>
344
345 <profile>
346 <id>equinox</id>
347 <activation>
348 <activeByDefault>false</activeByDefault>
349 <property>
350 <name>pax.exam.framework</name>
351 <value>equinox</value>
352 </property>
353 </activation>
354 <properties>
355 <pax.exam.framework>equinox</pax.exam.framework>
356 </properties>
357 <dependencies>
358 <dependency>
359 <groupId>org.eclipse.tycho</groupId>
360 <artifactId>org.eclipse.osgi</artifactId>
361 <version>3.8.1.v20120830-144521</version>
362 <scope>test</scope>
363 </dependency>
364 </dependencies>
365 </profile>
366
367 <profile>
368 <id>felix</id>
369 <activation>
370 <activeByDefault>false</activeByDefault>
371 <property>
372 <name>pax.exam.framework</name>
373 <value>felix</value>
374 </property>
375 </activation>
376 <properties>
377 <pax.exam.framework>felix</pax.exam.framework>
378 </properties>
379 <dependencies>
380 <dependency>
381 <groupId>org.apache.felix</groupId>
382 <artifactId>org.apache.felix.framework</artifactId>
383 <version>4.2.0</version>
384 <scope>test</scope>
385 </dependency>
386 </dependencies>
387 </profile>
388
389 </profiles>
390</project>