prepare test suite for mvn 3.1.x

This commit is contained in:
Olivier Lamy committed 2013-07-20 13:30:13 +10:00
1 parent 10522f205c
commit 0a53e45d7f
2 files changed
+9 -259

No files matched your search

@@ -545,7 +545,15 @@ public abstract class HudsonTestCase extends TestCase implements RootAction {
MavenInstallation m3 = new MavenInstallation("apache-maven-3.0.1",mvn.getHome(), NO_PROPERTIES);
jenkins.getDescriptorByType(Maven.DescriptorImpl.class).setInstallations(m3);
return m3;
}
}
protected MavenInstallation configureMaven31() throws Exception {
MavenInstallation mvn = configureDefaultMaven("apache-maven-3.1.0", MavenInstallation.MAVEN_30);
MavenInstallation m3 = new MavenInstallation("apache-maven-3.1.0",mvn.getHome(), NO_PROPERTIES);
jenkins.getDescriptorByType(Maven.DescriptorImpl.class).setInstallations(m3);
return m3;
}
/**
* Locates Maven2 and configure that as the only Maven in the system.