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