From 1e91b227f9b313122ac827365196750dceb208e4 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Thu, 11 Mar 2010 16:50:25 +0000 Subject: [PATCH] o Polished error message git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@921933 13f79535-47bb-0310-9956-ffa450edef68 --- .../plugin/prefix/internal/DefaultPluginPrefixResolver.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java b/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java index f8ddd1bb72..646b07021d 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java @@ -135,11 +135,12 @@ public class DefaultPluginPrefixResolver { if ( logger.isDebugEnabled() ) { - logger.warn( "Failed to retrieve plugin descriptor for " + plugin + ": " + e.getMessage(), e ); + logger.warn( "Failed to retrieve plugin descriptor for " + plugin.getId() + ": " + e.getMessage(), + e ); } else { - logger.warn( "Failed to retrieve plugin descriptor for " + plugin + ": " + e.getMessage() ); + logger.warn( "Failed to retrieve plugin descriptor for " + plugin.getId() + ": " + e.getMessage() ); } } }