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
<!-- 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>
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;
private String md5;
+ /**
+ * @plexus.requirement
+ */
+ private Scheduler scheduler;
+
/**
* @plexus.requirement
*/