blob: b371dc6f62b62f30c3092adef9afd04d93988e5a [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 Escoffier1e35ff12014-05-12 11:47:05 +000028 <version>1.12.1-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 Escoffier46ebda82014-05-17 12:19:25 +000043 <manipulator.version>1.12.1-SNAPSHOT</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 Escoffier1e35ff12014-05-12 11:47:05 +0000196 <version>1.12.1-SNAPSHOT</version>
Clement Escoffierd3c9fa72014-05-08 08:45:06 +0000197 <scope>provided</scope>
Clement Escoffier33c03832013-02-26 13:02:34 +0000198 </dependency>
Clement Escoffier75bba6a2013-05-07 12:22:52 +0000199
Clement Escoffier33c03832013-02-26 13:02:34 +0000200 <dependency>
201 <groupId>org.apache.felix</groupId>
202 <artifactId>org.apache.felix.ipojo.composite</artifactId>
Clement Escoffier1e35ff12014-05-12 11:47:05 +0000203 <version>1.12.1-SNAPSHOT</version>
Clement Escoffierd3c9fa72014-05-08 08:45:06 +0000204 <scope>provided</scope>
Clement Escoffier33c03832013-02-26 13:02:34 +0000205 </dependency>
206
207 <dependency>
208 <groupId>org.apache.felix</groupId>
209 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffier46ebda82014-05-17 12:19:25 +0000210 <version>${manipulator.version}</version>
Clement Escoffier33c03832013-02-26 13:02:34 +0000211 </dependency>
212
213 <dependency>
214 <groupId>org.apache.felix</groupId>
215 <artifactId>org.apache.felix.configadmin</artifactId>
Clement Escoffierf4a9e9a2014-12-16 10:38:30 +0000216 <version>1.8.0</version>
Clement Escoffier33c03832013-02-26 13:02:34 +0000217 <scope>test</scope>
218 </dependency>
219
220 <dependency>
221 <groupId>commons-io</groupId>
222 <artifactId>commons-io</artifactId>
223 <version>2.4</version>
224 </dependency>
225
226 <dependency>
227 <groupId>org.ow2.chameleon.testing</groupId>
228 <artifactId>osgi-helpers</artifactId>
Clement Escoffierab397832013-05-15 15:43:05 +0000229 <version>0.6.1</version>
Clement Escoffier33c03832013-02-26 13:02:34 +0000230 <scope>test</scope>
Clement Escoffiercfae7912013-05-08 16:51:29 +0000231 <exclusions>
232 <exclusion>
233 <groupId>org.osgi</groupId>
234 <artifactId>org.osgi.core</artifactId>
235 </exclusion>
236 </exclusions>
Clement Escoffier33c03832013-02-26 13:02:34 +0000237 </dependency>
238
239 <dependency>
240 <groupId>org.ow2.chameleon.testing</groupId>
241 <artifactId>tinybundles-ipojo</artifactId>
242 <version>0.3.0</version>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000243 <scope>test</scope>
Clement Escoffier33c03832013-02-26 13:02:34 +0000244 </dependency>
245
246 <dependency>
247 <groupId>org.apache.felix</groupId>
248 <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId>
249 <!--
250 We use the released version as we don't really have to do any behavioral test on the handler in the core
251 test.
252 -->
253 <version>1.8.0</version>
Clement Escoffier75bba6a2013-05-07 12:22:52 +0000254 <exclusions>
255 <exclusion>
256 <groupId>org.osgi</groupId>
257 <artifactId>org.osgi.core</artifactId>
258 </exclusion>
259 </exclusions>
Clement Escoffier33c03832013-02-26 13:02:34 +0000260 </dependency>
261
262 <dependency>
Clement Escoffier33c03832013-02-26 13:02:34 +0000263 <groupId>org.ops4j.pax.url</groupId>
264 <artifactId>pax-url-wrap</artifactId>
265 <version>1.5.2</version>
266 </dependency>
Clement Escoffier494f2692013-06-22 12:53:21 +0000267
268 <dependency>
269 <groupId>org.apache.felix</groupId>
270 <artifactId>org.apache.felix.framework</artifactId>
271 <version>${felix.version}</version>
272 </dependency>
Clement Escoffier33c03832013-02-26 13:02:34 +0000273 </dependencies>
274
275 <profiles>
276 <profile>
Clement Escoffier33c03832013-02-26 13:02:34 +0000277 <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>
Clement Escoffier494f2692013-06-22 12:53:21 +0000298 <version>${knoperflerfish.version}</version>
Clement Escoffier33c03832013-02-26 13:02:34 +0000299 <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>
Clement Escoffier494f2692013-06-22 12:53:21 +0000320 <version>${equinox.version}</version>
Clement Escoffier33c03832013-02-26 13:02:34 +0000321 <scope>test</scope>
322 </dependency>
323 </dependencies>
324 </profile>
325
326 <profile>
327 <id>felix</id>
328 <activation>
Clement Escoffier494f2692013-06-22 12:53:21 +0000329 <activeByDefault>false</activeByDefault>
Clement Escoffier33c03832013-02-26 13:02:34 +0000330 <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>
Clement Escoffier494f2692013-06-22 12:53:21 +0000342 <version>${felix.version}</version>
Clement Escoffier75bba6a2013-05-07 12:22:52 +0000343 </dependency>
Clement Escoffier33c03832013-02-26 13:02:34 +0000344 </dependencies>
345 </profile>
346
347 <profile>
Clement Escoffier33c03832013-02-26 13:02:34 +0000348 <id>test</id>
Clement Escoffier494f2692013-06-22 12:53:21 +0000349 <properties>
350 <skipTestExecution>false</skipTestExecution>
351 </properties>
Clement Escoffierfe1775d2013-05-13 12:54:07 +0000352 </profile>
Clement Escoffier33c03832013-02-26 13:02:34 +0000353 </profiles>
Clement Escoffier33c03832013-02-26 13:02:34 +0000354</project>