Amazon have release their latest version of the SDK today, and I¹ve tried
Neil¹s suggestion and I¹m pleased to say that works!

Thanks for your help guys - I¹ll generate a pull request for that change
and hopefully they will adopt the change.

Best regards

Bruce

On 25/04/2014 14:15, "Stuart McCulloch" <[email protected]> wrote:

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

*** DISCLAIMER ***

This message, including attachments, is intended solely for the addressee 
indicated in this message and is strictly confidential or otherwise privileged. 
If you are not the intended recipient (or responsible for delivery of the 
message to such person) : - (1) please immediately (i) notify the sender by 
reply email and (ii) delete this message and attachments, - (2) any use, copy 
or dissemination of this transmission is strictly prohibited. If you or your 
employer does not consent to Internet email messages of this kind, please 
advise Myriad Group AG by reply e-mail immediately. Opinions, conclusions and 
other information expressed in this message are not given or endorsed by Myriad 
Group AG unless otherwise indicated by an authorized representative independent 
of this message.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to