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

Configure OSGi bundling
This commit is contained in:
mishako 2016-01-16 19:14:05 +01:00
commit bfe8329fd9

25
pom.xml
View file

@ -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>