<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1</version>
- <exclusions>
- <exclusion>
- <groupId>logkit</groupId>
- <artifactId>logkit</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
<artifactId>plexus-registry-api</artifactId>
<version>1.0-alpha-2</version>
</dependency>
+ <!-- Test Dependencies -->
<dependency>
<groupId>org.codehaus.plexus.registry</groupId>
<artifactId>plexus-registry-commons</artifactId>
<version>1.0-alpha-2</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.maven.archiva</groupId>
+ <artifactId>archiva-core-consumers</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
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();
-
-
-
- }
}
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";
}
}
}