blob: 293c83219b8926196340bf475bb42e3ca0eba174 [file] [log] [blame]
Pierre De Rop5ab26d82013-10-08 10:00:38 +00001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to you under the Apache License, Version
7 2.0 (the "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 Unless required by
11 applicable law or agreed to in writing, software distributed under
12 the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
13 OR CONDITIONS OF ANY KIND, either express or implied. See the
14 License for the specific language governing permissions and
15 limitations under the License.
16 -->
17<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
19 <modelVersion>4.0.0</modelVersion>
20 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
23 <version>2.1</version>
24 <relativePath>../../pom/pom.xml</relativePath>
25 </parent>
26
27 <artifactId>org.apache.felix.dependencymanager.test2</artifactId>
28 <version>1.0.0-SNAPSHOT</version>
29 <packaging>bundle</packaging>
30
31 <name>Apache Felix Dependency Manager Integration Tests 2</name>
32
33 <properties>
34 <bundle.build.name>
35 ${basedir}/target
36 </bundle.build.name>
37 <bundle.file.name>
38 ${bundle.build.name}/${project.build.finalName}.jar
39 </bundle.file.name>
40
41 <felix.build.source>5</felix.build.source>
42 <felix.build.target>5</felix.build.target>
43 <felix.java.signature.artifactId>java15</felix.java.signature.artifactId>
44 <exam.version>3.0.0</exam.version>
45 <url.version>1.5.2</url.version>
46 </properties>
47
48 <dependencies>
49 <dependency>
50 <groupId>org.osgi</groupId>
51 <artifactId>org.osgi.core</artifactId>
52 <version>5.0.0</version>
53 <scope>provided</scope>
54 </dependency>
55 <dependency>
56 <groupId>org.osgi</groupId>
57 <artifactId>org.osgi.compendium</artifactId>
58 <version>5.0.0</version>
59 <scope>provided</scope>
60 </dependency>
61 <dependency>
62 <groupId>org.apache.felix</groupId>
63 <artifactId>org.apache.felix.dependencymanager</artifactId>
64 <version>3.1.1-SNAPSHOT</version>
65 <scope>provided</scope>
66 </dependency>
67 <dependency>
68 <groupId>junit</groupId>
69 <artifactId>junit</artifactId>
70 <version>4.6</version>
71 <scope>provided</scope>
72 </dependency>
73
74 <!-- Integration Testing with Pax Exam -->
75 <dependency>
76 <groupId>org.ops4j.pax.exam</groupId>
77 <artifactId>pax-exam-container-native</artifactId>
78 <version>${exam.version}</version>
79 <scope>test</scope>
80 </dependency>
81
82 <dependency>
83 <groupId>org.ops4j.pax.exam</groupId>
84 <artifactId>pax-exam-junit4</artifactId>
85 <version>${exam.version}</version>
86 <scope>test</scope>
87 </dependency>
88
89 <dependency>
90 <groupId>org.ops4j.pax.exam</groupId>
91 <artifactId>pax-exam-link-mvn</artifactId>
92 <version>${exam.version}</version>
93 <scope>test</scope>
94 </dependency>
95
96 <dependency>
97 <groupId>org.ops4j.pax.url</groupId>
98 <artifactId>pax-url-aether</artifactId>
99 <version>${url.version}</version>
100 <scope>test</scope>
101 </dependency>
102
103 <dependency>
104 <groupId>org.apache.felix</groupId>
105 <artifactId>org.apache.felix.framework</artifactId>
106 <version>4.2.1</version>
107 <scope>test</scope>
108 </dependency>
109
110 <dependency>
111 <groupId>ch.qos.logback</groupId>
112 <artifactId>logback-core</artifactId>
113 <version>0.9.20</version>
114 <scope>test</scope>
115 </dependency>
116
117 <dependency>
118 <groupId>ch.qos.logback</groupId>
119 <artifactId>logback-classic</artifactId>
120 <version>0.9.20</version>
121 <scope>test</scope>
122 </dependency>
123
124 <!-- Dependency Manager Annotations -->
125 <dependency>
126 <groupId>org.apache.felix</groupId>
127 <artifactId>org.apache.felix.dependencymanager.annotation</artifactId>
128 <version>3.1.1-SNAPSHOT</version>
129 </dependency>
130 </dependencies>
131
132 <build>
133 <plugins>
134 <!-- Build the bundle which contains various components used by integration tests -->
135 <plugin>
136 <groupId>org.apache.felix</groupId>
137 <artifactId>maven-bundle-plugin</artifactId>
138 <version>2.3.7</version>
139 <extensions>true</extensions>
140 <configuration>
141 <instructions>
142 <Bundle-Name>Apache Felix Dependency Manager Annotations Tests</Bundle-Name>
143 <Bundle-SymbolicName>org.apache.felix.dependencymanager.test2.components</Bundle-SymbolicName>
144 <Export-Package>org.apache.felix.dependencymanager.test2.components</Export-Package>
145 </instructions>
146 </configuration>
147 </plugin>
148
149 <!-- java 5 required for annotations support -->
150 <plugin>
151 <artifactId>maven-compiler-plugin</artifactId>
152 <configuration>
153 <source>1.5</source>
154 <target>1.5</target>
155 </configuration>
156 </plugin>
157
158 <!-- DM annotation plugin used to parse annotations from org.apache.felix.dependencymanager.test2.components artifact -->
159 <plugin>
160 <groupId>org.apache.felix</groupId>
161 <artifactId>org.apache.felix.dependencymanager.annotation</artifactId>
162 <version>3.1.1-SNAPSHOT</version>
163 <executions>
164 <execution>
165 <goals>
166 <goal>scan</goal>
167 </goals>
168 <configuration>
169 <log>debug</log>
170 <!-- generated-output-dir>.</generated-output-dir> -->
171 </configuration>
172 </execution>
173 </executions>
174 </plugin>
175
176 <!-- We have no unit tests, we only have integration tests -->
177 <plugin>
178 <artifactId>maven-surefire-plugin</artifactId>
179 <executions>
180 <execution>
181 <id>surefire-it</id>
182 <phase>integration-test</phase>
183 <goals>
184 <goal>test</goal>
185 </goals>
186 <configuration>
187 <systemProperties>
188 <property>
189 <name>project.bundle.file</name>
190 <value>${bundle.file.name}</value>
191 </property>
192 </systemProperties>
193 <excludes>
194 <exclude>**/components/*</exclude>
195 </excludes>
196 <includes>
Pierre De Rop968695e2013-10-10 20:26:34 +0000197 <!-- By default, all integration tests are run. For running a specific test,
198 you can specify a given test below: for example:
199 <include>**/integration/**/AspectBaseTest.java</include>
200 -->
Pierre De Rop4bca33c2013-10-11 08:15:26 +0000201 <include>**/integration/**/*.java</include>
Pierre De Rop5ab26d82013-10-08 10:00:38 +0000202 </includes>
203 </configuration>
204 </execution>
205 </executions>
206 <configuration>
207 <excludes>
208 <exclude>**/integration/**</exclude>
209 </excludes>
210 </configuration>
211 </plugin>
212 </plugins>
213 </build>
214</project>