mirror of https://github.com/apache/maven.git
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:
parent
4fbcafa694
commit
a8dc29a9dc
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue