mirror of https://github.com/apache/archiva.git
back to forkMode once for webdav module : faster build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136035 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
26665cb8ea
commit
aefe91d87c
|
@ -30,7 +30,7 @@
|
||||||
<name>Archiva Web :: WebDAV</name>
|
<name>Archiva Web :: WebDAV</name>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<webdav.forkMode>always</webdav.forkMode>
|
<webdav.forkMode>once</webdav.forkMode>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
@ -23,11 +23,12 @@ import com.meterware.httpunit.GetMethodWebRequest;
|
||||||
import com.meterware.httpunit.HttpUnitOptions;
|
import com.meterware.httpunit.HttpUnitOptions;
|
||||||
import com.meterware.httpunit.WebRequest;
|
import com.meterware.httpunit.WebRequest;
|
||||||
import com.meterware.httpunit.WebResponse;
|
import com.meterware.httpunit.WebResponse;
|
||||||
|
import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
|
||||||
import org.apache.maven.archiva.policies.ReleasesPolicy;
|
import org.apache.maven.archiva.policies.ReleasesPolicy;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* RepositoryServlet Tests, Proxied, Get of Release Artifacts, with varying policy settings.
|
* RepositoryServlet Tests, Proxied, Get of Release Artifacts, with varying policy settings.
|
||||||
|
@ -175,6 +176,8 @@ public class RepositoryServletProxiedReleasePolicyTest
|
||||||
managedFile.setLastModified( remoteFile.lastModified() + deltaManagedToRemoteTimestamp );
|
managedFile.setLastModified( remoteFile.lastModified() + deltaManagedToRemoteTimestamp );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
archivaConfiguration.getConfiguration().setProxyConnectors( new ArrayList<ProxyConnectorConfiguration>() );
|
||||||
|
|
||||||
setupReleaseConnector( REPOID_INTERNAL, remoteCentral, releasePolicy );
|
setupReleaseConnector( REPOID_INTERNAL, remoteCentral, releasePolicy );
|
||||||
saveConfiguration();
|
saveConfiguration();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue