MNG-2846 Make the output of Model.getId() nicer

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@511339 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2007-02-24 20:32:36 +00:00
parent ac4e1f1cfa
commit e93a9199d3
1 changed files with 2 additions and 2 deletions

View File

@ -496,13 +496,13 @@
{
StringBuffer id = new StringBuffer();
id.append( getGroupId() );
id.append( getGroupId() == null ? "[inherited]" : getGroupId() );
id.append( ":" );
id.append( getArtifactId() );
id.append( ":" );
id.append( getPackaging() );
id.append( ":" );
id.append( getVersion() );
id.append( getVersion() == null ? "[inherited]" : getVersion() );
return id.toString();
}