fix for continuous integration.
[xmlrouter] / pom.xml
1 <?xml version="1.0"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
4     <modelVersion>4.0.0</modelVersion>
5     <groupId>org.wamblee.xmlrouter</groupId>
6     <artifactId>xmlrouter-root</artifactId>
7     <packaging>pom</packaging>
8     <version>0.1.0-SNAPSHOT</version>
9     <name>/xmlrouter</name>
10     <description>A simple XML Router with OSGI support</description>
11     <url>http://wamblee.org</url>
12
13     <licenses>
14         <license>
15             <name>The Apache Software License, Version 2.0</name>
16             <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
17             <distribution>repo</distribution>
18         </license>
19     </licenses>
20     <scm>
21         <url>https://wamblee.org/viewvc/xmlrouter</url>
22         <connection>scm:svn:https://wamblee.org/svn/public/xmlrouter/trunk</connection>
23         <developerConnection>scm:svn:https://wamblee.org/svn/public/xmlrouter/trunk</developerConnection>
24     </scm>
25     <developers>
26         <developer>
27             <email>erik@wamblee.org</email>
28             <name>Erik Brakkee</name>
29             <url>http://brakkee.org</url>
30         </developer>
31     </developers>
32
33
34     <properties>
35         <wamblee.utils.version>0.8</wamblee.utils.version>
36         <pax.exam.version>2.2.0</pax.exam.version>
37         <pax.runner.version>1.7.4</pax.runner.version>
38         <pax.url.version>1.3.4</pax.url.version>
39     </properties>
40
41     <modules>
42         <module>common</module>
43         <module>config</module>
44         <module>publish</module>
45         <module>subscribe</module>
46         <module>router</module>
47         <module>listener</module>
48         <module>integrationtest</module>
49     </modules>
50
51     <!-- need to exclude test at release because test depends on an artifact
52          eclipselink) which is not available at maven central -->
53     <profiles>
54         <profile>
55             <id>release</id>
56             <activation>
57                 <property>
58                     <name>performRelease</name>
59                     <value>true</value>
60                 </property>
61             </activation>
62             <build>
63                 <plugins>
64                     <plugin>
65                         <groupId>org.apache.maven.plugins</groupId>
66                         <artifactId>maven-gpg-plugin</artifactId>
67                         <executions>
68                             <execution>
69                                 <id>sign-artifacts</id>
70                                 <phase>verify</phase>
71                                 <goals>
72                                     <goal>sign</goal>
73                                 </goals>
74                             </execution>
75                         </executions>
76                     </plugin>
77                 </plugins>
78             </build>
79             <distributionManagement>
80                 <repository>
81                     <id>sonatype-nexus-staging</id>
82                     <name>Nexus Release Repository</name>
83                     <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
84                 </repository>
85             </distributionManagement>
86         </profile>
87         <profile>
88             <id>all</id>
89             <activation>
90                 <property>
91                     <name>!performRelease</name>
92                 </property>
93             </activation>
94         </profile>
95     </profiles>
96
97
98     <dependencyManagement>
99         <dependencies>
100             <dependency>
101                 <groupId>org.wamblee</groupId>
102                 <artifactId>wamblee-support-general</artifactId>
103                 <version>${wamblee.utils.version}</version>
104             </dependency>
105             <dependency>
106                 <groupId>org.wamblee</groupId>
107                 <artifactId>wamblee-test-eclipselink</artifactId>
108                 <version>${wamblee.utils.version}</version>
109                 <scope>test</scope>
110             </dependency>
111             <dependency>
112                 <groupId>org.eclipse.persistence</groupId>
113                 <artifactId>javax.persistence</artifactId>
114                 <version>2.0.0</version>
115             </dependency>
116
117             <dependency>
118                 <groupId>org.eclipse.persistence</groupId>
119                 <artifactId>eclipselink</artifactId>
120                 <version>2.0.2</version>
121             </dependency>
122             <dependency>
123                 <groupId>junit</groupId>
124                 <artifactId>junit</artifactId>
125                 <version>4.7</version>
126                 <scope>test</scope>
127             </dependency>
128             <dependency>
129                 <groupId>org.mockito</groupId>
130                 <artifactId>mockito-all</artifactId>
131                 <version>1.8.5</version>
132                 <scope>test</scope>
133             </dependency>
134             
135             <!-- OSGI -->
136             <dependency>
137                 <groupId>org.osgi</groupId>
138                 <artifactId>org.osgi.core</artifactId>
139                 <version>4.2.0</version>
140                 <scope>provided</scope>
141             </dependency>
142             <dependency>
143                 <groupId>org.osgi</groupId>
144                 <artifactId>org.osgi.compendium</artifactId>
145                 <version>4.2.0</version>
146                 <scope>provided</scope>
147             </dependency>
148             
149             <!-- Pax exam -->
150             <!-- only runner -->
151             <dependency>
152                 <groupId>org.ops4j.pax.exam</groupId>
153                 <artifactId>pax-exam-container-paxrunner</artifactId>
154                 <version>${pax.exam.version}</version>
155                 <scope>test</scope>
156             </dependency>
157             
158             <!-- only runner -->
159             <dependency>
160                 <groupId>org.ops4j.pax.runner</groupId>
161                 <artifactId>pax-runner-no-jcl</artifactId>
162                 <version>${pax.runner.version}</version>
163                 <scope>test</scope>
164             </dependency>
165             
166             <!-- both runner and native -->
167             <dependency>
168                 <groupId>org.ops4j.pax.exam</groupId>
169                 <artifactId>pax-exam-junit4</artifactId>
170                 <version>${pax.exam.version}</version>
171                 <scope>test</scope>
172             </dependency>
173             
174             <!-- both runner and native -->
175             <dependency>
176                 <groupId>org.ops4j.pax.exam</groupId>
177                 <artifactId>pax-exam-link-mvn</artifactId>
178                 <version>${pax.exam.version}</version>
179                 <scope>test</scope>
180             </dependency>
181             
182             <!-- only native -->
183             <dependency>
184                 <groupId>org.ops4j.pax.exam</groupId>
185                 <artifactId>pax-exam-container-native</artifactId>
186                 <version>${pax.exam.version}</version>
187                 <scope>test</scope>
188             </dependency>
189             
190             <!-- only native -->
191             <dependency>
192                 <groupId>org.ops4j.pax.url</groupId>
193                 <artifactId>pax-url-aether</artifactId>
194                 <version>${pax.url.version}</version>
195                 <scope>test</scope>
196             </dependency>
197                         
198                         <dependency>
199                 <groupId>org.ops4j.pax.url</groupId>
200                 <artifactId>pax-url-wrap</artifactId>
201                 <version>${pax.url.version}</version>
202                 <scope>test</scope>
203             </dependency>
204             
205             <!-- only native -->
206             <dependency>
207                 <groupId>org.apache.felix</groupId>
208                 <artifactId>org.apache.felix.framework</artifactId>
209                 <version>3.2.2</version>
210                 <scope>test</scope>
211             </dependency>
212
213
214         </dependencies>
215
216     </dependencyManagement>
217
218
219
220     <build>
221         <plugins>
222             <plugin>
223                 <groupId>org.apache.servicemix.tooling</groupId>
224                 <artifactId>depends-maven-plugin</artifactId>
225                 <version>1.2</version>
226                 <executions>
227                     <execution>
228                         <id>generate-depends-file</id>
229                         <goals>
230                             <goal>generate-depends-file</goal>
231                         </goals>
232                     </execution>
233                 </executions>
234
235             </plugin>
236
237             <plugin>
238                 <groupId>org.apache.maven.plugins</groupId>
239                 <artifactId>maven-release-plugin</artifactId>
240                 <version>2.0</version>
241                 <configuration>
242                     <autoVersionSubmodules>true</autoVersionSubmodules>
243                     <goals>javadoc:jar deploy</goals>
244                 </configuration>
245             </plugin>
246             <plugin>
247                 <groupId>org.apache.maven.plugins</groupId>
248                 <artifactId>maven-compiler-plugin</artifactId>
249                 <version>2.3.2</version>
250                 <configuration>
251                     <source>1.6</source>
252                     <target>1.6</target>
253                 </configuration>
254             </plugin>
255
256             <plugin>
257                 <groupId>org.apache.maven.plugins</groupId>
258                 <artifactId>maven-checkstyle-plugin</artifactId>
259                 <version>2.5</version>
260                 <dependencies>
261                     <dependency>
262                         <groupId>org.wamblee</groupId>
263                         <artifactId>wamblee-code-style</artifactId>
264                         <version>1.0</version>
265                     </dependency>
266                 </dependencies>
267             </plugin>
268
269
270             <plugin>
271                 <groupId>org.apache.maven.plugins</groupId>
272                 <artifactId>maven-surefire-plugin</artifactId>
273                 <version>2.7.1</version>
274                 <configuration>
275                     <includes>
276                         <include>**/*Test.java</include>
277                     </includes>
278                 </configuration>
279             </plugin>
280
281             <!--
282                                 Make sure other projects can use (or the test support and test
283                                 classes from the projects it uses. To use a dependence on a test
284                                 library of a project, an additinoal dependence must be added with
285                                 <type>test-jar</type>
286                         -->
287
288             <plugin>
289                 <groupId>org.apache.maven.plugins</groupId>
290                 <artifactId>maven-jar-plugin</artifactId>
291                 <version>2.3.1</version>
292                 <executions>
293                     <execution>
294                         <goals>
295                             <goal>test-jar</goal>
296                         </goals>
297                     </execution>
298                 </executions>
299             </plugin>
300
301             <plugin>
302                 <groupId>org.codehaus.mojo</groupId>
303                 <artifactId>cobertura-maven-plugin</artifactId>
304                 <version>2.4</version>
305                 <executions>
306                     <execution>
307                         <goals>
308                             <goal>clean</goal>
309                         </goals>
310                     </execution>
311                 </executions>
312             </plugin>
313
314
315             <plugin>
316                 <artifactId>maven-site-plugin</artifactId>
317                 <version>3.0-beta-3</version>
318                 <configuration>
319                     <reportPlugins>
320                         <plugin>
321                             <groupId>org.apache.maven.plugins</groupId>
322                             <artifactId>maven-project-info-reports-plugin</artifactId>
323                             <version>2.3.1</version>
324                             <configuration>
325                                 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
326                                 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
327                             </configuration>
328                         </plugin>
329                         <plugin>
330                             <groupId>org.apache.maven.plugins</groupId>
331                             <artifactId>maven-javadoc-plugin</artifactId>
332                             <version>2.7</version>
333                         </plugin>
334                         <plugin>
335                             <groupId>org.codehaus.mojo</groupId>
336                             <artifactId>cobertura-maven-plugin</artifactId>
337                             <version>2.3</version>
338                             <configuration>
339                                 <formats>
340                                     <format>xml</format>
341                                     <format>html</format>
342                                 </formats>
343                             </configuration>
344                         </plugin>
345
346                     </reportPlugins>
347                 </configuration>
348             </plugin>
349
350         </plugins>
351
352         <pluginManagement>
353             <plugins>
354                 <plugin>
355                     <groupId>org.apache.felix</groupId>
356                     <artifactId>maven-bundle-plugin</artifactId>
357                     <extensions>true</extensions>
358                     <version>2.3.5</version>
359                 </plugin>
360             </plugins>
361         </pluginManagement>
362
363
364     </build>
365
366     <distributionManagement>
367         <site>
368             <id>xmlrouter-site</id>
369             <url>file:${distrib}/all</url>
370         </site>
371     </distributionManagement>
372
373 </project>