diff --git a/archiva-base/archiva-scheduled/pom.xml b/archiva-base/archiva-scheduled/pom.xml
index 1be6b5b1f..3b6186b13 100644
--- a/archiva-base/archiva-scheduled/pom.xml
+++ b/archiva-base/archiva-scheduled/pom.xml
@@ -55,17 +55,6 @@
commons-lang
commons-lang
-
- commons-logging
- commons-logging
- 1.1
-
-
- logkit
- logkit
-
-
-
org.codehaus.plexus
plexus-container-default
@@ -75,12 +64,18 @@
plexus-registry-api
1.0-alpha-2
+
org.codehaus.plexus.registry
plexus-registry-commons
1.0-alpha-2
test
+
+ org.apache.maven.archiva
+ archiva-core-consumers
+ test
+
diff --git a/archiva-base/archiva-scheduled/src/main/java/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutor.java b/archiva-base/archiva-scheduled/src/main/java/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutor.java
index eca258966..a7b380ddd 100644
--- a/archiva-base/archiva-scheduled/src/main/java/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutor.java
+++ b/archiva-base/archiva-scheduled/src/main/java/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutor.java
@@ -112,18 +112,10 @@ public class ArchivaScheduledTaskExecutor extends AbstractLogEnabled implements
long time = System.currentTimeMillis();
-
+ // insert repository scanning codelets here
time = System.currentTimeMillis() - time;
getLogger().info( "Finished repository task for " + time + "ms." );
}
-
- public void execute() throws TaskExecutionException
- {
- Configuration configuration = archivaConfiguration.getConfiguration();
-
-
-
- }
}
diff --git a/archiva-base/archiva-scheduled/src/test/java/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutorTest.java b/archiva-base/archiva-scheduled/src/test/java/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutorTest.java
index a3028ee2e..cf1720ea3 100644
--- a/archiva-base/archiva-scheduled/src/test/java/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutorTest.java
+++ b/archiva-base/archiva-scheduled/src/test/java/org/apache/maven/archiva/scheduled/executors/ArchivaScheduledTaskExecutorTest.java
@@ -51,15 +51,15 @@ public class ArchivaScheduledTaskExecutorTest
public void testExecutor()
throws TaskExecutionException
{
- taskExecutor.executeTask( new TestDataRefreshTask() );
+ taskExecutor.executeTask( new TestRepositoryTask() );
}
- class TestDataRefreshTask
+ class TestRepositoryTask
extends RepositoryTask
{
- public String getJobName()
+ public String getName()
{
- return "TestDataRefresh";
+ return "TestRepositoryTask";
}
}
}