blob: f8983a5de880bea9f40ea7a57fee6c4d307d2b19 [file] [log] [blame]
Clement Escoffierd9571952013-02-27 15:51:08 +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">
Clement Escoffier79656f12013-02-28 07:19:14 +000021 <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 Escoffier79656f12013-02-28 07:19:14 +000025 <relativePath>../../../../pom/pom.xml</relativePath>
26 </parent>
Clement Escoffierd9571952013-02-27 15:51:08 +000027
28 <modelVersion>4.0.0</modelVersion>
29 <packaging>pom</packaging>
Clement Escoffierd9571952013-02-27 15:51:08 +000030 <name>Apache Felix iPOJO Event Admin Handler - Integration Test</name>
31 <artifactId>org.apache.felix.ipojo.handler.eventadmin-it</artifactId>
32 <version>1.9.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.eventadmin</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 Escoffier2d421082013-06-22 06:03:47 +000077 <version>1.10.2-SNAPSHOT</version>
Clement Escoffierd9571952013-02-27 15:51:08 +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 Escoffierc1d577f2013-06-22 05:41:33 +0000141 <version>0.6.2-SNAPSHOT</version>
Clement Escoffierd9571952013-02-27 15:51:08 +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
Clement Escoffierd9571952013-02-27 15:51:08 +0000150 <dependency>
151 <groupId>org.ops4j.pax.url</groupId>
152 <artifactId>pax-url-wrap</artifactId>
153 <version>1.5.2</version>
154 </dependency>
Clement Escoffier46bf9072013-02-28 07:29:25 +0000155
156 <dependency>
157 <groupId>junit</groupId>
158 <artifactId>junit</artifactId>
159 <version>4.9</version>
160 <scope>test</scope>
161 </dependency>
Clement Escoffierd9571952013-02-27 15:51:08 +0000162 </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>
209 </excludes>
210 </configuration>
211 </plugin>
Clement Escoffierd9571952013-02-27 15:51:08 +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 </executions>
300 </plugin>
301 </plugins>
302 </build>
303 </profile>
304
305 <profile>
306 <id>knopflerfish</id>
307 <activation>
308 <activeByDefault>false</activeByDefault>
309 <property>
310 <name>pax.exam.framework</name>
311 <value>knopflerfish</value>
312 </property>
313 </activation>
314 <properties>
315 <pax.exam.framework>knopflerfish</pax.exam.framework>
316 </properties>
317 <repositories>
318 <repository>
319 <id>knopflerfish-releases</id>
320 <url>http://www.knopflerfish.org/maven2</url>
321 </repository>
322 </repositories>
323 <dependencies>
324 <dependency>
325 <groupId>org.knopflerfish</groupId>
326 <artifactId>framework</artifactId>
327 <version>5.2.0</version>
328 <scope>test</scope>
329 </dependency>
330 </dependencies>
331 </profile>
332
333 <profile>
334 <id>equinox</id>
335 <activation>
336 <activeByDefault>false</activeByDefault>
337 <property>
338 <name>pax.exam.framework</name>
339 <value>equinox</value>
340 </property>
341 </activation>
342 <properties>
343 <pax.exam.framework>equinox</pax.exam.framework>
344 </properties>
345 <dependencies>
346 <dependency>
347 <groupId>org.eclipse.tycho</groupId>
348 <artifactId>org.eclipse.osgi</artifactId>
349 <version>3.8.1.v20120830-144521</version>
350 <scope>test</scope>
351 </dependency>
352 </dependencies>
353 </profile>
354
355 <profile>
356 <id>felix</id>
357 <activation>
358 <activeByDefault>false</activeByDefault>
359 <property>
360 <name>pax.exam.framework</name>
361 <value>felix</value>
362 </property>
363 </activation>
364 <properties>
365 <pax.exam.framework>felix</pax.exam.framework>
366 </properties>
367 <dependencies>
368 <dependency>
369 <groupId>org.apache.felix</groupId>
370 <artifactId>org.apache.felix.framework</artifactId>
371 <version>4.2.0</version>
372 <scope>test</scope>
373 </dependency>
374 </dependencies>
375 </profile>
376
377 </profiles>
378</project>