mirror of https://github.com/apache/maven.git
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:
parent
ac4e1f1cfa
commit
e93a9199d3
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue