diff options
author | Jason van Zyl <jvanzyl@apache.org> | 2006-11-05 02:43:13 +0000 |
---|---|---|
committer | Jason van Zyl <jvanzyl@apache.org> | 2006-11-05 02:43:13 +0000 |
commit | 8ba1f8eb9771bf27939831122c4772f65c663e2a (patch) | |
tree | 955addb628dcfd872e2fce406036346e72fc6b20 /archiva-converter | |
parent | 11827a2dd5f3c47bc11ffd865737d9606f70d612 (diff) | |
download | archiva-8ba1f8eb9771bf27939831122c4772f65c663e2a.tar.gz archiva-8ba1f8eb9771bf27939831122c4772f65c663e2a.zip |
MRM-219 Convert a POM even if the checksum for the POM is incorrect
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@471342 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-converter')
-rw-r--r-- | archiva-converter/src/main/java/org/apache/maven/archiva/converter/DefaultRepositoryConverter.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/archiva-converter/src/main/java/org/apache/maven/archiva/converter/DefaultRepositoryConverter.java b/archiva-converter/src/main/java/org/apache/maven/archiva/converter/DefaultRepositoryConverter.java index 10cb3c9d7..5271e24c5 100644 --- a/archiva-converter/src/main/java/org/apache/maven/archiva/converter/DefaultRepositoryConverter.java +++ b/archiva-converter/src/main/java/org/apache/maven/archiva/converter/DefaultRepositoryConverter.java @@ -273,6 +273,7 @@ public class DefaultRepositoryConverter String snapshotKey = null; String versionKey = null; String versionsKey = null; + if ( repositoryMetadata.storedInGroupDirectory() ) { groupIdKey = "failure.incorrect.groupMetadata.groupId"; @@ -407,8 +408,10 @@ public class DefaultRepositoryConverter 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 ) { |