PR: MNG-281

show id if name is null in reactor


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163951 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-04-15 05:46:13 +00:00
parent 91467d5de3
commit 8ace38fbce
1 changed files with 9 additions and 1 deletions

View File

@ -367,7 +367,15 @@ public class MavenProject
public String getName()
{
return model.getName();
// TODO: this should not be allowed to be null.
if ( model.getName() != null )
{
return model.getName();
}
else
{
return getId();
}
}
public void setVersion( String version )