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:
Brett Leslie Porter 2005-11-01 07:07:44 +00:00
parent 9458264fb9
commit 51650e5f15
1 changed files with 1 additions and 1 deletions

View File

@ -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() )