From a9ea4c8b11b9f0319d3d66061e725148c26ef937 Mon Sep 17 00:00:00 2001 From: Benjamin Bentmann Date: Tue, 28 Jul 2009 14:39:42 +0000 Subject: [PATCH] o Improved error message git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798537 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/plugin/PluginNotFoundException.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/plugin/PluginNotFoundException.java b/maven-core/src/main/java/org/apache/maven/plugin/PluginNotFoundException.java index 3763e7d9ab..89224f0ba9 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/PluginNotFoundException.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/PluginNotFoundException.java @@ -46,8 +46,9 @@ public class PluginNotFoundException public PluginNotFoundException( Plugin plugin, List remoteRepositories ) { - super( "Plugin could not be found, please check its coordinates for typos", plugin.getGroupId(), - plugin.getArtifactId(), plugin.getVersion(), "maven-plugin", null, remoteRepositories, null ); + super( "Plugin could not be found, please check its coordinates for typos and ensure the required" + + " plugin repositories are defined in the POM", plugin.getGroupId(), plugin.getArtifactId(), + plugin.getVersion(), "maven-plugin", null, remoteRepositories, null ); this.plugin = plugin; }