use common method

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312895 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-10-11 14:37:41 +00:00
parent 8d011d92c0
commit da63e5c2af
1 changed files with 1 additions and 1 deletions

View File

@ -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 )
{