blob: 99bc152e4c558b1ae286cfa638c100fdd59de2d9 [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>
24 <version>1.2.1</version>
25 <relativePath>../../../../pom/pom.xml</relativePath>
26 </parent>
Clement Escoffier2e430192013-02-27 15:59:42 +000027
28 <modelVersion>4.0.0</modelVersion>
29 <packaging>pom</packaging>
Clement Escoffier2e430192013-02-27 15:59:42 +000030 <name>Apache Felix iPOJO JMX Handler - Integration Test</name>
31 <artifactId>org.apache.felix.ipojo.handler.jmx-it</artifactId>
32 <version>1.5.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.jmx</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 Escoffier46bf9072013-02-28 07:29:25 +0000150 <dependency>
151 <groupId>junit</groupId>
152 <artifactId>junit</artifactId>
153 <version>4.9</version>
154 <scope>test</scope>
155 </dependency>
Clement Escoffier2e430192013-02-27 15:59:42 +0000156
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>
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 <execution>
277 <id>knopflerfish-native</id>
278 <goals>
279 <goal>run</goal>
280 </goals>
281 <configuration>
282 <profiles>
283 <profile>knopflerfish</profile>
284 </profiles>
285 <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo>
286 </configuration>
287 </execution>
288 </executions>
289 </plugin>
290 </plugins>
291 </build>
292 </profile>
293
294 <profile>
295 <id>knopflerfish</id>
296 <activation>
297 <activeByDefault>false</activeByDefault>
298 <property>
299 <name>pax.exam.framework</name>
300 <value>knopflerfish</value>
301 </property>
302 </activation>
303 <properties>
304 <pax.exam.framework>knopflerfish</pax.exam.framework>
305 </properties>
306 <repositories>
307 <repository>
308 <id>knopflerfish-releases</id>
309 <url>http://www.knopflerfish.org/maven2</url>
310 </repository>
311 </repositories>
312 <dependencies>
313 <dependency>
314 <groupId>org.knopflerfish</groupId>
315 <artifactId>framework</artifactId>
316 <version>5.2.0</version>
317 <scope>test</scope>
318 </dependency>
319 </dependencies>
320 </profile>
321
322 <profile>
323 <id>equinox</id>
324 <activation>
325 <activeByDefault>false</activeByDefault>
326 <property>
327 <name>pax.exam.framework</name>
328 <value>equinox</value>
329 </property>
330 </activation>
331 <properties>
332 <pax.exam.framework>equinox</pax.exam.framework>
333 </properties>
334 <dependencies>
335 <dependency>
336 <groupId>org.eclipse.tycho</groupId>
337 <artifactId>org.eclipse.osgi</artifactId>
338 <version>3.8.1.v20120830-144521</version>
339 <scope>test</scope>
340 </dependency>
341 </dependencies>
342 </profile>
343
344 <profile>
345 <id>felix</id>
346 <activation>
347 <activeByDefault>false</activeByDefault>
348 <property>
349 <name>pax.exam.framework</name>
350 <value>felix</value>
351 </property>
352 </activation>
353 <properties>
354 <pax.exam.framework>felix</pax.exam.framework>
355 </properties>
356 <dependencies>
357 <dependency>
358 <groupId>org.apache.felix</groupId>
359 <artifactId>org.apache.felix.framework</artifactId>
360 <version>4.2.0</version>
361 <scope>test</scope>
362 </dependency>
363 </dependencies>
364 </profile>
365
366 </profiles>
367</project>