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 | d87e55b | 2014-12-16 13:29:36 +0000 | [diff] [blame] | 28 | <version>1.12.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 | 9408bd6 | 2014-12-16 13:23:40 +0000 | [diff] [blame] | 43 | <manipulator.version>1.12.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 | d87e55b | 2014-12-16 13:29:36 +0000 | [diff] [blame] | 196 | <version>1.12.2-SNAPSHOT</version> |
Clement Escoffier | d3c9fa7 | 2014-05-08 08:45:06 +0000 | [diff] [blame] | 197 | <scope>provided</scope> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 198 | </dependency> |
Clement Escoffier | 75bba6a | 2013-05-07 12:22:52 +0000 | [diff] [blame] | 199 | |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 200 | <dependency> |
| 201 | <groupId>org.apache.felix</groupId> |
| 202 | <artifactId>org.apache.felix.ipojo.composite</artifactId> |
Clement Escoffier | d87e55b | 2014-12-16 13:29:36 +0000 | [diff] [blame] | 203 | <version>1.12.2-SNAPSHOT</version> |
Clement Escoffier | d3c9fa7 | 2014-05-08 08:45:06 +0000 | [diff] [blame] | 204 | <scope>provided</scope> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 205 | </dependency> |
| 206 | |
| 207 | <dependency> |
| 208 | <groupId>org.apache.felix</groupId> |
| 209 | <artifactId>org.apache.felix.ipojo.manipulator</artifactId> |
Clement Escoffier | 46ebda8 | 2014-05-17 12:19:25 +0000 | [diff] [blame] | 210 | <version>${manipulator.version}</version> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 211 | </dependency> |
| 212 | |
| 213 | <dependency> |
| 214 | <groupId>org.apache.felix</groupId> |
| 215 | <artifactId>org.apache.felix.configadmin</artifactId> |
Clement Escoffier | f4a9e9a | 2014-12-16 10:38:30 +0000 | [diff] [blame] | 216 | <version>1.8.0</version> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 217 | <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 Escoffier | ab39783 | 2013-05-15 15:43:05 +0000 | [diff] [blame] | 229 | <version>0.6.1</version> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 230 | <scope>test</scope> |
Clement Escoffier | cfae791 | 2013-05-08 16:51:29 +0000 | [diff] [blame] | 231 | <exclusions> |
| 232 | <exclusion> |
| 233 | <groupId>org.osgi</groupId> |
| 234 | <artifactId>org.osgi.core</artifactId> |
| 235 | </exclusion> |
| 236 | </exclusions> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 237 | </dependency> |
| 238 | |
| 239 | <dependency> |
| 240 | <groupId>org.ow2.chameleon.testing</groupId> |
| 241 | <artifactId>tinybundles-ipojo</artifactId> |
| 242 | <version>0.3.0</version> |
Clement Escoffier | fe1775d | 2013-05-13 12:54:07 +0000 | [diff] [blame] | 243 | <scope>test</scope> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 244 | </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 Escoffier | 75bba6a | 2013-05-07 12:22:52 +0000 | [diff] [blame] | 254 | <exclusions> |
| 255 | <exclusion> |
| 256 | <groupId>org.osgi</groupId> |
| 257 | <artifactId>org.osgi.core</artifactId> |
| 258 | </exclusion> |
| 259 | </exclusions> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 260 | </dependency> |
| 261 | |
| 262 | <dependency> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 263 | <groupId>org.ops4j.pax.url</groupId> |
| 264 | <artifactId>pax-url-wrap</artifactId> |
| 265 | <version>1.5.2</version> |
| 266 | </dependency> |
Clement Escoffier | 494f269 | 2013-06-22 12:53:21 +0000 | [diff] [blame] | 267 | |
| 268 | <dependency> |
| 269 | <groupId>org.apache.felix</groupId> |
| 270 | <artifactId>org.apache.felix.framework</artifactId> |
| 271 | <version>${felix.version}</version> |
| 272 | </dependency> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 273 | </dependencies> |
| 274 | |
| 275 | <profiles> |
| 276 | <profile> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 277 | <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 Escoffier | 494f269 | 2013-06-22 12:53:21 +0000 | [diff] [blame] | 298 | <version>${knoperflerfish.version}</version> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 299 | <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 Escoffier | 494f269 | 2013-06-22 12:53:21 +0000 | [diff] [blame] | 320 | <version>${equinox.version}</version> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 321 | <scope>test</scope> |
| 322 | </dependency> |
| 323 | </dependencies> |
| 324 | </profile> |
| 325 | |
| 326 | <profile> |
| 327 | <id>felix</id> |
| 328 | <activation> |
Clement Escoffier | 494f269 | 2013-06-22 12:53:21 +0000 | [diff] [blame] | 329 | <activeByDefault>false</activeByDefault> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 330 | <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 Escoffier | 494f269 | 2013-06-22 12:53:21 +0000 | [diff] [blame] | 342 | <version>${felix.version}</version> |
Clement Escoffier | 75bba6a | 2013-05-07 12:22:52 +0000 | [diff] [blame] | 343 | </dependency> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 344 | </dependencies> |
| 345 | </profile> |
| 346 | |
| 347 | <profile> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 348 | <id>test</id> |
Clement Escoffier | 494f269 | 2013-06-22 12:53:21 +0000 | [diff] [blame] | 349 | <properties> |
| 350 | <skipTestExecution>false</skipTestExecution> |
| 351 | </properties> |
Clement Escoffier | fe1775d | 2013-05-13 12:54:07 +0000 | [diff] [blame] | 352 | </profile> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 353 | </profiles> |
Clement Escoffier | 33c0383 | 2013-02-26 13:02:34 +0000 | [diff] [blame] | 354 | </project> |