blob: 11d6050453b6741eb9c27352ff9134aae172c871 [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>
24 <version>1.2.1</version>
25 <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>
77 <version>1.8.6</version>
78 <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>
141 <version>0.6.0</version>
142 </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>
189 </plugins>
190 </build>
191
192 <profiles>
193 <profile>
194 <id>test</id>
195 <activation>
196 <activeByDefault>true</activeByDefault>
197 </activation>
198 <build>
199 <plugins>
200 <plugin>
201 <groupId>org.apache.maven.plugins</groupId>
202 <artifactId>maven-invoker-plugin</artifactId>
203 <version>1.8</version>
204 <configuration>
205 <streamLogs>true</streamLogs>
206 <goals>
207 <goal>clean</goal>
208 <goal>test</goal>
209 </goals>
210 <cloneClean>true</cloneClean>
211 </configuration>
212 <executions>
213 <execution>
214 <id>regular</id>
215 <goals>
216 <goal>run</goal>
217 </goals>
218 <configuration>
219 <profiles>
220 <profile>felix</profile>
221 </profiles>
222 <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo>
223 </configuration>
224 </execution>
225 </executions>
226 </plugin>
227 </plugins>
228 </build>
229 </profile>
230
231 <profile>
232 <id>test-all</id>
233 <activation>
234 <activeByDefault>false</activeByDefault>
235 </activation>
236 <build>
237 <plugins>
238 <plugin>
239 <groupId>org.apache.maven.plugins</groupId>
240 <artifactId>maven-invoker-plugin</artifactId>
241 <version>1.8</version>
242 <configuration>
243 <streamLogs>true</streamLogs>
244 <goals>
245 <goal>clean</goal>
246 <goal>test</goal>
247 </goals>
248 <cloneClean>true</cloneClean>
249 </configuration>
250 <executions>
251 <execution>
252 <id>equinox-native</id>
253 <goals>
254 <goal>run</goal>
255 </goals>
256 <configuration>
257 <profiles>
258 <profile>equinox</profile>
259 </profiles>
260 <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo>
261
262 </configuration>
263 </execution>
264 <execution>
265 <id>felix-native</id>
266 <goals>
267 <goal>run</goal>
268 </goals>
269 <configuration>
270 <profiles>
271 <profile>felix</profile>
272 </profiles>
273 <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo>
274 </configuration>
275 </execution>
276 </executions>
277 </plugin>
278 </plugins>
279 </build>
280 </profile>
281
282 <profile>
283 <id>knopflerfish</id>
284 <activation>
285 <activeByDefault>false</activeByDefault>
286 <property>
287 <name>pax.exam.framework</name>
288 <value>knopflerfish</value>
289 </property>
290 </activation>
291 <properties>
292 <pax.exam.framework>knopflerfish</pax.exam.framework>
293 </properties>
294 <repositories>
295 <repository>
296 <id>knopflerfish-releases</id>
297 <url>http://www.knopflerfish.org/maven2</url>
298 </repository>
299 </repositories>
300 <dependencies>
301 <dependency>
302 <groupId>org.knopflerfish</groupId>
303 <artifactId>framework</artifactId>
304 <version>5.2.0</version>
305 <scope>test</scope>
306 </dependency>
307 </dependencies>
308 </profile>
309
310 <profile>
311 <id>equinox</id>
312 <activation>
313 <activeByDefault>false</activeByDefault>
314 <property>
315 <name>pax.exam.framework</name>
316 <value>equinox</value>
317 </property>
318 </activation>
319 <properties>
320 <pax.exam.framework>equinox</pax.exam.framework>
321 </properties>
322 <dependencies>
323 <dependency>
324 <groupId>org.eclipse.tycho</groupId>
325 <artifactId>org.eclipse.osgi</artifactId>
326 <version>3.8.1.v20120830-144521</version>
327 <scope>test</scope>
328 </dependency>
329 </dependencies>
330 </profile>
331
332 <profile>
333 <id>felix</id>
334 <activation>
335 <activeByDefault>false</activeByDefault>
336 <property>
337 <name>pax.exam.framework</name>
338 <value>felix</value>
339 </property>
340 </activation>
341 <properties>
342 <pax.exam.framework>felix</pax.exam.framework>
343 </properties>
344 <dependencies>
345 <dependency>
346 <groupId>org.apache.felix</groupId>
347 <artifactId>org.apache.felix.framework</artifactId>
348 <version>4.2.0</version>
349 <scope>test</scope>
350 </dependency>
351 </dependencies>
352 </profile>
353
354 </profiles>
355</project>