aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-scheduler
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2021-06-01 22:46:51 +0200
committerMartin Stockhammer <martin_s@apache.org>2021-06-01 22:46:51 +0200
commit0ce53483a85b6b7a3a14417434edf56934b474ba (patch)
tree148acd378bdb456482396cb46c315024840fd807 /archiva-modules/archiva-scheduler
parentca18ec34d706efa6fdc6ecde6277ba6004e8eb4e (diff)
downloadarchiva-0ce53483a85b6b7a3a14417434edf56934b474ba.tar.gz
archiva-0ce53483a85b6b7a3a14417434edf56934b474ba.zip
Centralizing repository group handling. First part.
Diffstat (limited to 'archiva-modules/archiva-scheduler')
-rw-r--r--archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/AbstractArchivaRepositoryScanningTaskExecutorTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/AbstractArchivaRepositoryScanningTaskExecutorTest.java b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/AbstractArchivaRepositoryScanningTaskExecutorTest.java
index 1a6d39070..443078efb 100644
--- a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/AbstractArchivaRepositoryScanningTaskExecutorTest.java
+++ b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/AbstractArchivaRepositoryScanningTaskExecutorTest.java
@@ -29,6 +29,7 @@ import org.apache.archiva.mock.MockRepositorySessionFactory;
import org.apache.archiva.components.taskqueue.execution.TaskExecutor;
import org.apache.archiva.repository.ManagedRepository;
import org.apache.archiva.repository.RepositoryRegistry;
+import org.apache.archiva.repository.base.RepositoryGroupHandler;
import org.apache.archiva.scheduler.repository.model.RepositoryTask;
import org.apache.archiva.test.utils.ArchivaSpringJUnit4ClassRunner;
import org.junit.After;
@@ -66,6 +67,9 @@ public abstract class AbstractArchivaRepositoryScanningTaskExecutorTest
RepositoryRegistry repositoryRegistry;
@Inject
+ RepositoryGroupHandler groupHandler;
+
+ @Inject
@Named( value = "taskExecutor#test-repository-scanning" )
protected TaskExecutor<RepositoryTask> taskExecutor;