37c993a0fdccfbdb0d660897ddfb4311bb21d2a2
[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.5</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>0.7-SNAPSHOT</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.0</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             </dependency>
141             <dependency>
142                 <groupId>org.osgi</groupId>
143                 <artifactId>org.osgi.compendium</artifactId>
144                 <version>4.2.0</version>
145             </dependency>
146             
147             <!-- Pax exam -->
148             <!-- only runner -->
149             <dependency>
150                 <groupId>org.ops4j.pax.exam</groupId>
151                 <artifactId>pax-exam-container-paxrunner</artifactId>
152                 <version>${pax.exam.version}</version>
153                 <scope>test</scope>
154             </dependency>
155             
156             <!-- only runner -->
157             <dependency>
158                 <groupId>org.ops4j.pax.runner</groupId>
159                 <artifactId>pax-runner-no-jcl</artifactId>
160                 <version>${pax.runner.version}</version>
161                 <scope>test</scope>
162             </dependency>
163             
164             <!-- both runner and native -->
165             <dependency>
166                 <groupId>org.ops4j.pax.exam</groupId>
167                 <artifactId>pax-exam-junit4</artifactId>
168                 <version>${pax.exam.version}</version>
169                 <scope>test</scope>
170             </dependency>
171             
172             <!-- both runner and native -->
173             <dependency>
174                 <groupId>org.ops4j.pax.exam</groupId>
175                 <artifactId>pax-exam-link-mvn</artifactId>
176                 <version>${pax.exam.version}</version>
177                 <scope>test</scope>
178             </dependency>
179             
180             <!-- only native -->
181             <dependency>
182                 <groupId>org.ops4j.pax.exam</groupId>
183                 <artifactId>pax-exam-container-native</artifactId>
184                 <version>${pax.exam.version}</version>
185                 <scope>test</scope>
186             </dependency>
187             
188             <!-- only native -->
189             <dependency>
190                 <groupId>org.ops4j.pax.url</groupId>
191                 <artifactId>pax-url-aether</artifactId>
192                 <version>${pax.url.version}</version>
193                 <scope>test</scope>
194             </dependency>
195             
196             <!-- only native -->
197             <dependency>
198                 <groupId>org.apache.felix</groupId>
199                 <artifactId>org.apache.felix.framework</artifactId>
200                 <version>3.2.2</version>
201                 <scope>test</scope>
202             </dependency>
203
204
205         </dependencies>
206
207     </dependencyManagement>
208
209
210
211     <build>
212         <plugins>
213             <plugin>
214                 <groupId>org.apache.servicemix.tooling</groupId>
215                 <artifactId>depends-maven-plugin</artifactId>
216                 <version>1.2</version>
217                 <executions>
218                     <execution>
219                         <id>generate-depends-file</id>
220                         <goals>
221                             <goal>generate-depends-file</goal>
222                         </goals>
223                     </execution>
224                 </executions>
225
226             </plugin>
227
228             <plugin>
229                 <groupId>org.apache.maven.plugins</groupId>
230                 <artifactId>maven-release-plugin</artifactId>
231                 <version>2.0</version>
232                 <configuration>
233                     <autoVersionSubmodules>true</autoVersionSubmodules>
234                     <goals>javadoc:jar deploy</goals>
235                 </configuration>
236             </plugin>
237             <plugin>
238                 <groupId>org.apache.maven.plugins</groupId>
239                 <artifactId>maven-compiler-plugin</artifactId>
240                 <version>2.3.2</version>
241                 <configuration>
242                     <source>1.6</source>
243                     <target>1.6</target>
244                 </configuration>
245             </plugin>
246
247             <plugin>
248                 <groupId>org.apache.maven.plugins</groupId>
249                 <artifactId>maven-checkstyle-plugin</artifactId>
250                 <version>2.5</version>
251                 <dependencies>
252                     <dependency>
253                         <groupId>org.wamblee</groupId>
254                         <artifactId>wamblee-code-style</artifactId>
255                         <version>1.0</version>
256                     </dependency>
257                 </dependencies>
258             </plugin>
259
260
261             <plugin>
262                 <groupId>org.apache.maven.plugins</groupId>
263                 <artifactId>maven-surefire-plugin</artifactId>
264                 <version>2.7.1</version>
265                 <configuration>
266                     <includes>
267                         <include>**/*Test.java</include>
268                     </includes>
269                 </configuration>
270             </plugin>
271
272             <!--
273                                 Make sure other projects can use (or the test support and test
274                                 classes from the projects it uses. To use a dependence on a test
275                                 library of a project, an additinoal dependence must be added with
276                                 <type>test-jar</type>
277                         -->
278
279             <plugin>
280                 <groupId>org.apache.maven.plugins</groupId>
281                 <artifactId>maven-jar-plugin</artifactId>
282                 <version>2.3.1</version>
283                 <executions>
284                     <execution>
285                         <goals>
286                             <goal>test-jar</goal>
287                         </goals>
288                     </execution>
289                 </executions>
290             </plugin>
291
292             <plugin>
293                 <groupId>org.codehaus.mojo</groupId>
294                 <artifactId>cobertura-maven-plugin</artifactId>
295                 <version>2.4</version>
296                 <executions>
297                     <execution>
298                         <goals>
299                             <goal>clean</goal>
300                         </goals>
301                     </execution>
302                 </executions>
303             </plugin>
304
305
306             <plugin>
307                 <artifactId>maven-site-plugin</artifactId>
308                 <version>3.0-beta-3</version>
309                 <configuration>
310                     <reportPlugins>
311                         <plugin>
312                             <groupId>org.apache.maven.plugins</groupId>
313                             <artifactId>maven-project-info-reports-plugin</artifactId>
314                             <version>2.3.1</version>
315                             <configuration>
316                                 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
317                                 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
318                             </configuration>
319                         </plugin>
320                         <plugin>
321                             <groupId>org.apache.maven.plugins</groupId>
322                             <artifactId>maven-javadoc-plugin</artifactId>
323                             <version>2.7</version>
324                         </plugin>
325                         <plugin>
326                             <groupId>org.codehaus.mojo</groupId>
327                             <artifactId>cobertura-maven-plugin</artifactId>
328                             <version>2.3</version>
329                             <configuration>
330                                 <formats>
331                                     <format>xml</format>
332                                     <format>html</format>
333                                 </formats>
334                             </configuration>
335                         </plugin>
336
337                     </reportPlugins>
338                 </configuration>
339             </plugin>
340
341         </plugins>
342
343         <pluginManagement>
344             <plugins>
345                 <plugin>
346                     <groupId>org.apache.felix</groupId>
347                     <artifactId>maven-bundle-plugin</artifactId>
348                     <extensions>true</extensions>
349                     <version>2.3.5</version>
350                 </plugin>
351             </plugins>
352         </pluginManagement>
353
354
355     </build>
356
357     <distributionManagement>
358         <site>
359             <id>xmlrouter-site</id>
360             <url>file:${distrib}/all</url>
361         </site>
362     </distributionManagement>
363
364 </project>