diff options
author | Brett Porter <brett@apache.org> | 2009-12-09 08:08:21 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2009-12-09 08:08:21 +0000 |
commit | 99765460e017147e9663e3f653a3f243a6b705ea (patch) | |
tree | d29640960376b4688556f3935cd4f983dbf83a3c /archiva-modules/archiva-base/archiva-consumers | |
parent | 94e702281c96889f2736ba937cdde517646921ed (diff) | |
download | archiva-99765460e017147e9663e3f653a3f243a6b705ea.tar.gz archiva-99765460e017147e9663e3f653a3f243a6b705ea.zip |
[MRM-1299] migrate RSS from the database to the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888723 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-consumers')
-rw-r--r-- | archiva-modules/archiva-base/archiva-consumers/archiva-metadata-consumer/src/main/java/org/apache/archiva/consumers/metadata/ArchivaMetadataCreationConsumer.java | 3 |
1 files changed, 3 insertions, 0 deletions
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 02c447660..d8a33deb5 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 @@ -154,6 +154,9 @@ public class ArchivaMetadataCreationConsumer versionMetadata.setId( VersionUtil.getBaseVersion( artifact.getVersion() ) ); ArtifactMetadata artifactMeta = new ArtifactMetadata(); + artifactMeta.setRepositoryId( repository.getId() ); + artifactMeta.setNamespace( artifact.getGroupId() ); + artifactMeta.setProject( artifact.getArtifactId() ); artifactMeta.setId( file.getName() ); artifactMeta.setFileLastModified( file.lastModified() ); artifactMeta.setSize( file.length() ); |