From 5d09d46ec5ecdd21106ce0c89f2c7003df5fb61a Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 29 Oct 2012 21:35:22 +0000 Subject: [PATCH] fix consumer archetype git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403540 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/resources/archetype-resources/pom.xml | 6 ++++++ .../src/main/java/SimpleArtifactConsumer.java | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/pom.xml index 2833d721c..16c70b34e 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/pom.xml @@ -59,6 +59,12 @@ archiva-indexer ${archiva.version} + + org.apache.archiva + maven2-repository + ${archiva.version} + provided + org.easymock easymock diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/main/java/SimpleArtifactConsumer.java b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/main/java/SimpleArtifactConsumer.java index 9c55e7185..95b1d58e4 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/main/java/SimpleArtifactConsumer.java +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/main/java/SimpleArtifactConsumer.java @@ -47,7 +47,7 @@ import org.apache.archiva.admin.model.beans.ManagedRepository; @Scope("prototype") public class SimpleArtifactConsumer extends AbstractMonitoredConsumer - implements KnownRepositoryContentConsumer, RegistryListener, Initializable + implements KnownRepositoryContentConsumer, RegistryListener { private Logger log = LoggerFactory.getLogger( SimpleArtifactConsumer.class ); -- 2.39.5