Skip to content

feat(java): Require Jenkins core 2.479 and Java 17. #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 4 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>2.11</version>
<version>5.9</version>
<relativePath />
</parent>

<properties>
Expand All @@ -19,23 +20,11 @@
<url>https://github.com/jenkinsci/bitbucket-pullrequest-builder-plugin</url>

<scm>
<connection>scm:git:ssh://[email protected]/jenkinsci/bitbucket-pullrequest-builder-plugin.git</connection>
<connection>scm:git:https://[email protected]/jenkinsci/bitbucket-pullrequest-builder-plugin.git</connection>
<developerConnection>scm:git:ssh://[email protected]/jenkinsci/bitbucket-pullrequest-builder-plugin.git</developerConnection>
<url>https://github.com/jenkinsci/bitbucket-pullrequest-builder-plugin.git</url>
<tag>bitbucket-pullrequest-builder-1.4.30</tag>
</scm>
<developers>
<developer>
<id>nishio_dens</id>
<name>nishio_dens</name>
<email>[email protected]</email>
</developer>
<developer>
<id>damovsky</id>
<name>Martin Damovsky</name>
<email>[email protected]</email>
</developer>
</developers>
</scm>

<!-- get every artifact through repo.jenkins-ci.org, which proxies all the artifacts that we need -->
<repositories>
Expand Down Expand Up @@ -65,7 +54,6 @@
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.9</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
Expand All @@ -80,12 +68,10 @@
<dependency>
<groupId>org.jenkins-ci</groupId>
<artifactId>symbol-annotation</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>14.0-rc3</version>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import org.eclipse.jgit.transport.URIish;
import org.jenkinsci.Symbol;
import org.kohsuke.stapler.DataBoundConstructor;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerRequest2;

import antlr.ANTLRException;
import hudson.Extension;
Expand Down Expand Up @@ -381,7 +381,7 @@ public String getDisplayName() {
}

@Override
public boolean configure(StaplerRequest req, JSONObject json) throws FormException {
public boolean configure(StaplerRequest2 req, JSONObject json) throws FormException {
save();
return super.configure(req, json);
}
Expand Down