aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archiva-docs/src/site/apt/adminguide/consumers.apt16
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ValidateChecksumConsumer.java2
-rw-r--r--archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java2
3 files changed, 11 insertions, 9 deletions
diff --git a/archiva-docs/src/site/apt/adminguide/consumers.apt b/archiva-docs/src/site/apt/adminguide/consumers.apt
index 9c71a78e9..2846296a3 100644
--- a/archiva-docs/src/site/apt/adminguide/consumers.apt
+++ b/archiva-docs/src/site/apt/adminguide/consumers.apt
@@ -4,7 +4,7 @@
Maria Odea Ching
Olivier Lamy
------
- 2011-09-29
+ 2011-10-06
------
~~ Licensed to the Apache Software Foundation (ASF) under one
@@ -29,8 +29,8 @@
Understanding Consumers in Apache Archiva
- Archiva makes use of the concept of consumers. Consumers are components which consumes or processes an artifact. There are 2 types
- of consumers in Archiva: repository content consumers and database consumers.
+ Archiva makes use of the concept of consumers. Consumers are components which consumes or processes an artifact. There is on type
+ of consumers in Archiva: repository content consumers.
* Repository Content Consumers
@@ -49,8 +49,10 @@ Understanding Consumers in Apache Archiva
* <metadata-updater> - Updates artifact metadata files depending on the content of the repository.
* <repository-purge> - Removes old snapshots from the repository either by the number of days old or by the retention count.
-
- * <update-db-artifact> - Adds the artifact (in the form of ArchivaArtifact) to the database.
-
- * <validate-checksums> - Validates the checksum files of the artifact.
+
+ * <validate-checksums> - Validates the checksum files of the artifact.
+
+ * <create-archiva-metadata> - Take an artifact off of disk and put it into the metadata repository.
+
+ * <duplicate-artifacts> - Search the artifact repository of known SHA1 Checksums for potential duplicate artifacts.
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ValidateChecksumConsumer.java b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ValidateChecksumConsumer.java
index 3feace003..208bf95cd 100644
--- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ValidateChecksumConsumer.java
+++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/main/java/org/apache/archiva/consumers/core/ValidateChecksumConsumer.java
@@ -46,7 +46,7 @@ import java.util.List;
*
* @version $Id$
*/
-@Service( "knownRepositoryContentConsumer#validate-checksum" )
+@Service( "knownRepositoryContentConsumer#validate-checksums" )
@Scope( "prototype" )
public class ValidateChecksumConsumer
extends AbstractMonitoredConsumer
diff --git a/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java b/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java
index bbc2faaac..3b4917390 100644
--- a/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java
+++ b/archiva-modules/plugins/problem-reports/src/main/java/org/apache/archiva/reports/consumers/DuplicateArtifactsConsumer.java
@@ -54,7 +54,7 @@ import java.util.Date;
import java.util.List;
/**
- * Search the database of known SHA1 Checksums for potential duplicate artifacts.
+ * Search the artifact repository of known SHA1 Checksums for potential duplicate artifacts.
* <p/>
* TODO: no need for this to be a scanner - we can just query the database / content repository to get a full list
*