mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
prepare test suite for mvn 3.1.x
This commit is contained in:
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.
|
||||
|
||||
Reference in new issue
Block a user