From c8626e5402b5e6ee562e7f32a12251d666f26c8a Mon Sep 17 00:00:00 2001 From: Maksim Ochenashko Date: Wed, 17 Jun 2020 13:27:26 +0300 Subject: [PATCH] Update ConvertResolver.scala Add information on how to enable overwriting using `pushRemoteCache`. --- .../sbt/internal/librarymanagement/ConvertResolver.scala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ivy/src/main/scala/sbt/internal/librarymanagement/ConvertResolver.scala b/ivy/src/main/scala/sbt/internal/librarymanagement/ConvertResolver.scala index 43020d215..e158c09da 100644 --- a/ivy/src/main/scala/sbt/internal/librarymanagement/ConvertResolver.scala +++ b/ivy/src/main/scala/sbt/internal/librarymanagement/ConvertResolver.scala @@ -401,7 +401,11 @@ private[sbt] object ConvertResolver { |If you have a staging repository that has failed, drop it and start over. |Otherwise fix the double publishing, or relax the setting as follows: | publishConfiguration := publishConfiguration.value.withOverwrite(true) - | publishLocalConfiguration := publishLocalConfiguration.value.withOverwrite(true)""".stripMargin, + | publishLocalConfiguration := publishLocalConfiguration.value.withOverwrite(true) + | + |If you have a remote cache respoitory, you can enable overwriting as follows: + | pushRemoteCacheConfiguration := pushRemoteCacheConfiguration.value.withOverwrite(true) + |""".stripMargin, ex ) }