aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-converter
diff options
context:
space:
mode:
authorJason van Zyl <jvanzyl@apache.org>2006-11-05 02:43:13 +0000
committerJason van Zyl <jvanzyl@apache.org>2006-11-05 02:43:13 +0000
commit8ba1f8eb9771bf27939831122c4772f65c663e2a (patch)
tree955addb628dcfd872e2fce406036346e72fc6b20 /archiva-converter
parent11827a2dd5f3c47bc11ffd865737d9606f70d612 (diff)
downloadarchiva-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.java5
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 )
{