<artifactId>archiva-webdav</artifactId>
<name>Archiva Web :: WebDAV</name>
+ <properties>
+ <webdav.forkMode>always</webdav.forkMode>
+ </properties>
+
<dependencies>
<!-- TODO: remove this hardcoding through a better event mechanism -->
<dependency>
<systemPropertyVariables>
<appserver.base>${basedir}/target/appserver-base</appserver.base>
</systemPropertyVariables>
- <forkMode>always</forkMode>
+ <forkMode>${webdav.forkMode}</forkMode>
</configuration>
</plugin>
</plugins>
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.
managedFile.setLastModified( remoteFile.lastModified() + deltaManagedToRemoteTimestamp );
}
+ archivaConfiguration.getConfiguration().setProxyConnectors( new ArrayList<ProxyConnectorConfiguration>( 0 ) );
+
setupSnapshotConnector( REPOID_INTERNAL, remoteSnapshots, snapshotsPolicy );
saveConfiguration();