blob: 82d8e6eee2a28a527381b4cd53eb6898dbcd22f8 [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
Pierre De Rop30ff9862013-10-15 16:57:40 +000027 <artifactId>org.apache.felix.dependencymanager.test</artifactId>
Pierre De Ropf25f9312014-07-13 14:57:58 +000028 <version>3.2.0-SNAPSHOT</version>
Pierre De Rop5ab26d82013-10-08 10:00:38 +000029 <packaging>bundle</packaging>
30
Pierre De Rop30ff9862013-10-15 16:57:40 +000031 <name>Apache Felix Dependency Manager Integration Tests</name>
Pierre De Rop5ab26d82013-10-08 10:00:38 +000032
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>
Pierre De Ropf25f9312014-07-13 14:57:58 +000064 <version>3.2.0-SNAPSHOT</version>
Pierre De Rop5ab26d82013-10-08 10:00:38 +000065 <scope>provided</scope>
66 </dependency>
Pierre De Rop57ba1092013-12-14 07:12:34 +000067 <dependency>
68 <groupId>${pom.groupId}</groupId>
69 <artifactId>org.apache.felix.gogo.runtime</artifactId>
70 <version>0.10.0</version>
71 <scope>provided</scope>
72 </dependency>
Pierre De Rop14979bd2013-10-13 08:47:15 +000073 <dependency>
Pierre De Rop5ab26d82013-10-08 10:00:38 +000074 <groupId>junit</groupId>
75 <artifactId>junit</artifactId>
76 <version>4.6</version>
77 <scope>provided</scope>
78 </dependency>
79
80 <!-- Integration Testing with Pax Exam -->
Pierre De Rop313b4802013-10-16 10:51:12 +000081 <!--
Pierre De Rop5ab26d82013-10-08 10:00:38 +000082 <dependency>
83 <groupId>org.ops4j.pax.exam</groupId>
84 <artifactId>pax-exam-container-native</artifactId>
85 <version>${exam.version}</version>
86 <scope>test</scope>
87 </dependency>
Pierre De Rop313b4802013-10-16 10:51:12 +000088 -->
89 <dependency>
90 <groupId>org.ops4j.pax.exam</groupId>
91 <artifactId>pax-exam-container-forked</artifactId>
92 <version>${exam.version}</version>
93 <scope>test</scope>
94 </dependency>
95
Pierre De Rop5ab26d82013-10-08 10:00:38 +000096 <dependency>
97 <groupId>org.ops4j.pax.exam</groupId>
98 <artifactId>pax-exam-junit4</artifactId>
99 <version>${exam.version}</version>
100 <scope>test</scope>
101 </dependency>
102
103 <dependency>
104 <groupId>org.ops4j.pax.exam</groupId>
105 <artifactId>pax-exam-link-mvn</artifactId>
106 <version>${exam.version}</version>
107 <scope>test</scope>
108 </dependency>
109
110 <dependency>
111 <groupId>org.ops4j.pax.url</groupId>
112 <artifactId>pax-url-aether</artifactId>
113 <version>${url.version}</version>
114 <scope>test</scope>
115 </dependency>
116
117 <dependency>
118 <groupId>org.apache.felix</groupId>
119 <artifactId>org.apache.felix.framework</artifactId>
120 <version>4.2.1</version>
121 <scope>test</scope>
122 </dependency>
123
124 <dependency>
125 <groupId>ch.qos.logback</groupId>
126 <artifactId>logback-core</artifactId>
Pierre De Rop313b4802013-10-16 10:51:12 +0000127 <version>0.9.29</version>
Pierre De Rop5ab26d82013-10-08 10:00:38 +0000128 <scope>test</scope>
129 </dependency>
130
131 <dependency>
132 <groupId>ch.qos.logback</groupId>
133 <artifactId>logback-classic</artifactId>
Pierre De Rop313b4802013-10-16 10:51:12 +0000134 <version>0.9.29</version>
Pierre De Rop5ab26d82013-10-08 10:00:38 +0000135 <scope>test</scope>
136 </dependency>
137
138 <!-- Dependency Manager Annotations -->
139 <dependency>
140 <groupId>org.apache.felix</groupId>
141 <artifactId>org.apache.felix.dependencymanager.annotation</artifactId>
Pierre De Ropf25f9312014-07-13 14:57:58 +0000142 <version>3.2.0-SNAPSHOT</version>
Pierre De Rop5ab26d82013-10-08 10:00:38 +0000143 </dependency>
144 </dependencies>
145
146 <build>
147 <plugins>
148 <!-- Build the bundle which contains various components used by integration tests -->
149 <plugin>
150 <groupId>org.apache.felix</groupId>
151 <artifactId>maven-bundle-plugin</artifactId>
Pierre De Ropf25f9312014-07-13 14:57:58 +0000152 <version>2.3.7</version>
Pierre De Rop5ab26d82013-10-08 10:00:38 +0000153 <extensions>true</extensions>
154 <configuration>
155 <instructions>
156 <Bundle-Name>Apache Felix Dependency Manager Annotations Tests</Bundle-Name>
Pierre De Rop0b67b3c2013-10-16 10:29:56 +0000157 <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
Pierre De Rop30ff9862013-10-15 16:57:40 +0000158 <Export-Package>org.apache.felix.dm.test.components</Export-Package>
Pierre De Rop57ba1092013-12-14 07:12:34 +0000159 <Import-Package>org.apache.felix.service.command; status="provisional", *</Import-Package>
Pierre De Rop5ab26d82013-10-08 10:00:38 +0000160 </instructions>
161 </configuration>
162 </plugin>
163
164 <!-- java 5 required for annotations support -->
165 <plugin>
166 <artifactId>maven-compiler-plugin</artifactId>
167 <configuration>
168 <source>1.5</source>
169 <target>1.5</target>
170 </configuration>
171 </plugin>
172
Pierre De Rop30ff9862013-10-15 16:57:40 +0000173 <!-- DM annotation plugin used to parse annotations from org.apache.felix.dm.test.components artifact -->
Pierre De Rop5ab26d82013-10-08 10:00:38 +0000174 <plugin>
175 <groupId>org.apache.felix</groupId>
176 <artifactId>org.apache.felix.dependencymanager.annotation</artifactId>
Pierre De Ropf25f9312014-07-13 14:57:58 +0000177 <version>3.2.0-SNAPSHOT</version>
Pierre De Rop5ab26d82013-10-08 10:00:38 +0000178 <executions>
179 <execution>
180 <goals>
181 <goal>scan</goal>
182 </goals>
183 <configuration>
184 <log>debug</log>
185 <!-- generated-output-dir>.</generated-output-dir> -->
186 </configuration>
187 </execution>
188 </executions>
189 </plugin>
190
191 <!-- We have no unit tests, we only have integration tests -->
192 <plugin>
193 <artifactId>maven-surefire-plugin</artifactId>
194 <executions>
195 <execution>
196 <id>surefire-it</id>
197 <phase>integration-test</phase>
198 <goals>
199 <goal>test</goal>
200 </goals>
201 <configuration>
202 <systemProperties>
203 <property>
204 <name>project.bundle.file</name>
205 <value>${bundle.file.name}</value>
206 </property>
Pierre De Rop0b67b3c2013-10-16 10:29:56 +0000207 <property>
208 <name>project.bundle.symbolicName</name>
209 <value>${pom.artifactId}</value>
210 </property>
Pierre De Rop5ab26d82013-10-08 10:00:38 +0000211 </systemProperties>
212 <excludes>
213 <exclude>**/components/*</exclude>
Pierre De Rop14979bd2013-10-13 08:47:15 +0000214 <!-- <exclude>**/AspectRaceTest.java</exclude> -->
Pierre De Rop5ab26d82013-10-08 10:00:38 +0000215 </excludes>
216 <includes>
Pierre De Rop968695e2013-10-10 20:26:34 +0000217 <!-- By default, all integration tests are run. For running a specific test,
218 you can specify a given test below: for example:
219 <include>**/integration/**/AspectBaseTest.java</include>
220 -->
Pierre De Ropeab8aba2013-10-14 22:40:47 +0000221 <include>**/integration/**/*.java</include>
Pierre De Rop5ab26d82013-10-08 10:00:38 +0000222 </includes>
223 </configuration>
224 </execution>
225 </executions>
226 <configuration>
227 <excludes>
228 <exclude>**/integration/**</exclude>
229 </excludes>
230 </configuration>
231 </plugin>
232 </plugins>
233 </build>
234</project>