From 848a7dd4332f7059e1b53198d1dc37e284f1f490 Mon Sep 17 00:00:00 2001 From: Trygve Laugstol Date: Sun, 27 Jun 2004 18:46:52 +0000 Subject: [PATCH] o Adding the type to getId() of a pom v4.0.0. o Changing the artifact list in MavenProject to a Set. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162845 13f79535-47bb-0310-9956-ffa450edef68 --- maven-model/maven.mdo | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/maven-model/maven.mdo b/maven-model/maven.mdo index a62679db81..57313318d1 100644 --- a/maven-model/maven.mdo +++ b/maven-model/maven.mdo @@ -349,11 +349,15 @@ public String getId() { StringBuffer id = new StringBuffer(); + id.append( getGroupId() ); id.append( ":" ); id.append( getArtifactId() ); id.append( ":" ); id.append( getType() ); + id.append( ":" ); + id.append( getVersion() ); + return id.toString(); }