aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-converter
diff options
context:
space:
mode:
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 )
{