o Improved error message

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@798537 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-07-28 14:39:42 +00:00
parent a151c6c1a3
commit a9ea4c8b11
1 changed files with 3 additions and 2 deletions

View File

@ -46,8 +46,9 @@ public class PluginNotFoundException
public PluginNotFoundException( Plugin plugin, List<ArtifactRepository> 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;
}