ArtifactUtils.versionlessKey( projectArtifact.getGroupId(), projectArtifact.getArtifactId() ),
project.getDependencyManagement(), artifactFactory );
project.setDependencyArtifacts( project.createArtifacts( artifactFactory, null, null ) );
ArtifactResolutionResult result = artifactCollector.collect( project.getDependencyArtifacts(),
projectArtifact, managedVersions,
localRepository, repos, artifactMetadataSource,
null, Collections.EMPTY_LIST );
project.setArtifacts( result.getArtifacts() );