removed additional bundles by reducing Import-Packages.
[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-SNAPSHOT</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.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                         <dependency>
197                 <groupId>org.ops4j.pax.url</groupId>
198                 <artifactId>pax-url-wrap</artifactId>
199                 <version>${pax.url.version}</version>
200                 <scope>test</scope>
201             </dependency>
202             
203             <!-- only native -->
204             <dependency>
205                 <groupId>org.apache.felix</groupId>
206                 <artifactId>org.apache.felix.framework</artifactId>
207                 <version>3.2.2</version>
208                 <scope>test</scope>
209             </dependency>
210
211
212         </dependencies>
213
214     </dependencyManagement>
215
216
217
218     <build>
219         <plugins>
220             <plugin>
221                 <groupId>org.apache.servicemix.tooling</groupId>
222                 <artifactId>depends-maven-plugin</artifactId>
223                 <version>1.2</version>
224                 <executions>
225                     <execution>
226                         <id>generate-depends-file</id>
227                         <goals>
228                             <goal>generate-depends-file</goal>
229                         </goals>
230                     </execution>
231                 </executions>
232
233             </plugin>
234
235             <plugin>
236                 <groupId>org.apache.maven.plugins</groupId>
237                 <artifactId>maven-release-plugin</artifactId>
238                 <version>2.0</version>
239                 <configuration>
240                     <autoVersionSubmodules>true</autoVersionSubmodules>
241                     <goals>javadoc:jar deploy</goals>
242                 </configuration>
243             </plugin>
244             <plugin>
245                 <groupId>org.apache.maven.plugins</groupId>
246                 <artifactId>maven-compiler-plugin</artifactId>
247                 <version>2.3.2</version>
248                 <configuration>
249                     <source>1.6</source>
250                     <target>1.6</target>
251                 </configuration>
252             </plugin>
253
254             <plugin>
255                 <groupId>org.apache.maven.plugins</groupId>
256                 <artifactId>maven-checkstyle-plugin</artifactId>
257                 <version>2.5</version>
258                 <dependencies>
259                     <dependency>
260                         <groupId>org.wamblee</groupId>
261                         <artifactId>wamblee-code-style</artifactId>
262                         <version>1.0</version>
263                     </dependency>
264                 </dependencies>
265             </plugin>
266
267
268             <plugin>
269                 <groupId>org.apache.maven.plugins</groupId>
270                 <artifactId>maven-surefire-plugin</artifactId>
271                 <version>2.7.1</version>
272                 <configuration>
273                     <includes>
274                         <include>**/*Test.java</include>
275                     </includes>
276                 </configuration>
277             </plugin>
278
279             <!--
280                                 Make sure other projects can use (or the test support and test
281                                 classes from the projects it uses. To use a dependence on a test
282                                 library of a project, an additinoal dependence must be added with
283                                 <type>test-jar</type>
284                         -->
285
286             <plugin>
287                 <groupId>org.apache.maven.plugins</groupId>
288                 <artifactId>maven-jar-plugin</artifactId>
289                 <version>2.3.1</version>
290                 <executions>
291                     <execution>
292                         <goals>
293                             <goal>test-jar</goal>
294                         </goals>
295                     </execution>
296                 </executions>
297             </plugin>
298
299             <plugin>
300                 <groupId>org.codehaus.mojo</groupId>
301                 <artifactId>cobertura-maven-plugin</artifactId>
302                 <version>2.4</version>
303                 <executions>
304                     <execution>
305                         <goals>
306                             <goal>clean</goal>
307                         </goals>
308                     </execution>
309                 </executions>
310             </plugin>
311
312
313             <plugin>
314                 <artifactId>maven-site-plugin</artifactId>
315                 <version>3.0-beta-3</version>
316                 <configuration>
317                     <reportPlugins>
318                         <plugin>
319                             <groupId>org.apache.maven.plugins</groupId>
320                             <artifactId>maven-project-info-reports-plugin</artifactId>
321                             <version>2.3.1</version>
322                             <configuration>
323                                 <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
324                                 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
325                             </configuration>
326                         </plugin>
327                         <plugin>
328                             <groupId>org.apache.maven.plugins</groupId>
329                             <artifactId>maven-javadoc-plugin</artifactId>
330                             <version>2.7</version>
331                         </plugin>
332                         <plugin>
333                             <groupId>org.codehaus.mojo</groupId>
334                             <artifactId>cobertura-maven-plugin</artifactId>
335                             <version>2.3</version>
336                             <configuration>
337                                 <formats>
338                                     <format>xml</format>
339                                     <format>html</format>
340                                 </formats>
341                             </configuration>
342                         </plugin>
343
344                     </reportPlugins>
345                 </configuration>
346             </plugin>
347
348         </plugins>
349
350         <pluginManagement>
351             <plugins>
352                 <plugin>
353                     <groupId>org.apache.felix</groupId>
354                     <artifactId>maven-bundle-plugin</artifactId>
355                     <extensions>true</extensions>
356                     <version>2.3.5</version>
357                 </plugin>
358             </plugins>
359         </pluginManagement>
360
361
362     </build>
363
364     <distributionManagement>
365         <site>
366             <id>xmlrouter-site</id>
367             <url>file:${distrib}/all</url>
368         </site>
369     </distributionManagement>
370
371 </project>