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> |
| 198 | </dependency> |
| 199 | |
| 200 | <dependency> |
| 201 | <groupId>commons-io</groupId> |
| 202 | <artifactId>commons-io</artifactId> |
| 203 | <version>2.4</version> |
| 204 | </dependency> |
| 205 | |
| 206 | <dependency> |
| 207 | <groupId>org.ow2.chameleon.testing</groupId> |
| 208 | <artifactId>osgi-helpers</artifactId> |
| 209 | <version>0.6.0</version> |
| 210 | <scope>test</scope> |
| 211 | </dependency> |
| 212 | |
| 213 | <dependency> |
| 214 | <groupId>org.ow2.chameleon.testing</groupId> |
| 215 | <artifactId>tinybundles-ipojo</artifactId> |
| 216 | <version>0.3.0</version> |
| 217 | </dependency> |
| 218 | |
| 219 | <dependency> |
| 220 | <groupId>org.apache.felix</groupId> |
| 221 | <artifactId>org.apache.felix.ipojo.handler.eventadmin</artifactId> |
| 222 | <!-- |
| 223 | We use the released version as we don't really have to do any behavioral test on the handler in the core |
| 224 | test. |
| 225 | --> |
| 226 | <version>1.8.0</version> |
| 227 | </dependency> |
| 228 | |
| 229 | <dependency> |
| 230 | <groupId>org.apache.felix</groupId> |
| 231 | <artifactId>org.apache.felix.log</artifactId> |
| 232 | <version>1.0.1</version> |
| 233 | </dependency> |
| 234 | |
| 235 | <dependency> |
| 236 | <groupId>org.ops4j.pax.url</groupId> |
| 237 | <artifactId>pax-url-wrap</artifactId> |
| 238 | <version>1.5.2</version> |
| 239 | </dependency> |
| 240 | </dependencies> |
| 241 | |
| 242 | <profiles> |
| 243 | <profile> |
| 244 | <id>release</id> |
| 245 | <build> |
| 246 | <plugins> |
| 247 | <plugin> |
| 248 | <groupId>org.apache.maven.plugins</groupId> |
| 249 | <artifactId>maven-assembly-plugin</artifactId> |
| 250 | <executions> |
| 251 | <execution> |
| 252 | <id>make-assembly</id> |
| 253 | <phase>package</phase> |
| 254 | <goals> |
| 255 | <goal>single</goal> |
| 256 | </goals> |
| 257 | <configuration> |
| 258 | <descriptorRefs> |
| 259 | <descriptorRef>project</descriptorRef> |
| 260 | </descriptorRefs> |
| 261 | <!-- we don't want to attach all the assemblies, such as bz2 --> |
| 262 | <attach>false</attach> |
| 263 | </configuration> |
| 264 | </execution> |
| 265 | </executions> |
| 266 | </plugin> |
| 267 | <plugin> |
| 268 | <!-- only attach the project and bin assemblies, in tar.gz and zip flavors --> |
| 269 | <groupId>org.codehaus.mojo</groupId> |
| 270 | <artifactId>build-helper-maven-plugin</artifactId> |
| 271 | <executions> |
| 272 | <execution> |
| 273 | <id>attach-assemblies</id> |
| 274 | <phase>package</phase> |
| 275 | <goals> |
| 276 | <goal>attach-artifact</goal> |
| 277 | </goals> |
| 278 | <configuration> |
| 279 | <artifacts> |
| 280 | <artifact> |
| 281 | <file> |
| 282 | ${project.build.directory}/${project.artifactId}-${project.version}-project.tar.gz |
| 283 | </file> |
| 284 | <classifier>project</classifier> |
| 285 | <type>tar.gz</type> |
| 286 | </artifact> |
| 287 | <artifact> |
| 288 | <file> |
| 289 | ${project.build.directory}/${project.artifactId}-${project.version}-project.zip |
| 290 | </file> |
| 291 | <classifier>project</classifier> |
| 292 | <type>zip</type> |
| 293 | </artifact> |
| 294 | </artifacts> |
| 295 | </configuration> |
| 296 | </execution> |
| 297 | </executions> |
| 298 | </plugin> |
| 299 | </plugins> |
| 300 | </build> |
| 301 | </profile> |
| 302 | |
| 303 | <profile> |
| 304 | <id>knopflerfish</id> |
| 305 | <activation> |
| 306 | <activeByDefault>false</activeByDefault> |
| 307 | <property> |
| 308 | <name>pax.exam.framework</name> |
| 309 | <value>knopflerfish</value> |
| 310 | </property> |
| 311 | </activation> |
| 312 | <properties> |
| 313 | <pax.exam.framework>knopflerfish</pax.exam.framework> |
| 314 | </properties> |
| 315 | <repositories> |
| 316 | <repository> |
| 317 | <id>knopflerfish-releases</id> |
| 318 | <url>http://www.knopflerfish.org/maven2</url> |
| 319 | </repository> |
| 320 | </repositories> |
| 321 | <dependencies> |
| 322 | <dependency> |
| 323 | <groupId>org.knopflerfish</groupId> |
| 324 | <artifactId>framework</artifactId> |
| 325 | <version>5.2.0</version> |
| 326 | <scope>test</scope> |
| 327 | </dependency> |
| 328 | </dependencies> |
| 329 | </profile> |
| 330 | |
| 331 | <profile> |
| 332 | <id>equinox</id> |
| 333 | <activation> |
| 334 | <activeByDefault>false</activeByDefault> |
| 335 | <property> |
| 336 | <name>pax.exam.framework</name> |
| 337 | <value>equinox</value> |
| 338 | </property> |
| 339 | </activation> |
| 340 | <properties> |
| 341 | <pax.exam.framework>equinox</pax.exam.framework> |
| 342 | </properties> |
| 343 | <dependencies> |
| 344 | <dependency> |
| 345 | <groupId>org.eclipse.tycho</groupId> |
| 346 | <artifactId>org.eclipse.osgi</artifactId> |
| 347 | <version>3.8.1.v20120830-144521</version> |
| 348 | <scope>test</scope> |
| 349 | </dependency> |
| 350 | </dependencies> |
| 351 | </profile> |
| 352 | |
| 353 | <profile> |
| 354 | <id>felix</id> |
| 355 | <activation> |
| 356 | <activeByDefault>false</activeByDefault> |
| 357 | <property> |
| 358 | <name>pax.exam.framework</name> |
| 359 | <value>felix</value> |
| 360 | </property> |
| 361 | </activation> |
| 362 | <properties> |
| 363 | <pax.exam.framework>felix</pax.exam.framework> |
| 364 | </properties> |
| 365 | <dependencies> |
| 366 | <dependency> |
| 367 | <groupId>org.apache.felix</groupId> |
| 368 | <artifactId>org.apache.felix.framework</artifactId> |
| 369 | <version>4.2.0</version> |
| 370 | <scope>test</scope> |
| 371 | </dependency> |
| 372 | </dependencies> |
| 373 | </profile> |
| 374 | |
| 375 | <profile> |
| 376 | <id>test</id> |
| 377 | <activation> |
| 378 | <activeByDefault>true</activeByDefault> |
| 379 | </activation> |
| 380 | <build> |
| 381 | <plugins> |
| 382 | <plugin> |
| 383 | <groupId>org.apache.maven.plugins</groupId> |
| 384 | <artifactId>maven-invoker-plugin</artifactId> |
| 385 | <version>1.8</version> |
| 386 | <configuration> |
| 387 | <streamLogs>true</streamLogs> |
| 388 | <goals> |
| 389 | <goal>clean</goal> |
| 390 | <goal>test</goal> |
| 391 | </goals> |
| 392 | <cloneClean>true</cloneClean> |
| 393 | </configuration> |
| 394 | <executions> |
| 395 | <execution> |
| 396 | <id>regular</id> |
| 397 | <goals> |
| 398 | <goal>run</goal> |
| 399 | </goals> |
| 400 | <configuration> |
| 401 | <profiles> |
| 402 | <profile>felix</profile> |
| 403 | </profiles> |
| 404 | <cloneProjectsTo>${project.build.directory}/regular</cloneProjectsTo> |
| 405 | </configuration> |
| 406 | </execution> |
| 407 | </executions> |
| 408 | </plugin> |
| 409 | </plugins> |
| 410 | </build> |
| 411 | </profile> |
| 412 | |
| 413 | <profile> |
| 414 | <id>test-all</id> |
| 415 | <activation> |
| 416 | <activeByDefault>false</activeByDefault> |
| 417 | </activation> |
| 418 | <build> |
| 419 | <plugins> |
| 420 | <plugin> |
| 421 | <groupId>org.apache.maven.plugins</groupId> |
| 422 | <artifactId>maven-invoker-plugin</artifactId> |
| 423 | <version>1.8</version> |
| 424 | <configuration> |
| 425 | <streamLogs>true</streamLogs> |
| 426 | <goals> |
| 427 | <goal>clean</goal> |
| 428 | <goal>test</goal> |
| 429 | </goals> |
| 430 | <cloneClean>true</cloneClean> |
| 431 | </configuration> |
| 432 | <executions> |
| 433 | <execution> |
| 434 | <id>equinox-native</id> |
| 435 | <goals> |
| 436 | <goal>run</goal> |
| 437 | </goals> |
| 438 | <configuration> |
| 439 | <profiles> |
| 440 | <profile>equinox</profile> |
| 441 | </profiles> |
| 442 | <cloneProjectsTo>${project.build.directory}/equinox-native</cloneProjectsTo> |
| 443 | |
| 444 | </configuration> |
| 445 | </execution> |
| 446 | <execution> |
| 447 | <id>felix-native</id> |
| 448 | <goals> |
| 449 | <goal>run</goal> |
| 450 | </goals> |
| 451 | <configuration> |
| 452 | <profiles> |
| 453 | <profile>felix</profile> |
| 454 | </profiles> |
| 455 | <cloneProjectsTo>${project.build.directory}/felix-native</cloneProjectsTo> |
| 456 | </configuration> |
| 457 | </execution> |
| 458 | <execution> |
| 459 | <id>knopflerfish-native</id> |
| 460 | <goals> |
| 461 | <goal>run</goal> |
| 462 | </goals> |
| 463 | <configuration> |
| 464 | <profiles> |
| 465 | <profile>knopflerfish</profile> |
| 466 | </profiles> |
| 467 | <cloneProjectsTo>${project.build.directory}/knopflerfish-native</cloneProjectsTo> |
| 468 | </configuration> |
| 469 | </execution> |
| 470 | </executions> |
| 471 | </plugin> |
| 472 | </plugins> |
| 473 | </build> |
| 474 | </profile> |
| 475 | </profiles> |
| 476 | </project> |