Switch back to cxf 3.2.0 for redo of release
[cxf-dosgi.git] / parent / pom.xml
1 <?xml version='1.0' encoding='UTF-8' ?>
2 <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
3 license agreements. See the NOTICE file distributed with this work for additional
4 information regarding copyright ownership. The ASF licenses this file to
5 you under the Apache License, Version 2.0 (the "License"); you may not use
6 this file except in compliance with the License. You may obtain a copy of
7 the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
8 by applicable law or agreed to in writing, software distributed under the
9 License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
10 OF ANY KIND, either express or implied. See the License for the specific
11 language governing permissions and limitations under the License. -->
12 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
13
14 <parent>
15 <groupId>org.apache.cxf.dosgi</groupId>
16 <artifactId>cxf-dosgi-main</artifactId>
17 <version>2.4.0-SNAPSHOT</version>
18 </parent>
19
20 <modelVersion>4.0.0</modelVersion>
21 <artifactId>cxf-dosgi-parent</artifactId>
22
23 <packaging>pom</packaging>
24 <name>CXF DOSGi Parent</name>
25
26 <properties>
27 <!-- portable text resource processing -->
28 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
29
30 <osgi.version>6.0.0</osgi.version>
31 <osgi.compendium.version>5.0.0</osgi.compendium.version>
32 <aries.rsa.version>1.11.0</aries.rsa.version>
33 <cxf.version>3.2.0</cxf.version>
34 <felix.version>5.6.8</felix.version>
35 <zookeeper.version>3.4.8</zookeeper.version>
36 <servlet.version>3.0</servlet.version>
37 <servicemix.specs.version>2.6.0</servicemix.specs.version>
38 <slf4j.version>1.7.14</slf4j.version>
39 <exam.version>4.11.0</exam.version>
40
41 <baseline.skip>true</baseline.skip>
42 <topDirectoryLocation>..</topDirectoryLocation>
43 </properties>
44
45 <dependencyManagement>
46 <dependencies>
47 <dependency>
48 <groupId>org.osgi</groupId>
49 <artifactId>osgi.core</artifactId>
50 <version>${osgi.version}</version>
51 </dependency>
52 <dependency>
53 <groupId>org.osgi</groupId>
54 <artifactId>osgi.cmpn</artifactId>
55 <version>${osgi.compendium.version}</version>
56 </dependency>
57 <dependency>
58 <groupId>org.slf4j</groupId>
59 <artifactId>slf4j-api</artifactId>
60 <version>${slf4j.version}</version>
61 </dependency>
62 <dependency>
63 <groupId>org.slf4j</groupId>
64 <artifactId>slf4j-jcl</artifactId>
65 <version>${slf4j.version}</version>
66 </dependency>
67 <dependency>
68 <groupId>junit</groupId>
69 <artifactId>junit</artifactId>
70 <version>4.12</version>
71 <scope>test</scope>
72 </dependency>
73 <dependency>
74 <groupId>org.easymock</groupId>
75 <artifactId>easymock</artifactId>
76 <version>3.4</version>
77 <scope>test</scope>
78 </dependency>
79 <dependency>
80 <groupId>org.easymock</groupId>
81 <artifactId>easymockclassextension</artifactId>
82 <version>3.2</version>
83 <scope>test</scope>
84 </dependency>
85 <dependency>
86 <groupId>xmlunit</groupId>
87 <artifactId>xmlunit</artifactId>
88 <version>1.6</version>
89 <scope>test</scope>
90 </dependency>
91 <dependency>
92 <groupId>org.apache.geronimo.specs</groupId>
93 <artifactId>geronimo-atinject_1.0_spec</artifactId>
94 <version>1.0</version>
95 <scope>test</scope>
96 </dependency>
97 <dependency>
98 <groupId>org.ops4j.pax.exam</groupId>
99 <artifactId>pax-exam-junit4</artifactId>
100 <version>${exam.version}</version>
101 </dependency>
102 <dependency>
103 <groupId>org.ops4j.pax.exam</groupId>
104 <artifactId>pax-exam-inject</artifactId>
105 <version>${exam.version}</version>
106 </dependency>
107 <dependency>
108 <groupId>org.ops4j.pax.exam</groupId>
109 <artifactId>pax-exam-cm</artifactId>
110 <version>${exam.version}</version>
111 </dependency>
112 <dependency>
113 <groupId>org.ops4j.pax.exam</groupId>
114 <artifactId>pax-exam-container-forked</artifactId>
115 <version>${exam.version}</version>
116 </dependency>
117 <dependency>
118 <groupId>org.ops4j.pax.exam</groupId>
119 <artifactId>pax-exam-link-mvn</artifactId>
120 <version>${exam.version}</version>
121 <scope>test</scope>
122 </dependency>
123
124 <dependency>
125 <groupId>org.eclipse.platform</groupId>
126 <artifactId>org.eclipse.osgi</artifactId>
127 <version>3.11.3</version>
128 </dependency>
129
130 <dependency>
131 <groupId>org.apache.felix</groupId>
132 <artifactId>org.apache.felix.framework</artifactId>
133 <version>${felix.version}</version>
134 </dependency>
135
136 <dependency>
137 <groupId>org.ops4j.pax.tinybundles</groupId>
138 <artifactId>tinybundles</artifactId>
139 <version>2.1.1</version>
140 </dependency>
141 </dependencies>
142 </dependencyManagement>
143
144 <dependencies>
145 <dependency>
146 <groupId>org.slf4j</groupId>
147 <artifactId>slf4j-api</artifactId>
148 </dependency>
149 <dependency>
150 <groupId>org.osgi</groupId>
151 <artifactId>osgi.core</artifactId>
152 <scope>provided</scope>
153 </dependency>
154 <dependency>
155 <groupId>org.osgi</groupId>
156 <artifactId>org.osgi.service.component</artifactId>
157 <version>1.3.0</version>
158 <scope>provided</scope>
159 </dependency>
160
161 <dependency>
162 <groupId>org.osgi</groupId>
163 <artifactId>org.osgi.service.component.annotations</artifactId>
164 <version>1.3.0</version>
165 <scope>provided</scope>
166 </dependency>
167 <dependency>
168 <groupId>org.osgi</groupId>
169 <artifactId>org.osgi.service.http</artifactId>
170 <version>1.2.1</version>
171 <scope>provided</scope>
172 </dependency>
173
174 <!-- Just for the remote service admin spec -->
175 <dependency>
176 <groupId>org.apache.aries.rsa</groupId>
177 <artifactId>org.apache.aries.rsa.core</artifactId>
178 <version>1.11.0</version>
179 </dependency>
180
181
182 <!--
183 <dependency>
184 <groupId>org.osgi</groupId>
185 <artifactId>osgi.cmpn</artifactId>
186 <scope>provided</scope>
187 </dependency>
188 -->
189 <dependency>
190 <groupId>org.apache.aries.rsa</groupId>
191 <artifactId>org.apache.aries.rsa.spi</artifactId>
192 <version>${aries.rsa.version}</version>
193 </dependency>
194
195 <dependency>
196 <groupId>junit</groupId>
197 <artifactId>junit</artifactId>
198 <scope>test</scope>
199 </dependency>
200 <dependency>
201 <groupId>org.easymock</groupId>
202 <artifactId>easymockclassextension</artifactId>
203 <scope>test</scope>
204 </dependency>
205 </dependencies>
206
207 <build>
208 <defaultGoal>install</defaultGoal>
209
210 <pluginManagement>
211 <plugins>
212
213 <plugin>
214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-assembly-plugin</artifactId>
216 <version>2.2.1</version>
217 </plugin>
218 <plugin>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-surefire-plugin</artifactId>
221 <version>2.8.1</version>
222 </plugin>
223 <plugin>
224 <groupId>org.apache.maven.plugins</groupId>
225 <artifactId>maven-compiler-plugin</artifactId>
226 <version>3.6.1</version>
227 <configuration>
228 <source>1.7</source>
229 <target>1.7</target>
230 </configuration>
231 </plugin>
232 <plugin>
233 <groupId>org.apache.maven.plugins</groupId>
234 <artifactId>maven-antrun-plugin</artifactId>
235 <version>1.8</version>
236 <dependencies>
237 <dependency>
238 <groupId>ant</groupId>
239 <artifactId>ant-trax</artifactId>
240 <version>1.6.5</version>
241 </dependency>
242 </dependencies>
243 </plugin>
244 <plugin>
245 <groupId>org.apache.maven.plugins</groupId>
246 <artifactId>maven-resources-plugin</artifactId>
247 <version>3.0.2</version>
248 </plugin>
249 <plugin>
250 <groupId>org.apache.maven.plugins</groupId>
251 <artifactId>maven-dependency-plugin</artifactId>
252 <version>3.0.1</version>
253 </plugin>
254
255 <plugin>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-remote-resources-plugin</artifactId>
258 <version>1.5</version>
259 <executions>
260 <execution>
261 <goals>
262 <goal>process</goal>
263 </goals>
264 <configuration>
265 <resourceBundles>
266 <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
267 </resourceBundles>
268 </configuration>
269 </execution>
270 </executions>
271 </plugin>
272 <plugin>
273 <groupId>org.apache.maven.plugins</groupId>
274 <artifactId>maven-javadoc-plugin</artifactId>
275 <version>2.10.4</version>
276 <configuration>
277 <attach>true</attach>
278 <quiet>true</quiet>
279 <encoding>UTF-8</encoding>
280 <additionalparam>-Xdoclint:none</additionalparam>
281 </configuration>
282 </plugin>
283 </plugins>
284 </pluginManagement>
285
286 <plugins>
287 <plugin>
288 <groupId>org.apache.felix</groupId>
289 <artifactId>maven-bundle-plugin</artifactId>
290 <version>3.3.0</version>
291 <extensions>true</extensions>
292 <configuration>
293 <obrRepository>NONE</obrRepository>
294 <instructions>
295 <Export-Package>!*</Export-Package>
296 <_include>-bnd.bnd</_include>
297 </instructions>
298 </configuration>
299 <executions>
300 <execution>
301 <id>baseline</id>
302 <goals>
303 <goal>baseline</goal>
304 </goals>
305 <configuration>
306 <comparisonVersion>${baseline}</comparisonVersion>
307 <skip>${baseline.skip}</skip>
308 <failOnError>true</failOnError>
309 </configuration>
310 </execution>
311 </executions>
312 </plugin>
313 <plugin>
314 <groupId>org.apache.maven.plugins</groupId>
315 <artifactId>maven-remote-resources-plugin</artifactId>
316 </plugin>
317 <plugin>
318 <groupId>org.apache.maven.plugins</groupId>
319 <artifactId>maven-checkstyle-plugin</artifactId>
320 <version>2.17</version>
321 <configuration>
322 <encoding>UTF-8</encoding>
323 <includeResources>false</includeResources>
324 </configuration>
325 <executions>
326 <execution>
327 <id>validate</id>
328 <phase>validate</phase>
329 <configuration>
330 <configLocation>${topDirectoryLocation}/buildtools/cxf-checkstyle.xml</configLocation>
331 <suppressionsLocation>${topDirectoryLocation}/buildtools/cxf-checkstyle-suppressions.xml</suppressionsLocation>
332 <excludes>target/generated-sources/xjc/.*\.java</excludes>
333 <consoleOutput>true</consoleOutput>
334 <failsOnError>true</failsOnError>
335 <sourceDirectory>${basedir}/src</sourceDirectory>
336 </configuration>
337 <goals>
338 <goal>checkstyle</goal>
339 </goals>
340 </execution>
341 </executions>
342 </plugin>
343 </plugins>
344 </build>
345
346 <repositories>
347 <repository>
348 <id>apache.snapshots</id>
349 <name>Apache Maven Snapshot Repository</name>
350 <url>http://repository.apache.org/content/groups/snapshots/</url>
351 <releases>
352 <enabled>false</enabled>
353 </releases>
354 <snapshots>
355 <enabled>true</enabled>
356 </snapshots>
357 </repository>
358 </repositories>
359
360 <pluginRepositories>
361 <pluginRepository>
362 <id>apache.snapshots</id>
363 <name>Apache Maven Snapshot Repository</name>
364 <url>http://repository.apache.org/content/groups/snapshots/</url>
365 <layout>default</layout>
366 <snapshots>
367 <enabled>true</enabled>
368 </snapshots>
369 <releases>
370 <enabled>false</enabled>
371 </releases>
372 </pluginRepository>
373 </pluginRepositories>
374
375 </project>