archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject svn commit: r471342 - /maven/archiva/trunk/archiva-converter/src/main/java/org/apache/maven/archiva/converter/DefaultRepositoryConverter.java
Date Sun, 05 Nov 2006 02:43:14 GMT
Author: jvanzyl
Date: Sat Nov  4 18:43:13 2006
New Revision: 471342

URL: http://svn.apache.org/viewvc?view=rev&rev=471342
Log:
MRM-219 Convert a POM even if the checksum for the POM is incorrect

Modified:
    maven/archiva/trunk/archiva-converter/src/main/java/org/apache/maven/archiva/converter/DefaultRepositoryConverter.java

Modified: maven/archiva/trunk/archiva-converter/src/main/java/org/apache/maven/archiva/converter/DefaultRepositoryConverter.java
URL: http://svn.apache.org/viewvc/maven/archiva/trunk/archiva-converter/src/main/java/org/apache/maven/archiva/converter/DefaultRepositoryConverter.java?view=diff&rev=471342&r1=471341&r2=471342
==============================================================================
--- maven/archiva/trunk/archiva-converter/src/main/java/org/apache/maven/archiva/converter/DefaultRepositoryConverter.java
(original)
+++ maven/archiva/trunk/archiva-converter/src/main/java/org/apache/maven/archiva/converter/DefaultRepositoryConverter.java
Sat Nov  4 18:43:13 2006
@@ -273,6 +273,7 @@
         String snapshotKey = null;
         String versionKey = null;
         String versionsKey = null;
+        
         if ( repositoryMetadata.storedInGroupDirectory() )
         {
             groupIdKey = "failure.incorrect.groupMetadata.groupId";
@@ -407,8 +408,10 @@
                 if ( testChecksums( artifact, file, reporter ) )
                 {
                     checksumsValid = true;
-                    contents = FileUtils.fileRead( file );
                 }
+
+                // Even if the checksums for the POM are invalid we should still convert
the POM
+                contents = FileUtils.fileRead( file );
             }
             catch ( IOException e )
             {



Mime
View raw message