Configure OSGi bundling
This commit is contained in:
parent
a5f56fe914
commit
6d89eec6b2
1 changed files with 33 additions and 0 deletions
33
pom.xml
33
pom.xml
|
@ -57,6 +57,39 @@
|
||||||
<content>${project.build.directory}/site</content>
|
<content>${project.build.directory}/site</content>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue