mirror of https://github.com/sbt/sbt.git
fix spurious extra attributes warning
This commit is contained in:
parent
1c151d116a
commit
1d478fa437
|
|
@ -145,9 +145,12 @@ object IvyActions
|
||||||
def processUnresolved(err: ResolveException, log: Logger)
|
def processUnresolved(err: ResolveException, log: Logger)
|
||||||
{
|
{
|
||||||
val withExtra = err.failed.filter(!_.extraAttributes.isEmpty)
|
val withExtra = err.failed.filter(!_.extraAttributes.isEmpty)
|
||||||
log.warn("\n\tNote: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.")
|
if(!withExtra.isEmpty)
|
||||||
withExtra foreach { id => log.warn("\t\t" + id) }
|
{
|
||||||
log.warn("")
|
log.warn("\n\tNote: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.")
|
||||||
|
withExtra foreach { id => log.warn("\t\t" + id) }
|
||||||
|
log.warn("")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
def groupedConflicts[T](moduleFilter: ModuleFilter, grouping: ModuleID => T)(report: UpdateReport): Map[T, Set[String]] =
|
def groupedConflicts[T](moduleFilter: ModuleFilter, grouping: ModuleID => T)(report: UpdateReport): Map[T, Set[String]] =
|
||||||
report.configurations.flatMap { confReport =>
|
report.configurations.flatMap { confReport =>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue