blob: 6606c7c9f5316fc34f5ee434a5618820c3769e15 [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
150
151 <dependency>
152 <groupId>org.ops4j.pax.url</groupId>
153 <artifactId>pax-url-wrap</artifactId>
154 <version>1.5.2</version>
155 </dependency>
156 </dependencies>
157
158 <build>
159 <plugins>
160 <plugin>
161 <groupId>org.apache.servicemix.tooling</groupId>
162 <artifactId>depends-maven-plugin</artifactId>
163 <version>1.2</version>
164 <executions>
165 <execution>
166 <id>generate-config</id>
167 <goals>
168 <goal>generate-depends-file</goal>
169 </goals>
170 </execution>
171 </executions>
172 </plugin>
173
174 <plugin>
175 <groupId>org.apache.maven.plugins</groupId>
176 <artifactId>maven-compiler-plugin</artifactId>
177 <version>2.5.1</version>
178 <configuration>
179 <source>1.6</source>
180 <target>1.6</target>
181 </configuration>
182 </plugin>
183 </plugins>
184 </build>
185
186 <profiles>
187 <profile>
188 <id>test</id>
189 <activation>
190 <activeByDefault>true</activeByDefault>
191 </activation>
192 <build>
193 <plugins>
194 <plugin>
195 <groupId>org.apache.maven.plugins</groupId>
196 <artifactId>maven-invoker-plugin</artifactId>
197 <version>1.8</version>
198 <configuration>
199 <streamLogs>true</streamLogs>
200 <goals>
201 <goal>clean</goal>
202 <goal>test</goal>
203 </goals>
204 <cloneClean>true</cloneClean>
205 </configuration>
206 <executions>
207 <execution>
208 <id>regular</id>
209 <goals>
210 <goal>run</goal>
211 </goals>
212 <configuration>
213 <profiles>
214 <profile>felix</profile>
215 </profiles>
216 <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo>
217 </configuration>
218 </execution>
219 </executions>
220 </plugin>
221 </plugins>
222 </build>
223 </profile>
224
225 <profile>
226 <id>test-all</id>
227 <activation>
228 <activeByDefault>false</activeByDefault>
229 </activation>
230 <build>
231 <plugins>
232 <plugin>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-invoker-plugin</artifactId>
235 <version>1.8</version>
236 <configuration>
237 <streamLogs>true</streamLogs>
238 <goals>
239 <goal>clean</goal>
240 <goal>test</goal>
241 </goals>
242 <cloneClean>true</cloneClean>
243 </configuration>
244 <executions>
245 <execution>
246 <id>equinox-native</id>
247 <goals>
248 <goal>run</goal>
249 </goals>
250 <configuration>
251 <profiles>
252 <profile>equinox</profile>
253 </profiles>
254 <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo>
255
256 </configuration>
257 </execution>
258 <execution>
259 <id>felix-native</id>
260 <goals>
261 <goal>run</goal>
262 </goals>
263 <configuration>
264 <profiles>
265 <profile>felix</profile>
266 </profiles>
267 <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo>
268 </configuration>
269 </execution>
270 </executions>
271 </plugin>
272 </plugins>
273 </build>
274 </profile>
275
276 <profile>
277 <id>knopflerfish</id>
278 <activation>
279 <activeByDefault>false</activeByDefault>
280 <property>
281 <name>pax.exam.framework</name>
282 <value>knopflerfish</value>
283 </property>
284 </activation>
285 <properties>
286 <pax.exam.framework>knopflerfish</pax.exam.framework>
287 </properties>
288 <repositories>
289 <repository>
290 <id>knopflerfish-releases</id>
291 <url>http://www.knopflerfish.org/maven2</url>
292 </repository>
293 </repositories>
294 <dependencies>
295 <dependency>
296 <groupId>org.knopflerfish</groupId>
297 <artifactId>framework</artifactId>
298 <version>5.2.0</version>
299 <scope>test</scope>
300 </dependency>
301 </dependencies>
302 </profile>
303
304 <profile>
305 <id>equinox</id>
306 <activation>
307 <activeByDefault>false</activeByDefault>
308 <property>
309 <name>pax.exam.framework</name>
310 <value>equinox</value>
311 </property>
312 </activation>
313 <properties>
314 <pax.exam.framework>equinox</pax.exam.framework>
315 </properties>
316 <dependencies>
317 <dependency>
318 <groupId>org.eclipse.tycho</groupId>
319 <artifactId>org.eclipse.osgi</artifactId>
320 <version>3.8.1.v20120830-144521</version>
321 <scope>test</scope>
322 </dependency>
323 </dependencies>
324 </profile>
325
326 <profile>
327 <id>felix</id>
328 <activation>
329 <activeByDefault>false</activeByDefault>
330 <property>
331 <name>pax.exam.framework</name>
332 <value>felix</value>
333 </property>
334 </activation>
335 <properties>
336 <pax.exam.framework>felix</pax.exam.framework>
337 </properties>
338 <dependencies>
339 <dependency>
340 <groupId>org.apache.felix</groupId>
341 <artifactId>org.apache.felix.framework</artifactId>
342 <version>4.2.0</version>
343 <scope>test</scope>
344 </dependency>
345 </dependencies>
346 </profile>
347
348 </profiles>
349</project>