From: Brett Porter Date: Wed, 29 Dec 2010 08:15:02 +0000 (+0000) Subject: [MRM-1330] correct bug - ensure parsed model from storage gets added to content repos... X-Git-Tag: archiva-1.4-M1~854 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=53c1188710c23b4e6e0302044c994ab289d490e6;p=archiva.git [MRM-1330] correct bug - ensure parsed model from storage gets added to content repository git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053567 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java b/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java index 5d9af2893..6cecc467e 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java @@ -168,6 +168,7 @@ public class ArchivaMetadataCreationConsumer { versionMetadata = repositoryStorage.readProjectVersionMetadata( repoId, artifact.getNamespace(), artifact.getProject(), projectVersion ); + createVersionMetadata = true; } catch ( RepositoryStorageMetadataNotFoundException e ) {