From da63e5c2af844f01914575af7237271d3ae97d17 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Tue, 11 Oct 2005 14:37:41 +0000 Subject: [PATCH] use common method git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312895 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/maven/project/MavenProject.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-project/src/main/java/org/apache/maven/project/MavenProject.java b/maven-project/src/main/java/org/apache/maven/project/MavenProject.java index 6ee407f50b..5222630132 100644 --- a/maven-project/src/main/java/org/apache/maven/project/MavenProject.java +++ b/maven-project/src/main/java/org/apache/maven/project/MavenProject.java @@ -1461,7 +1461,7 @@ public class MavenProject if ( getProjectReferences() != null && !getProjectReferences().isEmpty() ) { // TODO: use MavenProject getProjectReferenceId - String refId = pluginArtifact.getGroupId() + ":" + pluginArtifact.getArtifactId(); + String refId = ArtifactUtils.versionlessKey( pluginArtifact.getGroupId(), pluginArtifact.getArtifactId() ); MavenProject ref = (MavenProject) getProjectReferences().get( refId ); if ( ref != null && ref.getArtifact() != null ) {