Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into bgloeckle-JENKINS-15976
  • Loading branch information
imod committed Jul 16, 2013
2 parents 3c44439 + 40f3b09 commit e034d63
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/src/main/java/hudson/tasks/Maven.java
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit e034d63

Please sign in to comment.