final ArtifactResolver resolver = config.artifactResolver();
@SuppressWarnings( "rawtypes" )
Map managed = config.project().getManagedVersionMap();
final ArtifactResolutionResult resolutionResult = resolver.resolveTransitively(
artifactSet, pomArtifact, managed, localRepo, remoteRepos, metadataSource, resolutionFilter );
final List<String> result = new ArrayList<String>( artifacts.size() );
for ( final Artifact a : (Collection<Artifact>) resolutionResult.getArtifacts() )
{