WebDAV deployment from Maven was failing with VerifyError.

A test case requires a webdav server, I tried Milton but couldn't make it work without the source code.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19187 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-06-24 16:57:52 +00:00
1 parent 27d0fed834
commit 7dad16bbf4
2 files changed
+19 -1

No files matched your search

+5
View File
@@ -100,6 +100,11 @@ THE SOFTWARE.
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
<exclusion>
<!-- we bundle our own version below -->
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-webdav</artifactId>
</exclusion>
</exclusions>
</dependency>
@@ -54,5 +54,18 @@ public class RedeployPublisherTest extends HudsonTestCase {
System.out.println(repo);
}
// /**
// * Makes sure that the webdav wagon component we bundle is compatible.
// */
// public void testWebDavDeployment() throws Exception {
// configureDefaultMaven();
// MavenModuleSet m2 = createMavenProject();
//
// // a fake build
// m2.setScm(new SingleFileSCM("pom.xml",getClass().getResource("big-artifact.pom")));
// m2.getPublishersList().add(new RedeployPublisher("","dav:http://localhost/dav/",true));
//
// MavenModuleSetBuild b = m2.scheduleBuild2(0).get();
// assertBuildStatus(Result.SUCCESS, b);
// }
}