You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by og...@apache.org on 2009/04/28 01:41:43 UTC

svn commit: r769200 - /maven/components/branches/maven-3.0.x-mercury/maven-compat/src/main/java/org/apache/maven/artifact/repository/ReactorArtifactRepository.java

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 )