diff --git a/archiva-modules/archiva-web/archiva-webdav/pom.xml b/archiva-modules/archiva-web/archiva-webdav/pom.xml
index ff95ddcf5..3301ea685 100644
--- a/archiva-modules/archiva-web/archiva-webdav/pom.xml
+++ b/archiva-modules/archiva-web/archiva-webdav/pom.xml
@@ -29,6 +29,10 @@
archiva-webdav
Archiva Web :: WebDAV
+
+ always
+
+
@@ -159,7 +163,7 @@
${basedir}/target/appserver-base
- always
+ ${webdav.forkMode}
diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/RepositoryServletProxiedPluginSnapshotPolicyTest.java b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/RepositoryServletProxiedPluginSnapshotPolicyTest.java
index d83bf35de..efa390254 100644
--- a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/RepositoryServletProxiedPluginSnapshotPolicyTest.java
+++ b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/RepositoryServletProxiedPluginSnapshotPolicyTest.java
@@ -24,10 +24,12 @@ import com.meterware.httpunit.HttpUnitOptions;
import com.meterware.httpunit.WebRequest;
import com.meterware.httpunit.WebResponse;
+import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
import org.apache.maven.archiva.policies.SnapshotsPolicy;
import org.junit.Test;
import java.io.File;
+import java.util.ArrayList;
/**
* RepositoryServlet Tests, Proxied, Get of Timestamped Snapshot Artifacts, with varying policy settings.
@@ -178,6 +180,8 @@ public class RepositoryServletProxiedPluginSnapshotPolicyTest
managedFile.setLastModified( remoteFile.lastModified() + deltaManagedToRemoteTimestamp );
}
+ archivaConfiguration.getConfiguration().setProxyConnectors( new ArrayList( 0 ) );
+
setupSnapshotConnector( REPOID_INTERNAL, remoteSnapshots, snapshotsPolicy );
saveConfiguration();