improve reporting

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278997 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-09-06 13:27:49 +00:00
parent d63f004cd7
commit 4405b100ef
1 changed files with 1 additions and 1 deletions

View File

@ -617,7 +617,7 @@ public class PrepareReleaseMojo
{
if ( !isSnapshot( project.getVersion() ) )
{
throw new MojoExecutionException( "This project isn't a snapshot (" + project.getVersion() + ")." );
throw new MojoExecutionException( "The project " + project.getGroupId() + ":" + project.getArtifactId() + " isn't a snapshot (" + project.getVersion() + ")." );
}
Model model = project.getOriginalModel();