Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/houseofai/aws-sdk-java-v2-osgi
AWS SDK for Java - Version 2 - OSGI version
https://github.com/houseofai/aws-sdk-java-v2-osgi
amazon aws aws-sdk aws-sdk-java-v2 java osgi
Last synced: 18 days ago
JSON representation
AWS SDK for Java - Version 2 - OSGI version
- Host: GitHub
- URL: https://github.com/houseofai/aws-sdk-java-v2-osgi
- Owner: houseofai
- License: apache-2.0
- Created: 2020-01-25T15:27:23.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-22T12:49:00.000Z (almost 5 years ago)
- Last Synced: 2024-11-09T14:06:59.219Z (2 months ago)
- Topics: amazon, aws, aws-sdk, aws-sdk-java-v2, java, osgi
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AWS SDK for Java 2.0 - OSGI version
The **AWS SDK for Java 2.0 - OSGI version** is a version of the popular Amazon Web Service SDK for Java (v2) turned into OSGI.
It uses the [AWS Bundles project](https://github.com/aws/aws-sdk-java-v2/tree/master/bundle) to shade all AWS projects into one, and include a custom MANIFEST file.## Getting Started
Before building the project, you might want to get the latest AWS package version. Check on AWS Github repo and the version of the latest build - AWS SDK creates a new build every day, so unless you are looking for a specific feature, leave it like this.
Once you got the AWS SDK version, update the pom.xml with that version:
`2.10.57-SNAPSHOT`
Then you are all set!
### Build the JAR
Simply run:
`mvn clean install`
The build might take a minute or more to download all AWS projects and package it into one JAR.
The build generates a JAR of 205 MB.### Deploy the JAR
Get the jar from the repo and deploy it to your OSGI environment.
`.m2/repository/software/amazon/awssdk/aws-sdk-java-v2-osgi/2.10.57-SNAPSHOT/aws-sdk-java-v2-osgi-2.10.57-SNAPSHOT.jar`
### Note
The main file is the MANIFEST: it includes all Export packages of each AWS project.
The Import packages are also defined. On your OSGI environment, if during the execution you get an exception of type NoClassDefFoundError or ClassNotFoundException, then it's probably a package missing in the import. Add it manually, then re-build re-deploy.