-
Notifications
You must be signed in to change notification settings - Fork 81
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
URLHandlerRegistry conflict with fm-sbt-s3-resolver plugin in SBT 1.0 #175
Comments
Any news on this issue? |
+1 on this issue - rolling back to 0.13.16 fixed the problem for me |
I'd love to see a better hook for customizing the URLHandlerRegistry. I'd love to be able to use this to inject kerberos support, but at the moment I can't be confident a custom URLHandler won't get hosed and so am creating a full custom resolver to improve isolation. |
This is regretion in SBT 1.0 as we see in tpunder/fm-sbt-s3-resolver#38 |
Any update on this? This issue has a lot of thumbs up 😞 |
Still no news on this? This is invalidating the project https://github.com/frugalmechanic/fm-sbt-s3-resolver ... |
Hey. I've created sbt/sbt#3758 to help track this issue. I've added it to the 1.0.5 milestone, and I hope it can be fixed by then. If you, @joan38, or anyone wants to help by investigating what the underlying issue is, what possible solutions there might be, and/or submitting a fixing PR that would be great. Unfortunately I don't have any real information regarding this issue in particular to give at this time. |
Thanks @dwijnand for the update and info! |
Here is what I'm playing with for fixing this: #183 |
#183 fixes the problem for me. |
This is resolved with SBT 1.0.4! Thanks! |
I'm trying to track down why fm-sbt-s3-resolver publishing is broken in SBT 1.0: tpunder/fm-sbt-s3-resolver#38
It seems that my
URLHandlerRegistry.setDefault
call:https://github.com/frugalmechanic/fm-sbt-s3-resolver/blob/ab0188fd3439ee0346c173efae8b4ca462cbea2e/src/main/scala/fm/sbt/S3ResolverPlugin.scala#L98-L113
might be getting wiped out by a
URLHandlerRegistry.setDefault
call here:librarymanagement/ivy/src/main/scala/sbt/internal/librarymanagement/Ivy.scala
Lines 91 to 92 in 480a1a3
Does this seem plausible?I've verified this is the problem.The text was updated successfully, but these errors were encountered: