Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coursier/s3-support
https://github.com/coursier/s3-support
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/coursier/s3-support
- Owner: coursier
- Created: 2023-06-21T15:14:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-10T14:45:25.000Z (over 1 year ago)
- Last Synced: 2024-03-17T16:51:29.203Z (9 months ago)
- Language: Java
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# s3-support
*s3-support* provides simple support for `s3://` and `s3n://` URLs on the JVM. This support can be used from [coursier](https://github.com/coursier/coursier)
in particular.## How to use
Ensure the `io.get-coursier:s3-support:0.1.0` dependency (that is, [its JAR](https://repo1.maven.org/maven2/io/get-coursier/s3-support/0.1.0/s3-support-0.1.0.jar), alongside
the one of `com.amazonaws:aws-java-sdk-s3` and those of all its dependencies) is available at runtime, and is passed to the `java` process
via the `-cp` option of `java`.Call `coursier.s3support.s3.Setup.setup()` early on in your application, before attempting to open `s3://` or `s3n://` URLs with `java.net.URL` in any case.
This allows `java.net.URL` to find the `s3://` and `s3n://` support that *s3-support* provides.Only tested on Java 8 for now.