From 9bb88cd3427cc62d01185c7d356799ac044f766b Mon Sep 17 00:00:00 2001 From: Ethan Atkins Date: Mon, 8 Jul 2019 19:18:24 -0700 Subject: [PATCH] Rename typesafeRelease Resolver This Resolver had the same name as the typesafe ivy resolver specified in the launcher boot.properties. It was creating a number of verbose warnings about having multiple resolvers with the same name. I noticed that the ivy pattern is slightly different for the boot resolver with this name. It didn't seem to be causing any problems to have both resolvers. Fixes #4839 --- main/src/main/scala/sbt/Defaults.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/src/main/scala/sbt/Defaults.scala b/main/src/main/scala/sbt/Defaults.scala index 277068dd3..d103829ae 100755 --- a/main/src/main/scala/sbt/Defaults.scala +++ b/main/src/main/scala/sbt/Defaults.scala @@ -3347,7 +3347,8 @@ object Classpaths { def flatten[T](o: Option[Option[T]]): Option[T] = o flatMap idFun val sbtIvySnapshots: URLRepository = Resolver.sbtIvyRepo("snapshots") - val typesafeReleases: URLRepository = Resolver.typesafeIvyRepo("releases") + val typesafeReleases: URLRepository = + Resolver.typesafeIvyRepo("releases").withName("typesafe-alt-ivy-releases") val sbtPluginReleases: URLRepository = Resolver.sbtPluginRepo("releases") val sbtMavenSnapshots: MavenRepository = MavenRepository("sbt-maven-snapshot", Resolver.SbtRepositoryRoot + "/" + "maven-snapshots/")