Clarify unknown goal message by specifying the plugin it couldn't be found in

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@425024 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Kenney Westerhof 2006-07-24 12:33:58 +00:00
parent 4fbcafa694
commit a8dc29a9dc
1 changed files with 1 additions and 1 deletions

View File

@ -1335,7 +1335,7 @@ public class DefaultLifecycleExecutor
if ( mojoDescriptor == null )
{
throw new LifecycleExecutionException(
"'" + goal + "' was specified in an execution, but not found in the plugin" );
"Goal '" + goal + "' was specified in an execution, but not found in plugin " + pluginDescriptor.getId() );
}
// We have to check to see that the inheritance rules have been applied before binding this mojo.