Merge pull request #216 from mishako/maven-bundle-plugin

Configure OSGi bundling
This commit is contained in:
mishako 2016-01-16 19:12:58 +01:00
commit 6cdf92d920

29
pom.xml
View file

@ -129,6 +129,35 @@
<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.rome.feed,
com.rometools.rome.feed.atom,
com.rometools.rome.feed.impl,
com.rometools.rome.feed.module,
com.rometools.rome.feed.rss,
com.rometools.rome.feed.synd,
com.rometools.rome.io,
</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.utils</_exportcontents>
<Embed-Dependency>rome-utils</Embed-Dependency>
</instructions>
</configuration>
</plugin>
</plugins>
</build>