diff --git a/pom.xml b/pom.xml index 8ab27d6..d49ed96 100644 --- a/pom.xml +++ b/pom.xml @@ -57,6 +57,39 @@ <content>${project.build.directory}/site</content> </configuration> </plugin> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <configuration> + <instructions> + <Export-Package> + !com.rometools.modules.*.io, + com.rometools.modules.*, + </Export-Package> + <Import-Package> + org.jdom2, + org.jdom2.filter, + org.jdom2.input, + org.jdom2.input.sax, + org.jdom2.output, + org.slf4j, + org.w3c.dom, + org.xml.sax + </Import-Package> + <_exportcontents> + com.rometools.rome.feed, + com.rometools.rome.feed.atom, + com.rometools.rome.feed.module, + com.rometools.rome.feed.rss, + com.rometools.rome.feed.synd, + com.rometools.rome.io, + com.rometools.utils + </_exportcontents> + <Embed-Dependency>*;artifactId=rome|rome-utils</Embed-Dependency> + <Embed-Transitive>true</Embed-Transitive> + </instructions> + </configuration> + </plugin> </plugins> </build>