Added bundleactivator to XMLRouter.
[xmlrouter] / router / bundle / pom.xml
1 <?xml version="1.0"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4
5     <parent>
6         <groupId>org.wamblee.xmlrouter</groupId>
7         <artifactId>xmlrouter-router</artifactId>
8         <version>0.1.0-SNAPSHOT</version>
9     </parent>
10
11     <modelVersion>4.0.0</modelVersion>
12     <artifactId>xmlrouter-router-bundle</artifactId>
13     <packaging>bundle</packaging>
14     <name>/xmlrouter/router/bundle</name>
15     <url>http://wamblee.org</url>
16
17
18     <dependencies>
19         <dependency>
20             <groupId>org.wamblee.xmlrouter</groupId>
21             <artifactId>xmlrouter-router-impl</artifactId>
22             <version>0.1.0-SNAPSHOT</version>
23         </dependency>
24         <dependency>
25             <groupId>org.wamblee</groupId>
26             <artifactId>wamblee-support-general</artifactId>
27         </dependency>
28
29         <dependency>
30             <groupId>org.osgi</groupId>
31             <artifactId>org.osgi.core</artifactId>
32         </dependency>
33         <dependency>
34             <groupId>org.osgi</groupId>
35             <artifactId>org.osgi.compendium</artifactId>
36         </dependency>
37
38
39         <dependency>
40             <groupId>junit</groupId>
41             <artifactId>junit</artifactId>
42         </dependency>
43         <dependency>
44             <groupId>org.mockito</groupId>
45             <artifactId>mockito-all</artifactId>
46         </dependency>
47     </dependencies>
48
49     <build>
50         <plugins>
51             <plugin>
52                 <groupId>org.apache.felix</groupId>
53                 <artifactId>maven-bundle-plugin</artifactId>
54                 <extensions>true</extensions>
55                 <configuration>
56                     <instructions>
57                         <Bundle-Activator>org.wamblee.xmlrouter.bundle.XmlrouterActivator</Bundle-Activator>
58                         <Bundle-SymbolicName>${pom.groupId}.${pom.artifactId}</Bundle-SymbolicName>
59                         <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
60                         <Embed-Directory>lib</Embed-Directory>
61                         <Import-Package>!javax.persistence, !net.sf.ehcache, *</Import-Package>
62                     </instructions>
63                 </configuration>
64             </plugin>
65         </plugins>
66     </build>
67
68     <distributionManagement>
69         <site>
70             <id>xmlrouter-site</id>
71             <url>file:${distrib}/cache</url>
72         </site>
73     </distributionManagement>
74
75 </project>