Turned the API packages into bundles.
[xmlrouter] / publish / 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     <parent>
5         <groupId>org.wamblee.xmlrouter</groupId>
6         <artifactId>xmlrouter-root</artifactId>
7         <version>0.1.0-SNAPSHOT</version>
8     </parent>
9
10     <modelVersion>4.0.0</modelVersion>
11     <artifactId>xmlrouter-publish</artifactId>
12     <packaging>bundle</packaging>
13     <name>/xmlrouter/publish</name>
14     <url>http://wamblee.org</url>
15     
16     <dependencies>
17         <dependency>
18             <groupId>junit</groupId>
19             <artifactId>junit</artifactId>
20         </dependency>
21         <dependency>
22             <groupId>org.mockito</groupId>
23             <artifactId>mockito-all</artifactId>
24         </dependency>        
25     </dependencies>
26     
27     <build>
28         <plugins>
29             <plugin>
30                 <groupId>org.apache.felix</groupId>
31                 <artifactId>maven-bundle-plugin</artifactId>
32                 <extensions>true</extensions>
33                 <configuration>
34                     <instructions>
35                         <Bundle-SymbolicName>${pom.groupId}.${pom.artifactId}</Bundle-SymbolicName>
36                     </instructions>
37                 </configuration>
38             </plugin>
39         </plugins>
40     </build>
41     
42     <distributionManagement>
43         <site>
44             <id>xmlrouter-site</id>
45             <url>file:${distrib}/cache</url>
46         </site>
47     </distributionManagement>
48
49 </project>