Skip to content

Commit 84614be

Browse files
committed
feat(java): Require Jenkins core 2.479 and Java 17
1 parent d152047 commit 84614be

File tree

2 files changed

+6
-20
lines changed

2 files changed

+6
-20
lines changed

pom.xml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<parent>
44
<groupId>org.jenkins-ci.plugins</groupId>
55
<artifactId>plugin</artifactId>
6-
<version>2.11</version>
6+
<version>5.18</version>
7+
<relativePath />
78
</parent>
89

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

2122
<scm>
22-
<connection>scm:git:ssh://git@github.com/jenkinsci/bitbucket-pullrequest-builder-plugin.git</connection>
23+
<connection>scm:git:https://git@github.com/jenkinsci/bitbucket-pullrequest-builder-plugin.git</connection>
2324
<developerConnection>scm:git:ssh://git@github.com/jenkinsci/bitbucket-pullrequest-builder-plugin.git</developerConnection>
2425
<url>https://github.com/jenkinsci/bitbucket-pullrequest-builder-plugin.git</url>
2526
<tag>bitbucket-pullrequest-builder-1.4.30</tag>
26-
</scm>
27-
<developers>
28-
<developer>
29-
<id>nishio_dens</id>
30-
<name>nishio_dens</name>
31-
<email>nishio@densan-labs.net</email>
32-
</developer>
33-
<developer>
34-
<id>damovsky</id>
35-
<name>Martin Damovsky</name>
36-
<email>martin.damovsky@gmail.com</email>
37-
</developer>
38-
</developers>
27+
</scm>
3928

4029
<!-- get every artifact through repo.jenkins-ci.org, which proxies all the artifacts that we need -->
4130
<repositories>
@@ -65,7 +54,6 @@
6554
<dependency>
6655
<groupId>commons-codec</groupId>
6756
<artifactId>commons-codec</artifactId>
68-
<version>1.9</version>
6957
</dependency>
7058
<dependency>
7159
<groupId>org.codehaus.jackson</groupId>
@@ -80,12 +68,10 @@
8068
<dependency>
8169
<groupId>org.jenkins-ci</groupId>
8270
<artifactId>symbol-annotation</artifactId>
83-
<version>1.1</version>
8471
</dependency>
8572
<dependency>
8673
<groupId>com.google.guava</groupId>
8774
<artifactId>guava</artifactId>
88-
<version>14.0-rc3</version>
8975
</dependency>
9076
<dependency>
9177
<groupId>org.easymock</groupId>

src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/BitbucketBuildTrigger.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
import org.eclipse.jgit.transport.URIish;
2727
import org.jenkinsci.Symbol;
2828
import org.kohsuke.stapler.DataBoundConstructor;
29-
import org.kohsuke.stapler.StaplerRequest;
29+
import org.kohsuke.stapler.StaplerRequest2;
3030

3131
import antlr.ANTLRException;
3232
import hudson.Extension;
@@ -381,7 +381,7 @@ public String getDisplayName() {
381381
}
382382

383383
@Override
384-
public boolean configure(StaplerRequest req, JSONObject json) throws FormException {
384+
public boolean configure(StaplerRequest2 req, JSONObject json) throws FormException {
385385
save();
386386
return super.configure(req, json);
387387
}

0 commit comments

Comments
 (0)