Author: ogusakov
Date: Mon Apr 27 23:41:40 2009
New Revision: 769200
URL: http://svn.apache.org/viewvc?rev=769200&view=rev
Log:
adjusted the reactor repository mapping key to be a pure GAV; the rest is
calculated on the fly
Modified:
maven/components/branches/maven-3.0.x-mercury/maven-compat/src/main/java/org/apache/maven/artifact/repository/ReactorArtifactRepository.java
Modified:
maven/components/branches/maven-3.0.x-mercury/maven-compat/src/main/java/org/apache/maven/artifact/repository/ReactorArtifactRepository.java
URL:
http://svn.apache.org/viewvc/maven/components/branches/maven-3.0.x-mercury/maven-compat/src/main/java/org/apache/maven/artifact/repository/ReactorArtifactRepository.java?rev=769200&r1=769199&r2=769200&view=diff
==============================================================================
---
maven/components/branches/maven-3.0.x-mercury/maven-compat/src/main/java/org/apache/maven/artifact/repository/ReactorArtifactRepository.java
(original)
+++
maven/components/branches/maven-3.0.x-mercury/maven-compat/src/main/java/org/apache/maven/artifact/repository/ReactorArtifactRepository.java
Mon Apr 27 23:41:40 2009
@@ -62,7 +62,8 @@
public static String calculateKey( Artifact artifact )
{
- return
artifact.getGroupId()+":"+artifact.getArtifactId()+":"+artifact.getVersion()+":"+artifact.getType();
+ // GAV only
+ return
artifact.getGroupId()+":"+artifact.getArtifactId()+":"+artifact.getVersion();
}
private static String calculateBinaryName( Artifact artifact )