mirror of https://github.com/apache/maven.git
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:
parent
d63f004cd7
commit
4405b100ef
|
@ -617,7 +617,7 @@ public class PrepareReleaseMojo
|
||||||
{
|
{
|
||||||
if ( !isSnapshot( project.getVersion() ) )
|
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();
|
Model model = project.getOriginalModel();
|
||||||
|
|
Loading…
Reference in New Issue