diff --git a/maven-plugin-mapping/src/main/java/org/apache/maven/plugin/mapping/DefaultPluginMappingBuilder.java b/maven-plugin-mapping/src/main/java/org/apache/maven/plugin/mapping/DefaultPluginMappingBuilder.java index eab659a14b..53a2e27991 100644 --- a/maven-plugin-mapping/src/main/java/org/apache/maven/plugin/mapping/DefaultPluginMappingBuilder.java +++ b/maven-plugin-mapping/src/main/java/org/apache/maven/plugin/mapping/DefaultPluginMappingBuilder.java @@ -113,6 +113,9 @@ public class DefaultPluginMappingBuilder try { repositoryMetadataManager.resolve( metadata, repository, localRepository ); + + // reset this to keep it from getting in the way when we succeed but not on first repo... + repositoryException = null; break; }