import org.apache.maven.archiva.repository.metadata.RepositoryMetadataMerge;
import org.apache.maven.archiva.repository.metadata.RepositoryMetadataReader;
import org.apache.maven.archiva.repository.metadata.RepositoryMetadataWriter;
-import org.apache.maven.archiva.repository.scanner.RepositoryContentConsumers;
import org.apache.maven.archiva.scheduled.ArchivaTaskScheduler;
import org.apache.maven.archiva.security.ServletAuthenticator;
import org.apache.maven.archiva.webdav.util.MimeTypes;
import org.codehaus.plexus.redback.system.SecuritySession;
import org.codehaus.plexus.redback.users.User;
import org.codehaus.plexus.redback.users.UserManager;
-import org.codehaus.plexus.taskqueue.execution.TaskExecutor;
-import org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor;
import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
import org.codehaus.redback.integration.filter.authentication.HttpAuthenticator;
import org.slf4j.Logger;
*/
private final LockManager lockManager = new SimpleLockManager();
- /**
- * @plexus.requirement
- */
- private RepositoryContentConsumers consumers;
-
/**
* @plexus.requirement
*/
* @plexus.requirement role-hint="md5";
*/
private Digester digestMd5;
-
- /**
- * @plexus.requirement role-hint="repository-scanning"
- */
- private TaskExecutor taskExecutor;
-
+
/**
* @plexus.requirement
*/
private ArchivaTaskScheduler scheduler;
- /**
- * @plexus.requirement role-hint="repository-scanning"
- */
- private TaskQueueExecutor repoScanningTaskQueueExecutor;
-
public DavResource createResource( final DavResourceLocator locator, final DavServletRequest request,
final DavServletResponse response )
throws DavException
this.httpAuth = httpAuth;
}
- public void setTaskExecutor( TaskExecutor taskExecutor )
- {
- this.taskExecutor = taskExecutor;
- }
-
public void setScheduler( ArchivaTaskScheduler scheduler )
{
this.scheduler = scheduler;
<role-hint>basic</role-hint>
<field-name>httpAuth</field-name>
</requirement>
- <requirement>
- <role>org.apache.maven.archiva.repository.scanner.RepositoryContentConsumers</role>
- <role-hint>default</role-hint>
- </requirement>
<requirement>
<role>org.codehaus.plexus.digest.ChecksumFile</role>
<field-name>checksum</field-name>
<role-hint>md5</role-hint>
<field-name>digestMd5</field-name>
</requirement>
- <requirement>
- <role>org.codehaus.plexus.taskqueue.execution.TaskExecutor</role>
- <role-hint>repository-scanning</role-hint>
- <field-name>taskExecutor</field-name>
- </requirement>
<requirement>
<role>org.apache.maven.archiva.scheduled.ArchivaTaskScheduler</role>
<field-name>scheduler</field-name>
<role-hint>basic</role-hint>
<field-name>httpAuth</field-name>
</requirement>
- <requirement>
- <role>org.apache.maven.archiva.repository.scanner.RepositoryContentConsumers</role>
- <role-hint>default</role-hint>
- </requirement>
<requirement>
<role>org.codehaus.plexus.digest.ChecksumFile</role>
<field-name>checksum</field-name>
<role-hint>md5</role-hint>
<field-name>digestMd5</field-name>
</requirement>
- <requirement>
- <role>org.codehaus.plexus.taskqueue.execution.TaskExecutor</role>
- <role-hint>repository-scanning</role-hint>
- <field-name>taskExecutor</field-name>
- </requirement>
<requirement>
<role>org.apache.maven.archiva.scheduled.ArchivaTaskScheduler</role>
<field-name>scheduler</field-name>