From 940b77f940b13d4c152d4f8f91fa176046b8fbe2 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Tue, 28 Feb 2012 16:33:20 +0530 Subject: [PATCH] Make warnings for multiple resolvers with same name more verbose. Just so that user can figure out more quickly what's going on --- main/Defaults.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/Defaults.scala b/main/Defaults.scala index 656bfd0b3..fd7e43b73 100644 --- a/main/Defaults.scala +++ b/main/Defaults.scala @@ -805,7 +805,7 @@ object Classpaths ) def warnResolversConflict(ress: Seq[Resolver], log: Logger) { for ((name, r) <- ress groupBy (_.name) if r.size > 1) { - log.warn("Multiple resolvers configured with the name '" + name + "'. Rename to avoid conflict.") + log.warn("Multiple resolvers configured with the name '" + name + "'. To avoid conflict, Remove duplicate project resolvers (`resolvers`) or rename publishing resolver (`publishTo`).") } } def pluginProjectID: Initialize[ModuleID] = (sbtVersion in update, sbtBinaryVersion in update, scalaVersion in update, scalaBinaryVersion in update, projectID, sbtPlugin) {