Clement Escoffier | f4622e5 | 2010-05-01 10:21:51 +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="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 20 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
Clement Escoffier | 95358cb | 2011-08-18 11:36:08 +0000 | [diff] [blame^] | 21 | <parent> |
| 22 | <groupId>ipojo.tests</groupId> |
| 23 | <artifactId>ipojo.tests</artifactId> |
| 24 | <version>1.5.0-SNAPSHOT</version> |
| 25 | <relativePath>../../pom.xml</relativePath> |
| 26 | </parent> |
Clement Escoffier | c667355 | 2010-02-21 09:44:38 +0000 | [diff] [blame] | 27 | <modelVersion>4.0.0</modelVersion> |
| 28 | <groupId>ipojo.tests</groupId> |
| 29 | <artifactId>tests.core.dependency.optional</artifactId> |
| 30 | <name>iPOJO Optional Dependency Test Suite</name> |
Clement Escoffier | 345e79a | 2011-02-23 10:36:42 +0000 | [diff] [blame] | 31 | <version>${ipojo.core.snapshot}</version> |
Clement Escoffier | c667355 | 2010-02-21 09:44:38 +0000 | [diff] [blame] | 32 | <description>Test the optional dependencies</description> |
| 33 | |
| 34 | <build> |
| 35 | <plugins> |
| 36 | <plugin> |
| 37 | <groupId>org.apache.maven.plugins</groupId> |
| 38 | <artifactId>maven-compiler-plugin</artifactId> |
| 39 | <configuration> |
| 40 | <source>1.5</source> |
| 41 | <target>1.5</target> |
| 42 | </configuration> |
| 43 | </plugin> |
| 44 | <plugin> |
| 45 | <groupId>org.apache.servicemix.tooling</groupId> |
| 46 | <artifactId>depends-maven-plugin</artifactId> |
Clement Escoffier | f4622e5 | 2010-05-01 10:21:51 +0000 | [diff] [blame] | 47 | <version>1.2</version> |
Clement Escoffier | c667355 | 2010-02-21 09:44:38 +0000 | [diff] [blame] | 48 | <executions> |
| 49 | <execution> |
| 50 | <id>generate-depends-file</id> |
| 51 | <goals> |
| 52 | <goal>generate-depends-file</goal> |
| 53 | </goals> |
| 54 | </execution> |
| 55 | </executions> |
| 56 | </plugin> |
| 57 | |
| 58 | </plugins> |
| 59 | </build> |
| 60 | |
| 61 | <dependencies> |
| 62 | <dependency> |
| 63 | <groupId>org.apache.felix</groupId> |
| 64 | <artifactId>org.apache.felix.ipojo</artifactId> |
Clement Escoffier | 345e79a | 2011-02-23 10:36:42 +0000 | [diff] [blame] | 65 | <version>${ipojo.core.snapshot}</version> |
Clement Escoffier | c667355 | 2010-02-21 09:44:38 +0000 | [diff] [blame] | 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>org.apache.felix</groupId> |
| 69 | <artifactId>org.apache.felix.ipojo.annotations</artifactId> |
Clement Escoffier | 345e79a | 2011-02-23 10:36:42 +0000 | [diff] [blame] | 70 | <version>${ipojo.core.snapshot}</version> |
Clement Escoffier | c667355 | 2010-02-21 09:44:38 +0000 | [diff] [blame] | 71 | </dependency> |
| 72 | <!-- |
Clement Escoffier | c667355 | 2010-02-21 09:44:38 +0000 | [diff] [blame] | 73 | Pax Exam API: |
| 74 | --> |
| 75 | <dependency> |
| 76 | <groupId>org.ops4j.pax.exam</groupId> |
| 77 | <artifactId>pax-exam</artifactId> |
| 78 | <version>1.2.0</version> |
| 79 | </dependency> |
| 80 | <!-- |
| 81 | During runtime Pax Exam will discover the OSGi container to use by |
| 82 | searching metadata available into classpath. Pax Exam comes with a |
| 83 | default container that uses [Pax Runner] for implementing the |
| 84 | container requirements: |
| 85 | --> |
| 86 | <dependency> |
| 87 | <groupId>org.ops4j.pax.exam</groupId> |
| 88 | <artifactId>pax-exam-container-default |
| 89 | </artifactId> |
| 90 | <version>1.2.0</version> |
| 91 | </dependency> |
| 92 | <!-- |
| 93 | If your test code is based on JUnit you will have to have the Junit |
| 94 | support artifact: |
| 95 | --> |
| 96 | <dependency> |
| 97 | <groupId>org.ops4j.pax.exam</groupId> |
| 98 | <artifactId>pax-exam-junit</artifactId> |
| 99 | <version>1.2.0</version> |
| 100 | </dependency> |
| 101 | <dependency> |
| 102 | <groupId>junit</groupId> |
| 103 | <artifactId>junit</artifactId> |
| 104 | <version>4.5</version> |
| 105 | <type>jar</type> |
| 106 | <scope>test</scope> |
| 107 | </dependency> |
| 108 | <!-- Tinybundles --> |
| 109 | <dependency> |
| 110 | <groupId>org.ops4j.pax.swissbox</groupId> |
| 111 | <artifactId>pax-swissbox-tinybundles</artifactId> |
| 112 | <version>1.2.0</version> |
| 113 | </dependency> |
| 114 | <dependency> |
Clement Escoffier | f4622e5 | 2010-05-01 10:21:51 +0000 | [diff] [blame] | 115 | <groupId>org.ow2.chameleon.testing</groupId> |
| 116 | <artifactId>tinybundles-ipojo</artifactId> |
Clement Escoffier | c667355 | 2010-02-21 09:44:38 +0000 | [diff] [blame] | 117 | </dependency> |
| 118 | <dependency> |
Clement Escoffier | f4622e5 | 2010-05-01 10:21:51 +0000 | [diff] [blame] | 119 | <groupId>org.ow2.chameleon.testing</groupId> |
| 120 | <artifactId>osgi-helpers</artifactId> |
Clement Escoffier | c667355 | 2010-02-21 09:44:38 +0000 | [diff] [blame] | 121 | </dependency> |
| 122 | </dependencies> |
| 123 | |
| 124 | <repositories> |
| 125 | <repository> |
| 126 | <id>ops4j.releases</id> |
| 127 | <name>OPS4J Release</name> |
| 128 | <url> http://repository.ops4j.org/maven2/</url> |
| 129 | <releases> |
| 130 | <enabled>true</enabled> |
| 131 | </releases> |
| 132 | <snapshots> |
| 133 | <enabled>false</enabled> |
| 134 | </snapshots> |
| 135 | </repository> |
| 136 | </repositories> |
| 137 | |
| 138 | </project> |