blob: b11e1d6ab21410c3a732f8de65172ecaa54b9f5d [file] [log] [blame]
Clement Escoffier33c03832013-02-26 13:02:34 +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-->
Clement Escoffierab397832013-05-15 15:43:05 +000019<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Clement Escoffier33c03832013-02-26 13:02:34 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000023 <version>2.1</version>
Clement Escoffier33c03832013-02-26 13:02:34 +000024 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <artifactId>org.apache.felix.ipojo.runtime.composite-it</artifactId>
Clement Escoffiere6c01dc2014-01-20 16:12:24 +000028 <version>1.11.2-SNAPSHOT</version>
Clement Escoffier33c03832013-02-26 13:02:34 +000029 <name>Apache Felix iPOJO Runtime Project ~ Composite Integration Tests</name>
30 <packaging>pom</packaging>
31
Clement Escoffier494f2692013-06-22 12:53:21 +000032 <properties>
33 <!-- Tests are enabled only when the 'test' profile is activated -->
34 <skipTestExecution>true</skipTestExecution>
35
36 <exam.version>3.0.1</exam.version>
37 <url.version>1.5.1</url.version>
38
39 <felix.version>4.2.0</felix.version>
40 <equinox.version>3.8.1.v20120830-144521</equinox.version>
41 <knoperflerfish.version>5.3.3</knoperflerfish.version>
42
Clement Escoffiercc182022013-10-08 14:09:24 +000043 <manipulator.version>1.10.1</manipulator.version>
Clement Escoffier494f2692013-06-22 12:53:21 +000044 </properties>
45
46 <modules>
47 <module>ipojo-composite-runtime-test</module>
48 <module>ipojo-composite-import-export-test</module>
49 <module>ipojo-composite-instance-test</module>
50 <module>ipojo-composite-service-providing-test</module>
51 </modules>
52
Clement Escoffier33c03832013-02-26 13:02:34 +000053 <build>
Clement Escoffier33c03832013-02-26 13:02:34 +000054 <plugins>
55 <plugin>
56 <groupId>org.apache.maven.plugins</groupId>
Clement Escoffier494f2692013-06-22 12:53:21 +000057 <artifactId>maven-surefire-plugin</artifactId>
58 <version>2.14.1</version>
59 <configuration>
60 <systemPropertyVariables>
61 <!-- TIME_FACTOR can be set from the command line with -DTIME_FACTOR=9-->
62 <TIME_FACTOR>${TIME_FACTOR}</TIME_FACTOR>
63 </systemPropertyVariables>
64 <skipTests>${skipTestExecution}</skipTests>
65 </configuration>
66 </plugin>
67
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
Clement Escoffier33c03832013-02-26 13:02:34 +000070 <artifactId>maven-compiler-plugin</artifactId>
71 <version>2.5.1</version>
72 <configuration>
73 <source>1.6</source>
74 <target>1.6</target>
75 </configuration>
76 </plugin>
77
78 <plugin>
79 <groupId>org.apache.servicemix.tooling</groupId>
80 <artifactId>depends-maven-plugin</artifactId>
81 <version>1.2</version>
82 <executions>
83 <execution>
84 <id>generate-config</id>
85 <goals>
86 <goal>generate-depends-file</goal>
87 </goals>
88 </execution>
89 </executions>
90 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +000091
92 <plugin>
93 <groupId>org.apache.rat</groupId>
94 <artifactId>apache-rat-plugin</artifactId>
95 <executions>
96 <execution>
97 <phase>verify</phase>
98 <goals>
99 <goal>check</goal>
100 </goals>
101 </execution>
102 </executions>
103 <configuration>
104 <!-- check src only (except remote resources additions) -->
105 <includes>
106 <include>src/**</include>
107 </includes>
108 <excludes>
109 <exclude>src/main/appended-resources/**</exclude>
Clement Escoffier75bba6a2013-05-07 12:22:52 +0000110 <exclude>**/*.iml</exclude>
111 <!-- Exclude iml files -->
Clement Escoffier9968ff72013-04-10 09:52:20 +0000112 <!-- Exclude target folders that may have been created during
113 the integration-tests -->
Clement Escoffier75bba6a2013-05-07 12:22:52 +0000114 <exclude>src/it/**/target/**/*</exclude>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000115 </excludes>
116 </configuration>
117 </plugin>
Clement Escoffier2c47f5f2013-06-04 19:46:29 +0000118
119 <plugin>
120 <artifactId>maven-deploy-plugin</artifactId>
121 <version>2.4</version>
122 <configuration>
123 <skip>true</skip>
124 </configuration>
125 </plugin>
Clement Escoffier33c03832013-02-26 13:02:34 +0000126 </plugins>
127
128 </build>
129
Clement Escoffier33c03832013-02-26 13:02:34 +0000130 <dependencies>
Clement Escoffier33c03832013-02-26 13:02:34 +0000131 <dependency>
132 <groupId>org.ops4j.pax.exam</groupId>
133 <artifactId>pax-exam-container-native</artifactId>
134 <version>${exam.version}</version>
135 <scope>test</scope>
136 </dependency>
137
138 <dependency>
139 <groupId>org.ops4j.pax.exam</groupId>
140 <artifactId>pax-exam-junit4</artifactId>
141 <version>${exam.version}</version>
142 <scope>test</scope>
143 </dependency>
144
145 <dependency>
146 <groupId>org.ops4j.pax.exam</groupId>
147 <artifactId>pax-exam-link-mvn</artifactId>
148 <version>${exam.version}</version>
149 <scope>test</scope>
150 </dependency>
151
152 <dependency>
153 <groupId>org.ops4j.pax.url</groupId>
154 <artifactId>pax-url-aether</artifactId>
155 <version>${url.version}</version>
156 <scope>test</scope>
157 </dependency>
158
159 <dependency>
Clement Escoffier33c03832013-02-26 13:02:34 +0000160 <groupId>ch.qos.logback</groupId>
161 <artifactId>logback-core</artifactId>
162 <version>0.9.6</version>
163 <scope>test</scope>
164 </dependency>
165
166 <dependency>
167 <groupId>ch.qos.logback</groupId>
168 <artifactId>logback-classic</artifactId>
169 <version>0.9.6</version>
170 <scope>test</scope>
171 </dependency>
172
173
174 <dependency>
175 <groupId>junit</groupId>
176 <artifactId>junit</artifactId>
177 <version>4.9</version>
178 <scope>test</scope>
179 </dependency>
180
181 <dependency>
182 <groupId>org.mockito</groupId>
183 <artifactId>mockito-all</artifactId>
184 <version>1.9.5</version>
185 </dependency>
186
187 <dependency>
188 <groupId>org.ops4j.pax.tinybundles</groupId>
189 <artifactId>tinybundles</artifactId>
190 <version>1.0.0</version>
191 </dependency>
192
193 <dependency>
194 <groupId>org.apache.felix</groupId>
195 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffiere6c01dc2014-01-20 16:12:24 +0000196 <version>1.11.2-SNAPSHOT</version>
Clement Escoffier75bba6a2013-05-07 12:22:52 +0000197 <exclusions>
198 <exclusion>
199 <groupId>org.osgi</groupId>
200 <artifactId>org.osgi.core</artifactId>
201 </exclusion>
202 </exclusions>
Clement Escoffier33c03832013-02-26 13:02:34 +0000203 </dependency>
Clement Escoffier75bba6a2013-05-07 12:22:52 +0000204
Clement Escoffier33c03832013-02-26 13:02:34 +0000205 <dependency>
206 <groupId>org.apache.felix</groupId>
207 <artifactId>org.apache.felix.ipojo.composite</artifactId>
Clement Escoffiere6c01dc2014-01-20 16:12:24 +0000208 <version>1.11.2-SNAPSHOT</version>
Clement Escoffier75bba6a2013-05-07 12:22:52 +0000209 <exclusions>
210 <exclusion>
211 <groupId>org.osgi</groupId>
212 <artifactId>org.osgi.core</artifactId>
213 </exclusion>
214 </exclusions>
Clement Escoffier33c03832013-02-26 13:02:34 +0000215 </dependency>
216
217 <dependency>
218 <groupId>org.apache.felix</groupId>
219 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffier1f63da02014-01-30 06:37:51 +0000220 <version>1.11.1</version>
Clement Escoffier33c03832013-02-26 13:02:34 +0000221 </dependency>
222
223 <dependency>
224 <groupId>org.apache.felix</groupId>
225 <artifactId>org.apache.felix.configadmin</artifactId>
226 <version>1.6.0</version>
227 <scope>test</scope>
228 </dependency>
229
230 <dependency>
231 <groupId>commons-io</groupId>
232 <artifactId>commons-io</artifactId>
233 <version>2.4</version>
234 </dependency>
235
236 <dependency>
237 <groupId>org.ow2.chameleon.testing</groupId>
238 <artifactId>osgi-helpers</artifactId>
Clement Escoffierab397832013-05-15 15:43:05 +0000239 <version>0.6.1</version>
Clement Escoffier33c03832013-02-26 13:02:34 +0000240 <scope>test</scope>
Clement Escoffiercfae7912013-05-08 16:51:29 +0000241 <exclusions>
242 <exclusion>
243 <groupId>org.osgi</groupId>
244 <artifactId>org.osgi.core</artifactId>
245 </exclusion>
246 </exclusions>
Clement Escoffier33c03832013-02-26 13:02:34 +0000247 </dependency>
248
249 <dependency>
250 <groupId>org.ow2.chameleon.testing</groupId>
251 <artifactId>tinybundles-ipojo</artifactId>
252 <version>0.3.0</version>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000253 <scope>test</scope>
Clement Escoffier33c03832013-02-26 13:02:34 +0000254 </dependency>
255
256 <dependency>
257 <groupId>org.apache.felix</groupId>
258 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
259 <!--
260 We use the released version as we don't really have to do any behavioral test on the handler in the core
261 test.
262 -->
263 <version>1.8.0</version>
Clement Escoffier75bba6a2013-05-07 12:22:52 +0000264 <exclusions>
265 <exclusion>
266 <groupId>org.osgi</groupId>
267 <artifactId>org.osgi.core</artifactId>
268 </exclusion>
269 </exclusions>
Clement Escoffier33c03832013-02-26 13:02:34 +0000270 </dependency>
271
272 <dependency>
Clement Escoffier33c03832013-02-26 13:02:34 +0000273 <groupId>org.ops4j.pax.url</groupId>
274 <artifactId>pax-url-wrap</artifactId>
275 <version>1.5.2</version>
276 </dependency>
Clement Escoffier494f2692013-06-22 12:53:21 +0000277
278 <dependency>
279 <groupId>org.apache.felix</groupId>
280 <artifactId>org.apache.felix.framework</artifactId>
281 <version>${felix.version}</version>
282 </dependency>
Clement Escoffier33c03832013-02-26 13:02:34 +0000283 </dependencies>
284
285 <profiles>
286 <profile>
Clement Escoffier33c03832013-02-26 13:02:34 +0000287 <id>knopflerfish</id>
288 <activation>
289 <activeByDefault>false</activeByDefault>
290 <property>
291 <name>pax.exam.framework</name>
292 <value>knopflerfish</value>
293 </property>
294 </activation>
295 <properties>
296 <pax.exam.framework>knopflerfish</pax.exam.framework>
297 </properties>
298 <repositories>
299 <repository>
300 <id>knopflerfish-releases</id>
301 <url>http://www.knopflerfish.org/maven2</url>
302 </repository>
303 </repositories>
304 <dependencies>
305 <dependency>
306 <groupId>org.knopflerfish</groupId>
307 <artifactId>framework</artifactId>
Clement Escoffier494f2692013-06-22 12:53:21 +0000308 <version>${knoperflerfish.version}</version>
Clement Escoffier33c03832013-02-26 13:02:34 +0000309 <scope>test</scope>
310 </dependency>
311 </dependencies>
312 </profile>
313
314 <profile>
315 <id>equinox</id>
316 <activation>
317 <activeByDefault>false</activeByDefault>
318 <property>
319 <name>pax.exam.framework</name>
320 <value>equinox</value>
321 </property>
322 </activation>
323 <properties>
324 <pax.exam.framework>equinox</pax.exam.framework>
325 </properties>
326 <dependencies>
327 <dependency>
328 <groupId>org.eclipse.tycho</groupId>
329 <artifactId>org.eclipse.osgi</artifactId>
Clement Escoffier494f2692013-06-22 12:53:21 +0000330 <version>${equinox.version}</version>
Clement Escoffier33c03832013-02-26 13:02:34 +0000331 <scope>test</scope>
332 </dependency>
333 </dependencies>
334 </profile>
335
336 <profile>
337 <id>felix</id>
338 <activation>
Clement Escoffier494f2692013-06-22 12:53:21 +0000339 <activeByDefault>false</activeByDefault>
Clement Escoffier33c03832013-02-26 13:02:34 +0000340 <property>
341 <name>pax.exam.framework</name>
342 <value>felix</value>
343 </property>
344 </activation>
345 <properties>
346 <pax.exam.framework>felix</pax.exam.framework>
347 </properties>
348 <dependencies>
349 <dependency>
350 <groupId>org.apache.felix</groupId>
351 <artifactId>org.apache.felix.framework</artifactId>
Clement Escoffier494f2692013-06-22 12:53:21 +0000352 <version>${felix.version}</version>
Clement Escoffier75bba6a2013-05-07 12:22:52 +0000353 </dependency>
Clement Escoffier33c03832013-02-26 13:02:34 +0000354 </dependencies>
355 </profile>
356
357 <profile>
Clement Escoffier33c03832013-02-26 13:02:34 +0000358 <id>test</id>
Clement Escoffier494f2692013-06-22 12:53:21 +0000359 <properties>
360 <skipTestExecution>false</skipTestExecution>
361 </properties>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000362 </profile>
Clement Escoffier33c03832013-02-26 13:02:34 +0000363 </profiles>
Clement Escoffier33c03832013-02-26 13:02:34 +0000364</project>