mirror of https://github.com/apache/maven.git
PR: MNG-644
error out on bad syntax git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293345 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dc56a21047
commit
a912e034bc
|
@ -1172,7 +1172,7 @@ public class DefaultLifecycleExecutor
|
|||
{
|
||||
if ( !canUsePrefix )
|
||||
{
|
||||
String msg = "DEPRECATED: Mapped-prefix lookup of mojos are only supported from direct invocation. " +
|
||||
String msg = "Mapped-prefix lookup of mojos are only supported from direct invocation. " +
|
||||
"Please use specification of the form groupId:artifactId[:version]:goal instead. " +
|
||||
"(Offending mojo: \'" + task + "\', invoked via: \'" + invokedVia + "\')";
|
||||
throw new LifecycleExecutionException( msg );
|
||||
|
|
Loading…
Reference in New Issue