diff --git a/modules/lm-coursier/src/main/scala/lmcoursier/FromSbt.scala b/modules/lm-coursier/src/main/scala/lmcoursier/FromSbt.scala index 088666e65..2e3c7bbeb 100644 --- a/modules/lm-coursier/src/main/scala/lmcoursier/FromSbt.scala +++ b/modules/lm-coursier/src/main/scala/lmcoursier/FromSbt.scala @@ -102,8 +102,8 @@ object FromSbt { } for { - (from, to) <- allMappings - pub <- publications + (from, to) <- allMappings.distinct + pub <- publications.distinct } yield { val dep0 = dep .withConfiguration(to)