From: Brett Porter Date: Fri, 19 Oct 2007 15:59:35 +0000 (+0000) Subject: run the correct consumers X-Git-Tag: archiva-1.0-beta-3~57 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cc605be65b267d551742e70b959ab8e7ad8ebb47;p=archiva.git run the correct consumers git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586514 13f79535-47bb-0310-9956-ffa450edef68 --- 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;