mirror of https://github.com/sbt/sbt.git
As stated in #5492 and #2366 some artifact hosting services (at least Azure Artifacts, seems to affect GCP as well) do not offer a stable HTTP Auth realm that can be safely set in SBT credentials, hence the need to support null or empty Credentials. The Ivy (publishing) side of the issue was fixed in sbt/ivy#36 As to the resolving side, This commit is only part of the solution as it just prevents an NPE and does not consider if coursier itself will fall back to finding credentials with a null realm that matches the server hostname. Related-to: #5492 Related-to: #2366 Signed-off-by: Erwan Queffelec <erwan.queffelec@gmail.com> |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||