Clement Escoffier | d7851eb | 2013-03-12 14:24:33 +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 | --> |
| 19 | <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 20 | xmlns="http://maven.apache.org/POM/4.0.0" |
| 21 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 22 | <parent> |
| 23 | <groupId>org.apache.felix</groupId> |
| 24 | <artifactId>felix-parent</artifactId> |
Clement Escoffier | ed4ca02 | 2013-03-13 15:27:20 +0000 | [diff] [blame] | 25 | <version>2.1</version> |
Clement Escoffier | d7851eb | 2013-03-12 14:24:33 +0000 | [diff] [blame] | 26 | <relativePath>../../../pom/pom.xml</relativePath> |
| 27 | </parent> |
| 28 | <modelVersion>4.0.0</modelVersion> |
| 29 | <artifactId>org.apache.felix.ipojo.runtime.api-it</artifactId> |
| 30 | <version>1.9.0-SNAPSHOT</version> |
| 31 | <name>Apache Felix iPOJO Runtime Project ~ API Integration Tests</name> |
| 32 | <packaging>pom</packaging> |
| 33 | |
| 34 | <build> |
Clement Escoffier | d7851eb | 2013-03-12 14:24:33 +0000 | [diff] [blame] | 35 | <plugins> |
| 36 | <plugin> |
| 37 | <groupId>org.apache.maven.plugins</groupId> |
| 38 | <artifactId>maven-compiler-plugin</artifactId> |
| 39 | <version>2.5.1</version> |
| 40 | <configuration> |
| 41 | <source>1.6</source> |
| 42 | <target>1.6</target> |
| 43 | </configuration> |
| 44 | </plugin> |
| 45 | |
| 46 | <plugin> |
| 47 | <groupId>org.apache.servicemix.tooling</groupId> |
| 48 | <artifactId>depends-maven-plugin</artifactId> |
| 49 | <version>1.2</version> |
| 50 | <executions> |
| 51 | <execution> |
| 52 | <id>generate-config</id> |
| 53 | <goals> |
| 54 | <goal>generate-depends-file</goal> |
| 55 | </goals> |
| 56 | </execution> |
| 57 | </executions> |
| 58 | </plugin> |
Clement Escoffier | ed4ca02 | 2013-03-13 15:27:20 +0000 | [diff] [blame] | 59 | |
| 60 | <plugin> |
| 61 | <groupId>org.apache.rat</groupId> |
| 62 | <artifactId>apache-rat-plugin</artifactId> |
| 63 | <executions> |
| 64 | <execution> |
| 65 | <phase>verify</phase> |
| 66 | <goals> |
| 67 | <goal>check</goal> |
| 68 | </goals> |
| 69 | </execution> |
| 70 | </executions> |
| 71 | <configuration> |
| 72 | <!-- check src only (except remote resources additions) --> |
| 73 | <includes> |
| 74 | <include>src/**</include> |
| 75 | </includes> |
| 76 | <excludes> |
| 77 | <exclude>src/main/appended-resources/**</exclude> |
| 78 | <exclude>**/*.iml</exclude> <!-- Exclude iml files --> |
| 79 | </excludes> |
| 80 | </configuration> |
| 81 | </plugin> |
Clement Escoffier | d7851eb | 2013-03-12 14:24:33 +0000 | [diff] [blame] | 82 | </plugins> |
| 83 | |
| 84 | </build> |
| 85 | |
| 86 | <properties> |
Clement Escoffier | 5b5a074 | 2013-03-17 19:47:43 +0000 | [diff] [blame] | 87 | <exam.version>3.0.0</exam.version> |
Clement Escoffier | d7851eb | 2013-03-12 14:24:33 +0000 | [diff] [blame] | 88 | <url.version>1.5.1</url.version> |
| 89 | </properties> |
| 90 | |
| 91 | <dependencies> |
| 92 | |
| 93 | <dependency> |
| 94 | <groupId>org.ops4j.pax.exam</groupId> |
| 95 | <artifactId>pax-exam-container-native</artifactId> |
| 96 | <version>${exam.version}</version> |
| 97 | <scope>test</scope> |
| 98 | </dependency> |
| 99 | |
| 100 | <dependency> |
| 101 | <groupId>org.ops4j.pax.exam</groupId> |
| 102 | <artifactId>pax-exam-junit4</artifactId> |
| 103 | <version>${exam.version}</version> |
| 104 | <scope>test</scope> |
| 105 | </dependency> |
| 106 | |
| 107 | <dependency> |
| 108 | <groupId>org.ops4j.pax.exam</groupId> |
| 109 | <artifactId>pax-exam-link-mvn</artifactId> |
| 110 | <version>${exam.version}</version> |
| 111 | <scope>test</scope> |
| 112 | </dependency> |
| 113 | |
| 114 | <dependency> |
| 115 | <groupId>org.ops4j.pax.url</groupId> |
| 116 | <artifactId>pax-url-aether</artifactId> |
| 117 | <version>${url.version}</version> |
| 118 | <scope>test</scope> |
| 119 | </dependency> |
| 120 | |
| 121 | <dependency> |
| 122 | <groupId>org.apache.felix</groupId> |
| 123 | <artifactId>org.apache.felix.framework</artifactId> |
| 124 | <version>4.2.0</version> |
| 125 | <scope>test</scope> |
| 126 | </dependency> |
| 127 | |
| 128 | <dependency> |
| 129 | <groupId>ch.qos.logback</groupId> |
| 130 | <artifactId>logback-core</artifactId> |
| 131 | <version>0.9.6</version> |
| 132 | <scope>test</scope> |
| 133 | </dependency> |
| 134 | |
| 135 | <dependency> |
| 136 | <groupId>ch.qos.logback</groupId> |
| 137 | <artifactId>logback-classic</artifactId> |
| 138 | <version>0.9.6</version> |
| 139 | <scope>test</scope> |
| 140 | </dependency> |
| 141 | |
| 142 | |
| 143 | <dependency> |
| 144 | <groupId>junit</groupId> |
| 145 | <artifactId>junit</artifactId> |
| 146 | <version>4.9</version> |
| 147 | <scope>test</scope> |
| 148 | </dependency> |
| 149 | |
| 150 | <dependency> |
| 151 | <groupId>org.mockito</groupId> |
| 152 | <artifactId>mockito-all</artifactId> |
| 153 | <version>1.9.5</version> |
| 154 | </dependency> |
| 155 | |
| 156 | <dependency> |
| 157 | <groupId>org.ops4j.pax.tinybundles</groupId> |
| 158 | <artifactId>tinybundles</artifactId> |
| 159 | <version>1.0.0</version> |
| 160 | </dependency> |
| 161 | |
| 162 | <dependency> |
| 163 | <groupId>org.apache.felix</groupId> |
| 164 | <artifactId>org.apache.felix.ipojo</artifactId> |
| 165 | <version>1.9.0-SNAPSHOT</version> |
| 166 | </dependency> |
| 167 | |
| 168 | <dependency> |
| 169 | <groupId>org.apache.felix</groupId> |
| 170 | <artifactId>org.apache.felix.ipojo.api</artifactId> |
| 171 | <version>1.9.0-SNAPSHOT</version> |
| 172 | </dependency> |
| 173 | |
| 174 | <dependency> |
| 175 | <groupId>org.apache.felix</groupId> |
| 176 | <artifactId>org.apache.felix.ipojo.composite</artifactId> |
| 177 | <version>1.9.0-SNAPSHOT</version> |
| 178 | </dependency> |
| 179 | |
| 180 | <dependency> |
| 181 | <groupId>org.apache.felix</groupId> |
| 182 | <artifactId>org.apache.felix.ipojo.manipulator</artifactId> |
| 183 | <version>1.9.0-SNAPSHOT</version> |
| 184 | </dependency> |
| 185 | |
| 186 | <dependency> |
| 187 | <groupId>org.apache.felix</groupId> |
| 188 | <artifactId>org.apache.felix.configadmin</artifactId> |
| 189 | <version>1.6.0</version> |
| 190 | <scope>test</scope> |
| 191 | </dependency> |
| 192 | |
| 193 | <dependency> |
| 194 | <groupId>org.apache.felix</groupId> |
| 195 | <artifactId>org.apache.felix.ipojo.handler.whiteboard</artifactId> |
| 196 | <version>1.4.0</version> |
| 197 | <scope>test</scope> |
Clement Escoffier | cfae791 | 2013-05-08 16:51:29 +0000 | [diff] [blame] | 198 | <exclusions> |
| 199 | <exclusion> |
| 200 | <groupId>org.apache.felix</groupId> |
| 201 | <artifactId>org.osgi.core</artifactId> |
| 202 | </exclusion> |
| 203 | </exclusions> |
Clement Escoffier | d7851eb | 2013-03-12 14:24:33 +0000 | [diff] [blame] | 204 | </dependency> |
| 205 | |
| 206 | <dependency> |
| 207 | <groupId>commons-io</groupId> |
| 208 | <artifactId>commons-io</artifactId> |
| 209 | <version>2.4</version> |
| 210 | </dependency> |
| 211 | |
| 212 | <dependency> |
| 213 | <groupId>org.ow2.chameleon.testing</groupId> |
| 214 | <artifactId>osgi-helpers</artifactId> |
Clement Escoffier | 75bba6a | 2013-05-07 12:22:52 +0000 | [diff] [blame] | 215 | <version>0.6.1-SNAPSHOT</version> |
Clement Escoffier | d7851eb | 2013-03-12 14:24:33 +0000 | [diff] [blame] | 216 | <scope>test</scope> |
| 217 | </dependency> |
| 218 | |
| 219 | <dependency> |
| 220 | <groupId>org.ow2.chameleon.testing</groupId> |
| 221 | <artifactId>tinybundles-ipojo</artifactId> |
| 222 | <version>0.3.0</version> |
| 223 | </dependency> |
| 224 | |
| 225 | <dependency> |
| 226 | <groupId>org.apache.felix</groupId> |
| 227 | <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId> |
| 228 | <!-- |
| 229 | We use the released version as we don't really have to do any behavioral test on the handler in the core |
| 230 | test. |
| 231 | --> |
| 232 | <version>1.8.0</version> |
| 233 | </dependency> |
| 234 | |
| 235 | <dependency> |
| 236 | <groupId>org.apache.felix</groupId> |
| 237 | <artifactId>org.apache.felix.log</artifactId> |
| 238 | <version>1.0.1</version> |
| 239 | </dependency> |
| 240 | |
| 241 | <dependency> |
| 242 | <groupId>org.ops4j.pax.url</groupId> |
| 243 | <artifactId>pax-url-wrap</artifactId> |
| 244 | <version>1.5.2</version> |
| 245 | </dependency> |
| 246 | </dependencies> |
| 247 | |
| 248 | <profiles> |
| 249 | <profile> |
Clement Escoffier | 3f5d879 | 2013-05-07 16:03:30 +0000 | [diff] [blame] | 250 | <id>release</id> |
| 251 | <build> |
| 252 | <plugins> |
| 253 | <plugin> |
| 254 | <groupId>org.apache.maven.plugins</groupId> |
| 255 | <artifactId>maven-assembly-plugin</artifactId> |
| 256 | <executions> |
| 257 | <execution> |
| 258 | <id>make-assembly</id> |
| 259 | <phase>package</phase> |
| 260 | <goals> |
| 261 | <goal>single</goal> |
| 262 | </goals> |
| 263 | <configuration> |
| 264 | <descriptorRefs> |
| 265 | <descriptorRef>project</descriptorRef> |
| 266 | </descriptorRefs> |
| 267 | <!-- we don't want to attach all the assemblies, such as bz2 --> |
| 268 | <attach>false</attach> |
| 269 | </configuration> |
| 270 | </execution> |
| 271 | </executions> |
| 272 | </plugin> |
| 273 | <plugin> |
| 274 | <!-- only attach the project and bin assemblies, in tar.gz and zip flavors --> |
| 275 | <groupId>org.codehaus.mojo</groupId> |
| 276 | <artifactId>build-helper-maven-plugin</artifactId> |
| 277 | <executions> |
| 278 | <execution> |
| 279 | <id>attach-assemblies</id> |
| 280 | <phase>package</phase> |
| 281 | <goals> |
| 282 | <goal>attach-artifact</goal> |
| 283 | </goals> |
| 284 | <configuration> |
| 285 | <artifacts> |
| 286 | <artifact> |
| 287 | <file> |
| 288 | ${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz |
| 289 | </file> |
| 290 | <classifier>project</classifier> |
| 291 | <type>tar.gz</type> |
| 292 | </artifact> |
| 293 | <artifact> |
| 294 | <file> |
| 295 | ${project.build.directory}/${project.artifactId}-${project.version}-project.zip |
| 296 | </file> |
| 297 | <classifier>project</classifier> |
| 298 | <type>zip</type> |
| 299 | </artifact> |
| 300 | </artifacts> |
| 301 | </configuration> |
| 302 | </execution> |
| 303 | </executions> |
| 304 | </plugin> |
| 305 | </plugins> |
| 306 | </build> |
| 307 | </profile> |
| 308 | |
| 309 | <profile> |
Clement Escoffier | d7851eb | 2013-03-12 14:24:33 +0000 | [diff] [blame] | 310 | <id>knopflerfish</id> |
| 311 | <activation> |
| 312 | <activeByDefault>false</activeByDefault> |
| 313 | <property> |
| 314 | <name>pax.exam.framework</name> |
| 315 | <value>knopflerfish</value> |
| 316 | </property> |
| 317 | </activation> |
| 318 | <properties> |
| 319 | <pax.exam.framework>knopflerfish</pax.exam.framework> |
| 320 | </properties> |
| 321 | <repositories> |
| 322 | <repository> |
| 323 | <id>knopflerfish-releases</id> |
| 324 | <url>http://www.knopflerfish.org/maven2</url> |
| 325 | </repository> |
| 326 | </repositories> |
| 327 | <dependencies> |
| 328 | <dependency> |
| 329 | <groupId>org.knopflerfish</groupId> |
| 330 | <artifactId>framework</artifactId> |
| 331 | <version>5.2.0</version> |
| 332 | <scope>test</scope> |
| 333 | </dependency> |
| 334 | </dependencies> |
| 335 | </profile> |
| 336 | |
| 337 | <profile> |
| 338 | <id>equinox</id> |
| 339 | <activation> |
| 340 | <activeByDefault>false</activeByDefault> |
| 341 | <property> |
| 342 | <name>pax.exam.framework</name> |
| 343 | <value>equinox</value> |
| 344 | </property> |
| 345 | </activation> |
| 346 | <properties> |
| 347 | <pax.exam.framework>equinox</pax.exam.framework> |
| 348 | </properties> |
| 349 | <dependencies> |
| 350 | <dependency> |
| 351 | <groupId>org.eclipse.tycho</groupId> |
| 352 | <artifactId>org.eclipse.osgi</artifactId> |
| 353 | <version>3.8.1.v20120830-144521</version> |
| 354 | <scope>test</scope> |
| 355 | </dependency> |
| 356 | </dependencies> |
| 357 | </profile> |
| 358 | |
| 359 | <profile> |
| 360 | <id>felix</id> |
| 361 | <activation> |
| 362 | <activeByDefault>false</activeByDefault> |
| 363 | <property> |
| 364 | <name>pax.exam.framework</name> |
| 365 | <value>felix</value> |
| 366 | </property> |
| 367 | </activation> |
| 368 | <properties> |
| 369 | <pax.exam.framework>felix</pax.exam.framework> |
| 370 | </properties> |
| 371 | <dependencies> |
| 372 | <dependency> |
| 373 | <groupId>org.apache.felix</groupId> |
| 374 | <artifactId>org.apache.felix.framework</artifactId> |
| 375 | <version>4.2.0</version> |
| 376 | <scope>test</scope> |
| 377 | </dependency> |
| 378 | </dependencies> |
| 379 | </profile> |
| 380 | |
| 381 | <profile> |
| 382 | <id>test</id> |
| 383 | <activation> |
| 384 | <activeByDefault>true</activeByDefault> |
| 385 | </activation> |
| 386 | <build> |
| 387 | <plugins> |
| 388 | <plugin> |
| 389 | <groupId>org.apache.maven.plugins</groupId> |
| 390 | <artifactId>maven-invoker-plugin</artifactId> |
| 391 | <version>1.8</version> |
| 392 | <configuration> |
| 393 | <streamLogs>true</streamLogs> |
| 394 | <goals> |
| 395 | <goal>clean</goal> |
| 396 | <goal>test</goal> |
| 397 | </goals> |
| 398 | <cloneClean>true</cloneClean> |
| 399 | </configuration> |
| 400 | <executions> |
| 401 | <execution> |
| 402 | <id>regular</id> |
| 403 | <goals> |
| 404 | <goal>run</goal> |
| 405 | </goals> |
| 406 | <configuration> |
| 407 | <profiles> |
| 408 | <profile>felix</profile> |
| 409 | </profiles> |
| 410 | <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo> |
| 411 | </configuration> |
| 412 | </execution> |
| 413 | </executions> |
| 414 | </plugin> |
| 415 | </plugins> |
| 416 | </build> |
| 417 | </profile> |
| 418 | |
| 419 | <profile> |
| 420 | <id>test-all</id> |
| 421 | <activation> |
| 422 | <activeByDefault>false</activeByDefault> |
| 423 | </activation> |
| 424 | <build> |
| 425 | <plugins> |
| 426 | <plugin> |
| 427 | <groupId>org.apache.maven.plugins</groupId> |
| 428 | <artifactId>maven-invoker-plugin</artifactId> |
| 429 | <version>1.8</version> |
| 430 | <configuration> |
| 431 | <streamLogs>true</streamLogs> |
| 432 | <goals> |
| 433 | <goal>clean</goal> |
| 434 | <goal>test</goal> |
| 435 | </goals> |
| 436 | <cloneClean>true</cloneClean> |
| 437 | </configuration> |
| 438 | <executions> |
| 439 | <execution> |
| 440 | <id>equinox-native</id> |
| 441 | <goals> |
| 442 | <goal>run</goal> |
| 443 | </goals> |
| 444 | <configuration> |
| 445 | <profiles> |
| 446 | <profile>equinox</profile> |
| 447 | </profiles> |
| 448 | <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo> |
| 449 | |
| 450 | </configuration> |
| 451 | </execution> |
| 452 | <execution> |
| 453 | <id>felix-native</id> |
| 454 | <goals> |
| 455 | <goal>run</goal> |
| 456 | </goals> |
| 457 | <configuration> |
| 458 | <profiles> |
| 459 | <profile>felix</profile> |
| 460 | </profiles> |
| 461 | <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo> |
| 462 | </configuration> |
| 463 | </execution> |
| 464 | <execution> |
| 465 | <id>knopflerfish-native</id> |
| 466 | <goals> |
| 467 | <goal>run</goal> |
| 468 | </goals> |
| 469 | <configuration> |
| 470 | <profiles> |
| 471 | <profile>knopflerfish</profile> |
| 472 | </profiles> |
| 473 | <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo> |
| 474 | </configuration> |
| 475 | </execution> |
| 476 | </executions> |
| 477 | </plugin> |
| 478 | </plugins> |
| 479 | </build> |
| 480 | </profile> |
| 481 | </profiles> |
Clement Escoffier | aae9de1 | 2013-05-08 17:29:34 +0000 | [diff] [blame] | 482 | |
| 483 | <repositories> |
| 484 | <!-- Temporal addition of this repository until the osgi-helper are released --> |
| 485 | <!-- TODO remove this before the release --> |
| 486 | <repository> |
| 487 | <id>ow2.snapshots</id> |
| 488 | <url>http://repository.ow2.org/nexus/content/repositories/snapshots/</url> |
| 489 | </repository> |
| 490 | </repositories> |
Clement Escoffier | d7851eb | 2013-03-12 14:24:33 +0000 | [diff] [blame] | 491 | </project> |