Skip to content
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

feat(java): Require Jenkins core 2.479.1 and Java 17. #30

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
20 changes: 4 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>4.51</version>
<version>5.7</version>
<relativePath />
</parent>

Expand All @@ -14,8 +14,8 @@

<properties>
<!-- https://www.jenkins.io/doc/developer/plugin-development/choosing-jenkins-baseline/ -->
<jenkins.baseline>2.346</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.3</jenkins.version>
<jenkins.baseline>2.479</jenkins.baseline>
<jenkins.version>${jenkins.baseline}.1</jenkins.version>
<slf4jVersion>1.7.26</slf4jVersion>
</properties>

Expand All @@ -34,18 +34,6 @@
<name>Dynamo-Media</name>
<url>https://www.dynamo-media.com</url>
</organization>
<developers>
<developer>
<id>justnom</id>
<name>Harry Macey</name>
<email>harry.macey@gmail.com</email>
</developer>
<developer>
<id>maxhy</id>
<name>Maxime C.</name>
<email>maxime@islog.com</email>
</developer>
</developers>

<scm>
<connection>scm:git:https://github.com/jenkinsci/proxmox-plugin.git</connection>
Expand Down Expand Up @@ -97,7 +85,7 @@
<dependency>
<groupId>io.jenkins.tools.bom</groupId>
<artifactId>bom-${jenkins.baseline}.x</artifactId>
<version>1763.v092b_8980a_f5e</version>
<version>4136.vca_c3202a_7fd1</version>
<scope>import</scope>
<type>pom</type>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/jenkinsci/plugins/proxmox/Datacenter.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import org.jenkinsci.plugins.proxmox.pve2api.Connector;
import org.kohsuke.stapler.DataBoundConstructor;
import org.kohsuke.stapler.QueryParameter;
import org.kohsuke.stapler.StaplerRequest;
import org.kohsuke.stapler.StaplerRequest2;

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

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