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