mirror of https://github.com/apache/archiva.git
[MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-webdav module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171522 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3c42d0834e
commit
f62c5ec2d2
|
@ -105,11 +105,11 @@
|
|||
-->
|
||||
|
||||
<!-- WebDav objects -->
|
||||
<logger name="org.apache.maven.archiva.webdav.ArchivaDavResource">
|
||||
<logger name="org.apache.archiva.webdav.ArchivaDavResource">
|
||||
<level value="info"/>
|
||||
</logger>
|
||||
|
||||
<logger name="org.apache.maven.archiva.webdav.ArchivaDavResourceFactory">
|
||||
<logger name="org.apache.archiva.webdav.ArchivaDavResourceFactory">
|
||||
<level value="info"/>
|
||||
</logger>
|
||||
|
||||
|
|
|
@ -248,8 +248,8 @@
|
|||
|
||||
|
||||
<!-- <component>
|
||||
<role>org.apache.maven.archiva.webdav.util.MimeTypes</role>
|
||||
<implementation>org.apache.maven.archiva.webdav.util.MimeTypes</implementation>
|
||||
<role>org.apache.archiva.webdav.util.MimeTypes</role>
|
||||
<implementation>org.apache.archiva.webdav.util.MimeTypes</implementation>
|
||||
<description>MimeTypes</description>
|
||||
<configuration>
|
||||
<resource>archiva-mime-types.txt</resource>
|
||||
|
|
|
@ -96,8 +96,8 @@
|
|||
<servlet>
|
||||
<servlet-name>RepositoryServlet</servlet-name>
|
||||
<servlet-class>
|
||||
org.apache.maven.archiva.webdav.RepositoryServlet
|
||||
</servlet-class>
|
||||
org.apache.archiva.webdav.RepositoryServlet
|
||||
</servlet-class>
|
||||
<!-- Loading this on startup so as to take advantage of configuration listeners -->
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
|
@ -22,7 +22,7 @@ package org.apache.maven.archiva.webdav;
|
|||
import org.apache.jackrabbit.util.Text;
|
||||
import org.apache.jackrabbit.webdav.DavLocatorFactory;
|
||||
import org.apache.jackrabbit.webdav.DavResourceLocator;
|
||||
import org.apache.maven.archiva.webdav.util.RepositoryPathUtil;
|
||||
import org.apache.archiva.webdav.util.RepositoryPathUtil;
|
||||
|
||||
/**
|
||||
*/
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
|
@ -50,8 +50,8 @@ import org.apache.jackrabbit.webdav.property.DavPropertyNameSet;
|
|||
import org.apache.jackrabbit.webdav.property.DavPropertySet;
|
||||
import org.apache.jackrabbit.webdav.property.DefaultDavProperty;
|
||||
import org.apache.jackrabbit.webdav.property.ResourceType;
|
||||
import org.apache.maven.archiva.webdav.util.IndexWriter;
|
||||
import org.apache.maven.archiva.webdav.util.MimeTypes;
|
||||
import org.apache.archiva.webdav.util.IndexWriter;
|
||||
import org.apache.archiva.webdav.util.MimeTypes;
|
||||
import org.codehaus.plexus.taskqueue.TaskQueueException;
|
||||
import org.joda.time.DateTime;
|
||||
import org.joda.time.format.DateTimeFormatter;
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
|
@ -57,9 +57,9 @@ import org.apache.archiva.repository.metadata.RepositoryMetadataException;
|
|||
import org.apache.archiva.repository.metadata.RepositoryMetadataMerge;
|
||||
import org.apache.archiva.repository.metadata.RepositoryMetadataReader;
|
||||
import org.apache.archiva.repository.metadata.RepositoryMetadataWriter;
|
||||
import org.apache.maven.archiva.webdav.util.MimeTypes;
|
||||
import org.apache.maven.archiva.webdav.util.RepositoryPathUtil;
|
||||
import org.apache.maven.archiva.webdav.util.WebdavMethodUtil;
|
||||
import org.apache.archiva.webdav.util.MimeTypes;
|
||||
import org.apache.archiva.webdav.util.RepositoryPathUtil;
|
||||
import org.apache.archiva.webdav.util.WebdavMethodUtil;
|
||||
import org.apache.maven.model.DistributionManagement;
|
||||
import org.apache.maven.model.Model;
|
||||
import org.apache.maven.model.Relocation;
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
|
@ -24,8 +24,8 @@ import org.apache.jackrabbit.webdav.DavException;
|
|||
import org.apache.jackrabbit.webdav.DavServletRequest;
|
||||
import org.apache.jackrabbit.webdav.DavSessionProvider;
|
||||
import org.apache.jackrabbit.webdav.WebdavRequest;
|
||||
import org.apache.maven.archiva.webdav.util.RepositoryPathUtil;
|
||||
import org.apache.maven.archiva.webdav.util.WebdavMethodUtil;
|
||||
import org.apache.archiva.webdav.util.RepositoryPathUtil;
|
||||
import org.apache.archiva.webdav.util.WebdavMethodUtil;
|
||||
import org.codehaus.plexus.redback.authentication.AuthenticationException;
|
||||
import org.codehaus.plexus.redback.authentication.AuthenticationResult;
|
||||
import org.codehaus.plexus.redback.authorization.UnauthorizedException;
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
|
@ -40,8 +40,8 @@ import org.apache.jackrabbit.webdav.property.DavPropertyNameSet;
|
|||
import org.apache.jackrabbit.webdav.property.DavPropertySet;
|
||||
import org.apache.jackrabbit.webdav.property.DefaultDavProperty;
|
||||
import org.apache.jackrabbit.webdav.property.ResourceType;
|
||||
import org.apache.maven.archiva.webdav.util.IndexWriter;
|
||||
import org.apache.maven.archiva.webdav.util.MimeTypes;
|
||||
import org.apache.archiva.webdav.util.IndexWriter;
|
||||
import org.apache.archiva.webdav.util.MimeTypes;
|
||||
import org.joda.time.DateTime;
|
||||
import org.joda.time.format.DateTimeFormatter;
|
||||
import org.joda.time.format.ISODateTimeFormat;
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav.util;
|
||||
package org.apache.archiva.webdav.util;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav.util;
|
||||
package org.apache.archiva.webdav.util;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
|
@ -48,7 +48,7 @@ public class MimeTypes
|
|||
{
|
||||
private static final String DEFAULT_MIME_TYPE = "application/octet-stream";
|
||||
|
||||
private String resource = "org/apache/maven/archiva/webdav/util/mime.types";
|
||||
private String resource = "org/apache/archiva/webdav/util/mime.types";
|
||||
|
||||
private Map<String, String> mimeMap = new HashMap<String, String>();
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav.util;
|
||||
package org.apache.archiva.webdav.util;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav.util;
|
||||
package org.apache.archiva.webdav.util;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -28,6 +28,6 @@
|
|||
default-lazy-init="true">
|
||||
|
||||
<context:annotation-config/>
|
||||
<context:component-scan base-package="org.apache.maven.archiva.webdav"/>
|
||||
<context:component-scan base-package="org.apache.archiva.webdav"/>
|
||||
|
||||
</beans>
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
|
@ -36,7 +36,7 @@ import org.apache.jackrabbit.webdav.lock.LockManager;
|
|||
import org.apache.jackrabbit.webdav.lock.Scope;
|
||||
import org.apache.jackrabbit.webdav.lock.SimpleLockManager;
|
||||
import org.apache.jackrabbit.webdav.lock.Type;
|
||||
import org.apache.maven.archiva.webdav.util.MimeTypes;
|
||||
import org.apache.archiva.webdav.util.MimeTypes;
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
|
@ -20,7 +20,7 @@ package org.apache.maven.archiva.webdav;
|
|||
*/
|
||||
|
||||
import junit.framework.TestCase;
|
||||
import org.apache.maven.archiva.webdav.util.MimeTypes;
|
||||
import org.apache.archiva.webdav.util.MimeTypes;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
|
@ -29,7 +29,7 @@ import java.io.InputStream;
|
|||
import javax.servlet.http.HttpServletResponse;
|
||||
|
||||
import org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration;
|
||||
import org.apache.maven.archiva.webdav.httpunit.MkColMethodWebRequest;
|
||||
import org.apache.archiva.webdav.httpunit.MkColMethodWebRequest;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav;
|
||||
package org.apache.archiva.webdav;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav.httpunit;
|
||||
package org.apache.archiva.webdav.httpunit;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav.util;
|
||||
package org.apache.archiva.webdav.util;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -1,4 +1,4 @@
|
|||
package org.apache.maven.archiva.webdav.util;
|
||||
package org.apache.archiva.webdav.util;
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
|
@ -30,7 +30,7 @@
|
|||
<context:property-placeholder system-properties-mode="OVERRIDE"/>
|
||||
|
||||
<context:annotation-config/>
|
||||
<context:component-scan base-package="org.apache.maven.archiva.webdav,org.apache.archiva.metadata.repository"/>
|
||||
<context:component-scan base-package="org.apache.archiva.webdav,org.apache.archiva.metadata.repository"/>
|
||||
|
||||
<bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
|
||||
<property name="properties">
|
||||
|
@ -44,7 +44,7 @@
|
|||
</property>
|
||||
</bean>
|
||||
|
||||
<bean name="servletAuthenticator" class="org.apache.maven.archiva.webdav.MockServletAuthenticator"/>
|
||||
<bean name="servletAuthenticator" class="org.apache.archiva.webdav.MockServletAuthenticator"/>
|
||||
|
||||
<bean name="archivaConfiguration#default" class="org.apache.maven.archiva.configuration.DefaultArchivaConfiguration">
|
||||
<property name="registry" ref="registry#default"/>
|
||||
|
@ -67,7 +67,7 @@
|
|||
</property>
|
||||
</bean>
|
||||
<!--
|
||||
<bean name="davResourceFactory#archiva" class="org.apache.maven.archiva.webdav.UnauthenticatedDavResourceFactory">
|
||||
<bean name="davResourceFactory#archiva" class="org.apache.archiva.webdav.UnauthenticatedDavResourceFactory">
|
||||
<property name="servletAuth" ref="servletAuthenticator"/>
|
||||
</bean>
|
||||
-->
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<context:property-placeholder system-properties-mode="OVERRIDE"/>
|
||||
|
||||
<context:annotation-config/>
|
||||
<context:component-scan base-package="org.apache.maven.archiva.webdav,org.apache.archiva.metadata.repository"/>
|
||||
<context:component-scan base-package="org.apache.archiva.webdav,org.apache.archiva.metadata.repository"/>
|
||||
|
||||
<bean name="scheduler" class="org.codehaus.redback.components.scheduler.DefaultScheduler">
|
||||
<property name="properties">
|
||||
|
@ -44,7 +44,7 @@
|
|||
</property>
|
||||
</bean>
|
||||
|
||||
<bean name="servletAuthenticator" class="org.apache.maven.archiva.webdav.MockServletAuthenticator"/>
|
||||
<bean name="servletAuthenticator" class="org.apache.archiva.webdav.MockServletAuthenticator"/>
|
||||
|
||||
<bean name="archivaConfiguration#default" class="org.apache.maven.archiva.configuration.DefaultArchivaConfiguration">
|
||||
<property name="registry" ref="registry#default"/>
|
||||
|
@ -69,7 +69,7 @@
|
|||
|
||||
<alias name="archivaDavResourceFactory#unauthenticated" alias="davResourceFactory#archiva"/>
|
||||
<!--
|
||||
<bean name="davResourceFactory#archiva" class="org.apache.maven.archiva.webdav.UnauthenticatedDavResourceFactory">
|
||||
<bean name="davResourceFactory#archiva" class="org.apache.archiva.webdav.UnauthenticatedDavResourceFactory">
|
||||
<property name="servletAuth" ref="servletAuthenticator"/>
|
||||
</bean>
|
||||
-->
|
||||
|
|
Loading…
Reference in New Issue