Sync OSGi handling with Apache JClouds Project

This project, the aws-lab version of Apache JClouds, share the exact build instructions as the primary Apache JClouds project with all its modules.
Apache JClouds is shifting its strategy in handling OSGi configuration. Instead of using the Maven Bundle Plugin, a wrapper of the BND plugin, the BND plugin gets used directly.
- Remove the OSGi configuration from each module. The configuration gets served to the BND through dedicated configuration / bnd files.
- Onboard bnd-configuration files, one per module.

Ignore bnd files in rat plugin
This commit is contained in:
gurkerl83 2020-12-06 14:51:14 +01:00 committed by Andrew Gaul
parent 3e25b835c6
commit fd7fe5c01c
2 changed files with 2 additions and 3 deletions

2
apis/glacier/bnd.bnd Normal file
View File

@ -0,0 +1,2 @@
Export-Package: \
org.jclouds.glacier.*;version="${project.version}";-noimport:=true

View File

@ -32,7 +32,6 @@
<artifactId>glacier</artifactId>
<name>Apache jclouds :: AWS :: Glacier API</name>
<description>jclouds components to access an implementation of glacier</description>
<packaging>bundle</packaging>
<properties>
<test.aws.identity>FIXME_IDENTITY</test.aws.identity>
@ -42,8 +41,6 @@
<test.glacier.build-version />
<test.glacier.identity>${test.aws.identity}</test.glacier.identity>
<test.glacier.credential>${test.aws.credential}</test.glacier.credential>
<jclouds.osgi.export>org.jclouds.glacier*;version="${project.version}"</jclouds.osgi.export>
<jclouds.osgi.import>org.jclouds*;version="${project.version}",*</jclouds.osgi.import>
</properties>
<repositories>