Skip to content
Permalink
Browse files
Merge branch 'JENKINS-15976' of https://github.com/bgloeckle/jenkins
…into bgloeckle-JENKINS-15976
  • Loading branch information
imod committed Jul 16, 2013
2 parents 3c44439 + 40f3b09 commit e034d632ec8ff6dfc80bb065f57fce9279547814
Showing with 1 addition and 4 deletions.
  1. +1 −4 core/src/main/java/hudson/tasks/Maven.java
@@ -435,10 +435,7 @@ public void setInstallations(MavenInstallation... installations) {

@Override
public Builder newInstance(StaplerRequest req, JSONObject formData) throws FormException {
Maven m = req.bindJSON(Maven.class,formData);
m.setSettings(GlobalMavenConfig.get().getSettingsProvider());
m.setGlobalSettings(GlobalMavenConfig.get().getGlobalSettingsProvider());
return m;
return req.bindJSON(Maven.class,formData);
}
}

0 comments on commit e034d63

Please sign in to comment.