removed additional bundles by reducing Import-Packages.
[xmlrouter] / listener / 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-listener</artifactId>
12     <packaging>bundle</packaging>
13     <name>/xmlrouter/listener</name>
14     <url>http://wamblee.org</url>
15     
16     <dependencies>
17         <dependency>
18             <groupId>org.wamblee</groupId>
19             <artifactId>wamblee-support-general</artifactId>
20         </dependency>
21             <dependency>
22                     <groupId>org.wamblee.xmlrouter</groupId>
23                         <artifactId>xmlrouter-config</artifactId>
24                         <version>0.1.0-SNAPSHOT</version>
25                 </dependency>
26                 <dependency>
27             <groupId>org.wamblee.xmlrouter</groupId>
28             <artifactId>xmlrouter-publish</artifactId>
29             <version>0.1.0-SNAPSHOT</version>
30         </dependency>
31         <dependency>
32             <groupId>junit</groupId>
33             <artifactId>junit</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>org.mockito</groupId>
37             <artifactId>mockito-all</artifactId>
38         </dependency>        
39     </dependencies>
40     
41     <build>
42         <plugins>
43             <plugin>
44                 <groupId>org.apache.felix</groupId>
45                 <artifactId>maven-bundle-plugin</artifactId>
46                 <extensions>true</extensions>
47                 <configuration>
48                     <instructions>
49                         <Bundle-SymbolicName>${pom.groupId}.${pom.artifactId}</Bundle-SymbolicName>
50                         <Embed-Dependency>wamblee-support-general;scope=compile|runtime</Embed-Dependency>
51                         <Embed-Directory>lib</Embed-Directory>
52                         <Import-Package>!javax.persistence, !net.sf.ehcache, *</Import-Package>
53                     </instructions>
54                 </configuration>
55             </plugin>
56         </plugins>
57     </build>
58     
59     <distributionManagement>
60         <site>
61             <id>xmlrouter-site</id>
62             <url>file:${distrib}/cache</url>
63         </site>
64     </distributionManagement>
65
66 </project>