-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s3CredentialsProvider
is no longer respected with SBT 1.3.x/Coursier
#59
Comments
A workaround we found is to define our custom |
I'll try to play around with this when I have a chance. @stephenjudkins Are you saying that if you disable Coursier in SBT 1.3.8 then |
Yep. With |
@stephenjudkins I see SBT 1.3.9 just got released with some classpath changes for Coursier. Does that make things start working or does the bug persist? |
The bug persists in 1.3.9. |
This seems worse with SBT 1.5.5, now not even having |
@therockstorm do you have an example of the custom provider? |
We recently upgraded from SBT 1.2.8 to 1.3.8 and saw the following regression:
In our primary
build.sbt
, we defined a customs3CredentialsProvider
. In 1.2.8, this was evaluated and called and seemed to work. With 1.3.8, when Coursier is enabled, the customs3CredentialsProvider
is never called (though the setting itself appears to be evaluated at a later point). Debugging shows that, when https://github.com/frugalmechanic/fm-sbt-s3-resolver/blob/master/src/main/scala/fm/sbt/S3ResolverPlugin.scala#L123 runs, thes3CredentialsProvider
that is defined in the rootbuilt.sbt
is not yet initialized/visible.The text was updated successfully, but these errors were encountered: