From f8abb9e729e005e79c7a880e09fbb71d27c9deb5 Mon Sep 17 00:00:00 2001 From: John Dennis Casey Date: Fri, 15 Jul 2005 16:11:34 +0000 Subject: [PATCH] Fixed logic problem with multiple plugin repositories and exception handling. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219211 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/plugin/mapping/DefaultPluginMappingBuilder.java | 3 +++ 1 file changed, 3 insertions(+) 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; }