On 25 Apr 2014, at 04:24, Dawid Loubser <[email protected]> wrote:
> I agree fully with Neil here, this is what we use in our own projects to > retain the .jar file type. Interesting - I’ve not seen this myself and I wonder if there’s a common way you’re uploading bundles. A test project that can recreate this would be useful. Does your project have <extension>true</extension> enabled for the maven-bundle-plugin? (this tells Maven about the bundle lifecycle: extension, type, etc.) > 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 >> > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

