diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/DefaultRepositoryScanner.java b/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/DefaultRepositoryScanner.java index a38ad47c0..492845d4f 100644 --- a/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/DefaultRepositoryScanner.java +++ b/archiva-modules/archiva-base/archiva-repository-scanner/src/main/java/org/apache/archiva/repository/scanner/DefaultRepositoryScanner.java @@ -49,7 +49,7 @@ public class DefaultRepositoryScanner private FileTypes filetypes; @Inject - private RepositoryContentConsumers consumerUtil; + private RepositoryContentConsumers repositoryContentConsumers; private Set inProgressScans = new LinkedHashSet(); @@ -59,8 +59,8 @@ public class DefaultRepositoryScanner { try { - List knownContentConsumers = consumerUtil.getSelectedKnownConsumers(); - List invalidContentConsumers = consumerUtil.getSelectedInvalidConsumers(); + List knownContentConsumers = repositoryContentConsumers.getSelectedKnownConsumers(); + List invalidContentConsumers = repositoryContentConsumers.getSelectedInvalidConsumers(); List ignoredPatterns = filetypes.getFileTypePatterns( FileTypes.IGNORED ); return scan( repository, knownContentConsumers, invalidContentConsumers, ignoredPatterns, changesSince );