diff --git a/pom.xml b/pom.xml
index cd43aac52c..088e0839ef 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
org.jenkins-ci.plugins
plugin
- 4.88
+ 5.1
@@ -53,7 +53,7 @@
- 6.0.1
+ 6.1.0
-SNAPSHOT
-Dfile.encoding=${project.build.sourceEncoding}
@@ -62,10 +62,8 @@
2.462
- 2.463
+ 2.479
7.0.0.202409031743-r
-
- 17
Max
Low
false
diff --git a/src/main/java/hudson/plugins/git/GitTool.java b/src/main/java/hudson/plugins/git/GitTool.java
index d88ff75df3..23004b2809 100644
--- a/src/main/java/hudson/plugins/git/GitTool.java
+++ b/src/main/java/hudson/plugins/git/GitTool.java
@@ -27,7 +27,7 @@
import org.jenkinsci.Symbol;
import org.kohsuke.stapler.DataBoundConstructor;
import org.kohsuke.stapler.QueryParameter;
-import org.kohsuke.stapler.StaplerRequest;
+import org.kohsuke.stapler.StaplerRequest2;
import org.kohsuke.stapler.interceptor.RequirePOST;
/**
@@ -153,7 +153,7 @@ public String getDisplayName() {
}
@Override
- public boolean configure(StaplerRequest req, JSONObject json) {
+ public boolean configure(StaplerRequest2 req, JSONObject json) {
setInstallations(req.bindJSONToList(clazz, json.get("tool")).toArray(new GitTool[0]));
save();
return true;