Releases: tpunder/fm-sbt-s3-resolver
Allow specifying bucket ACL policy on upload
You can now use the s3ResolverBucketACLMap
SettingKey to specify CannedAccessControlList settings per bucket. Thanks to @kevin-brendle-lark for the PR!
What's Changed
- allow specifying bucket ACL policy on upload by @kevin-brendle-lark in #72
New Contributors
- @kevin-brendle-lark made their first contribution in #72
Full Changelog: v0.20.0...v0.21.0
Upgrade to AWS SDK 1.12.99
SBT 1.3.0 Coursier Support
Fixed some bugs in the S3URLConnection.getHeaderField
method (see 5f6520e) that were causing the Coursier support in SBT 1.3.0 to not work.
Java 9+ Fix for java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
This release upgrades to a newer version of aws-sdk-java to avoid "java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException" errors when jaxb-impl >= 2.2.11 is included on your classpath but jaxb-core is not.
This was brought up by @JonathanKnight in #56
Better Java 9+ Support
- Upgraded to a newer AWS SDK that supports Java 9+
- Disabled the scalac optimizer settings that are currently broken on Java 9+ when using a Scala version <= 2.12.6.
SBT 1.1 Support
S3 Server Side Encryption Support
If you have a bucket policy that rejects un-encrypted unloads the plugin will detect this and automatically switch to enabling S3 Server Side Encryption (SSE).
See the README.md for an example policy: https://github.com/frugalmechanic/fm-sbt-s3-resolver/blob/master/README.md
Initial Coursier Support and Faster Credentials Lookup
The URLStreamHandler implementation for the s3:// protocol now implements the openConnection method which is used by Coursier for downloading dependencies. Previously the openConnection method wasn't implemented because it wasn't used by anything in SBT.
Also fixed some performance issues with the Role Based Credential Providers that were slowing down the lookup of Credentials when not using Role Based Credentials.
Version 0.7.0
0.5.0 - Basic Dynamic Revision Support
Added basic support for dynamic revisions (#6) to be able to do something like this:
// The only change here is using "atS3" instead of just "at"
resolvers += "FrugalMechanic Snapshots" atS3 "s3://maven.frugalmechanic.com/snapshots"
// Dynamic revisions
libraryDependencies += "com.frugalmechanic" %% "fm-private" % "0.1.0-+"