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