Skip to content

coursier/s3-support

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s3-support

s3-support provides simple support for s3:// and s3n:// URLs on the JVM. This support can be used from coursier in particular.

How to use

Ensure the io.get-coursier:s3-support:0.1.0 dependency (that is, its 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.