Author: jvanzyl
Date: Tue Nov  6 00:05:22 2007
New Revision: 592323

URL: http://svn.apache.org/viewvc?rev=592323&view=rev
Log:
o we will only enforce the no repeat rule for releases. this is fundamentally 
wrong and note my strong disagreement that for allowing this. But I respect our 
rules

Modified:
    
maven/artifact/trunk/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

Modified: 
maven/artifact/trunk/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java
URL: 
http://svn.apache.org/viewvc/maven/artifact/trunk/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java?rev=592323&r1=592322&r2=592323&view=diff
==============================================================================
--- 
maven/artifact/trunk/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java
 (original)
+++ 
maven/artifact/trunk/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java
 Tue Nov  6 00:05:22 2007
@@ -128,6 +128,14 @@
     {
         try
         {
+            // We will just let people deploy snapshots over and over again 
even if they want
+            // to deploy something different with the same name. 
+
+            if ( artifact.isSnapshot() )
+            {
+                return false;
+            }
+
             // We need to guard against repsositories in distribution 
management sections that
             // don't have any default policies set so all functions that 
expect policies
             // present don't fail.


Reply via email to