You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While looking for a way to use the AWS SDK in an OSGi environment, I quickly found the aws-sdk-osgi bundle.
What surprised me though – as a beginner in the OSGi world in any case – is that no 3rd party dependencies are included in the JAR.
Which is actually exactly what is done in aws-sdk-bundle via shading: https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-bundle/pom.xml#L34.
Yet, while containing everything in one JAR, this one is thus not an OSGi bundle (it lacks metadata in MANIFEST.MF).
So I was wondering: has it been implemented as such on purpose?
The benefit that I would see in embedding/inline those dependencies in the OSGi bundle, is to avoid having to manually manage/import the related bundles (Jackson, Netty, etc) in my OSGi environment.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
While looking for a way to use the AWS SDK in an OSGi environment, I quickly found the
aws-sdk-osgi
bundle.What surprised me though – as a beginner in the OSGi world in any case – is that no 3rd party dependencies are included in the JAR.
Which is actually exactly what is done in
aws-sdk-bundle
via shading: https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-bundle/pom.xml#L34.Yet, while containing everything in one JAR, this one is thus not an OSGi bundle (it lacks metadata in
MANIFEST.MF
).So I was wondering: has it been implemented as such on purpose?
The benefit that I would see in embedding/inline those dependencies in the OSGi bundle, is to avoid having to manually manage/import the related bundles (Jackson, Netty, etc) in my OSGi environment.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions