Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 1 | <!-- |
| 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 Escoffier | ab39783 | 2013-05-15 15:43:05 +0000 | [diff] [blame] | 19 | <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 Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 20 | <parent> |
| 21 | <groupId>org.apache.felix</groupId> |
| 22 | <artifactId>felix-parent</artifactId> |
Clement Escoffier | ed4ca02 | 2013-03-13 15:27:20 +0000 | [diff] [blame] | 23 | <version>2.1</version> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 24 | <relativePath>../../../pom/pom.xml</relativePath> |
| 25 | </parent> |
| 26 | <modelVersion>4.0.0</modelVersion> |
| 27 | <artifactId>org.apache.felix.ipojo.runtime.composite-it</artifactId> |
Clement Escoffier | 73842a1 | 2013-06-16 07:11:54 +0000 | [diff] [blame] | 28 | <version>1.10.2-SNAPSHOT</version> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 29 | <name>Apache Felix iPOJO Runtime Project ~ Composite Integration Tests</name> |
| 30 | <packaging>pom</packaging> |
| 31 | |
Clement Escoffier | 494f269 | 2013-06-22 12:53:21 +0000 | [diff] [blame] | 32 | <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 Escoffier | cc18202 | 2013-10-08 14:09:24 +0000 | [diff] [blame^] | 43 | <manipulator.version>1.10.1</manipulator.version> |
Clement Escoffier | 494f269 | 2013-06-22 12:53:21 +0000 | [diff] [blame] | 44 | </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 Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 53 | <build> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 54 | <plugins> |
| 55 | <plugin> |
| 56 | <groupId>org.apache.maven.plugins</groupId> |
Clement Escoffier | 494f269 | 2013-06-22 12:53:21 +0000 | [diff] [blame] | 57 | <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 Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 70 | <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 Escoffier | ed4ca02 | 2013-03-13 15:27:20 +0000 | [diff] [blame] | 91 | |
| 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 Escoffier | 75bba6a | 2013-05-07 12:22:52 +0000 | [diff] [blame] | 110 | <exclude>**/*.iml</exclude> |
| 111 | <!-- Exclude iml files --> |
Clement Escoffier | 9968ff7 | 2013-04-10 09:52:20 +0000 | [diff] [blame] | 112 | <!-- Exclude target folders that may have been created during |
| 113 | the integration-tests --> |
Clement Escoffier | 75bba6a | 2013-05-07 12:22:52 +0000 | [diff] [blame] | 114 | <exclude>src/it/**/target/**/*</exclude> |
Clement Escoffier | ed4ca02 | 2013-03-13 15:27:20 +0000 | [diff] [blame] | 115 | </excludes> |
| 116 | </configuration> |
| 117 | </plugin> |
Clement Escoffier | 2c47f5f | 2013-06-04 19:46:29 +0000 | [diff] [blame] | 118 | |
| 119 | <plugin> |
| 120 | <artifactId>maven-deploy-plugin</artifactId> |
| 121 | <version>2.4</version> |
| 122 | <configuration> |
| 123 | <skip>true</skip> |
| 124 | </configuration> |
| 125 | </plugin> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 126 | </plugins> |
| 127 | |
| 128 | </build> |
| 129 | |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 130 | <dependencies> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 131 | <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 Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 160 | <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 Escoffier | 73842a1 | 2013-06-16 07:11:54 +0000 | [diff] [blame] | 196 | <version>1.10.2-SNAPSHOT</version> |
Clement Escoffier | 75bba6a | 2013-05-07 12:22:52 +0000 | [diff] [blame] | 197 | <exclusions> |
| 198 | <exclusion> |
| 199 | <groupId>org.osgi</groupId> |
| 200 | <artifactId>org.osgi.core</artifactId> |
| 201 | </exclusion> |
| 202 | </exclusions> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 203 | </dependency> |
Clement Escoffier | 75bba6a | 2013-05-07 12:22:52 +0000 | [diff] [blame] | 204 | |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 205 | <dependency> |
| 206 | <groupId>org.apache.felix</groupId> |
| 207 | <artifactId>org.apache.felix.ipojo.composite</artifactId> |
Clement Escoffier | 73842a1 | 2013-06-16 07:11:54 +0000 | [diff] [blame] | 208 | <version>1.10.2-SNAPSHOT</version> |
Clement Escoffier | 75bba6a | 2013-05-07 12:22:52 +0000 | [diff] [blame] | 209 | <exclusions> |
| 210 | <exclusion> |
| 211 | <groupId>org.osgi</groupId> |
| 212 | <artifactId>org.osgi.core</artifactId> |
| 213 | </exclusion> |
| 214 | </exclusions> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 215 | </dependency> |
| 216 | |
| 217 | <dependency> |
| 218 | <groupId>org.apache.felix</groupId> |
| 219 | <artifactId>org.apache.felix.ipojo.manipulator</artifactId> |
Clement Escoffier | cc18202 | 2013-10-08 14:09:24 +0000 | [diff] [blame^] | 220 | <version>1.11.0</version> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 221 | </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 Escoffier | ab39783 | 2013-05-15 15:43:05 +0000 | [diff] [blame] | 239 | <version>0.6.1</version> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 240 | <scope>test</scope> |
Clement Escoffier | cfae791 | 2013-05-08 16:51:29 +0000 | [diff] [blame] | 241 | <exclusions> |
| 242 | <exclusion> |
| 243 | <groupId>org.osgi</groupId> |
| 244 | <artifactId>org.osgi.core</artifactId> |
| 245 | </exclusion> |
| 246 | </exclusions> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 247 | </dependency> |
| 248 | |
| 249 | <dependency> |
| 250 | <groupId>org.ow2.chameleon.testing</groupId> |
| 251 | <artifactId>tinybundles-ipojo</artifactId> |
| 252 | <version>0.3.0</version> |
Clement Escoffier | fe1775d | 2013-05-13 12:54:07 +0000 | [diff] [blame] | 253 | <scope>test</scope> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 254 | </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 Escoffier | 75bba6a | 2013-05-07 12:22:52 +0000 | [diff] [blame] | 264 | <exclusions> |
| 265 | <exclusion> |
| 266 | <groupId>org.osgi</groupId> |
| 267 | <artifactId>org.osgi.core</artifactId> |
| 268 | </exclusion> |
| 269 | </exclusions> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 270 | </dependency> |
| 271 | |
| 272 | <dependency> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 273 | <groupId>org.ops4j.pax.url</groupId> |
| 274 | <artifactId>pax-url-wrap</artifactId> |
| 275 | <version>1.5.2</version> |
| 276 | </dependency> |
Clement Escoffier | 494f269 | 2013-06-22 12:53:21 +0000 | [diff] [blame] | 277 | |
| 278 | <dependency> |
| 279 | <groupId>org.apache.felix</groupId> |
| 280 | <artifactId>org.apache.felix.framework</artifactId> |
| 281 | <version>${felix.version}</version> |
| 282 | </dependency> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 283 | </dependencies> |
| 284 | |
| 285 | <profiles> |
| 286 | <profile> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 287 | <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 Escoffier | 494f269 | 2013-06-22 12:53:21 +0000 | [diff] [blame] | 308 | <version>${knoperflerfish.version}</version> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 309 | <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 Escoffier | 494f269 | 2013-06-22 12:53:21 +0000 | [diff] [blame] | 330 | <version>${equinox.version}</version> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 331 | <scope>test</scope> |
| 332 | </dependency> |
| 333 | </dependencies> |
| 334 | </profile> |
| 335 | |
| 336 | <profile> |
| 337 | <id>felix</id> |
| 338 | <activation> |
Clement Escoffier | 494f269 | 2013-06-22 12:53:21 +0000 | [diff] [blame] | 339 | <activeByDefault>false</activeByDefault> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 340 | <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 Escoffier | 494f269 | 2013-06-22 12:53:21 +0000 | [diff] [blame] | 352 | <version>${felix.version}</version> |
Clement Escoffier | 75bba6a | 2013-05-07 12:22:52 +0000 | [diff] [blame] | 353 | </dependency> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 354 | </dependencies> |
| 355 | </profile> |
| 356 | |
| 357 | <profile> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 358 | <id>test</id> |
Clement Escoffier | 494f269 | 2013-06-22 12:53:21 +0000 | [diff] [blame] | 359 | <properties> |
| 360 | <skipTestExecution>false</skipTestExecution> |
| 361 | </properties> |
Clement Escoffier | fe1775d | 2013-05-13 12:54:07 +0000 | [diff] [blame] | 362 | </profile> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 363 | </profiles> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 364 | </project> |