mirror of https://github.com/apache/maven.git
PR: MNG-1271
Submitted by: Edwin Punzalan improve error message when pom.xml not found and required git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329996 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9458264fb9
commit
51650e5f15
|
@ -337,7 +337,7 @@ public class DefaultPluginManager
|
|||
if ( mojoDescriptor.isProjectRequired() && !session.isUsingPOMsFromFilesystem() )
|
||||
{
|
||||
throw new MojoExecutionException( "Cannot execute mojo: " + mojoDescriptor.getGoal() +
|
||||
". It requires a project, but the build is not using one." );
|
||||
". It requires a project with an existing pom.xml, but the build is not using one." );
|
||||
}
|
||||
|
||||
if ( mojoDescriptor.isOnlineRequired() && session.getSettings().isOffline() )
|
||||
|
|
Loading…
Reference in New Issue