I agree fully with Neil here, this is what we use in our own projects to
retain the .jar file type.
This should fully solve your problem. Good luck! And thanks for
spreading the OSGi love to Amazon ;-)

Dawid Loubser


On 25/04/2014 00:03, Neil Bartlett wrote:
> Hi Bruce,
>
> I don’t really know enough about Maven to understand why this happens, but I 
> believe that there is a documented workaround.
>
> If you read the documentation page for the Maven bundle plugin 
> (https://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html), 
> you will find a section entitled "Adding OSGi metadata to existing projects 
> without changing the packaging type”. This should allow you to build a bundle 
> while still having the artifact treated as a JAR by Maven.
>
> Regards,
> Neil
>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to