From cc605be65b267d551742e70b959ab8e7ad8ebb47 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Fri, 19 Oct 2007 15:59:35 +0000 Subject: [PATCH] run the correct consumers git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586514 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/repository/scanner/RepositoryContentConsumers.java | 2 +- .../repository/scanner/RepositoryContentConsumerUtilTest.java | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/scanner/RepositoryContentConsumers.java b/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/scanner/RepositoryContentConsumers.java index ccb27874c..6e0138dac 100644 --- a/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/scanner/RepositoryContentConsumers.java +++ b/archiva-base/archiva-repository-layer/src/main/java/org/apache/maven/archiva/repository/scanner/RepositoryContentConsumers.java @@ -115,7 +115,7 @@ public class RepositoryContentConsumers { List ret = new ArrayList(); - List knownSelected = getSelectedInvalidConsumerIds(); + List knownSelected = getSelectedKnownConsumerIds(); for ( KnownRepositoryContentConsumer consumer : availableKnownConsumers ) { diff --git a/archiva-base/archiva-repository-layer/src/test/java/org/apache/maven/archiva/repository/scanner/RepositoryContentConsumerUtilTest.java b/archiva-base/archiva-repository-layer/src/test/java/org/apache/maven/archiva/repository/scanner/RepositoryContentConsumerUtilTest.java index 0b09f696f..e89558057 100644 --- a/archiva-base/archiva-repository-layer/src/test/java/org/apache/maven/archiva/repository/scanner/RepositoryContentConsumerUtilTest.java +++ b/archiva-base/archiva-repository-layer/src/test/java/org/apache/maven/archiva/repository/scanner/RepositoryContentConsumerUtilTest.java @@ -25,11 +25,8 @@ import org.apache.maven.archiva.consumers.InvalidRepositoryContentConsumer; import org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer; import org.apache.maven.archiva.consumers.RepositoryContentConsumer; import org.apache.maven.archiva.repository.AbstractRepositoryLayerTestCase; -import org.codehaus.plexus.PlexusTestCase; import org.easymock.MockControl; -import com.sun.corba.se.impl.encoding.OSFCodeSetRegistry; - import java.io.File; import java.util.Collections; import java.util.List;