more bug fixes for artifact cloning

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163694 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-03-24 16:08:48 +00:00
parent b529deb2df
commit ff261cd131
2 changed files with 4 additions and 0 deletions

View File

@ -310,6 +310,8 @@ public class DefaultArtifactResolver
knownVersion,
newArtifact.getScope(),
knownArtifact.getType() );
// don't copy file - these aren't resolved yet
resolvedArtifacts.put( artifact.getConflictId(), artifact );
}
}

View File

@ -710,6 +710,8 @@ public class MavenProject
existing.getVersion(),
a.getScope(), existing.getType() );
artifact.setFile( existing.getFile() );
artifacts.put( id, artifact );
}
}