aws / aws-sdk-java-v2

The official AWS SDK for Java - Version 2
Apache License 2.0
2.21k stars 854 forks source link

OSGI Bundle #59

Open shorea opened 7 years ago

shorea commented 7 years ago

Make sure we play nice with the module systems in OSGI and Java9 (especially our detection of the default HTTP implementation). Ensure that we can provide modularized service clients to OSGI environments instead of a single uber jar containing the entire SDK.

sindremehus commented 6 years ago

For Java 9 compatibility, at the very least please specify a stable "Automatic-Module-Name" in the jar manifests, and make sure there are no split packages across the different artifacts.

jenslauterbach commented 6 years ago

We use DynamoDB SDK 1.x in a OSGi container and have to build our own bundle. Would be great if the new SDK would be OSGi compatible from the start.

bennyflint commented 6 years ago

Any progress or info here? The split packages makes modularizing my app in Java 9+ effectively impossible.

dagnir commented 6 years ago

@bennyflint Yes, there's been a few PR's merged that hopefully address some of these issues:

dagnir commented 6 years ago

584

pegr69 commented 2 years ago

What is going on with this issue, is there any progress into getting OSGi supported in clientbuilder code?

aalmiray commented 1 year ago

If split packages are no longer an issue (I sure hope so) then adding support for Java 9+ modules may still be done using the ModiTect plugin. This way the codebase remains Java 8 compatible. The build would have to jump to Java 11 at a minimum if it's not done so already.