PR: MRM-38

Submitted by: John Tolentino

This is the correct patch for the background scheduler.

git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380029 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Edwin L. Punzalan 2006-02-23 02:33:57 +00:00
parent 550c936a33
commit d40c649157
2 changed files with 12 additions and 0 deletions

View File

@ -25,6 +25,11 @@
<!-- TODO: actually, just exclude from WAR plugin -->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-quartz</artifactId>
<version>1.0-alpha-2-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<finalName>maven-repository-webapp</finalName>

View File

@ -26,6 +26,8 @@ import org.apache.maven.repository.indexing.RepositoryIndexSearchException;
import org.apache.maven.repository.indexing.RepositoryIndexingFactory;
import org.apache.maven.repository.indexing.DefaultRepositoryIndexSearcher;
import org.apache.maven.repository.indexing.query.SinglePhraseQuery;
import org.codehaus.plexus.scheduler.Scheduler;
import org.codehaus.plexus.scheduler.configuration.SchedulerConfiguration;
import java.io.File;
import java.net.MalformedURLException;
@ -44,6 +46,11 @@ public class PackageSearchAction
private String md5;
/**
* @plexus.requirement
*/
private Scheduler scheduler;
/**
* @plexus.requirement
*/