Merge pull request #20 from mishako/maven-bundle-plugin
Configure OSGi bundling
This commit is contained in:
commit
bfe8329fd9
1 changed files with 24 additions and 1 deletions
25
pom.xml
25
pom.xml
|
@ -60,6 +60,29 @@
|
||||||
<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.fetcher,
|
||||||
|
com.rometools.fetcher.impl
|
||||||
|
</Export-Package>
|
||||||
|
<Import-Package>
|
||||||
|
com.rometools.rome.feed.impl,
|
||||||
|
com.rometools.rome.feed.synd,
|
||||||
|
com.rometools.rome.io,
|
||||||
|
com.rometools.utils,
|
||||||
|
org.apache.commons.httpclient;resolution:=optional,
|
||||||
|
org.apache.commons.httpclient.auth;resolution:=optional,
|
||||||
|
org.apache.commons.httpclient.methods;resolution:=optional,
|
||||||
|
org.apache.commons.httpclient.params;resolution:=optional,
|
||||||
|
org.slf4j
|
||||||
|
</Import-Package>
|
||||||
|
</instructions>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
@ -97,4 +120,4 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Reference in a new issue