// This will add this node to the specified key, not replace a previous one.
depMap.put( key, node );
}
// Process those depMap entries with more than 1 value.
ToArtifactReferenceTransformer nodeToArtifact = new ToArtifactReferenceTransformer();
Iterator<Map.Entry<String,Collection<DependencyGraphNode>>> it = depMap.entrySet().iterator();
while ( it.hasNext() )
{
Map.Entry<String,Collection<DependencyGraphNode>> entry = it.next();