Skip to content

Conversation

@MarkEWaite
Copy link

@MarkEWaite MarkEWaite commented Aug 30, 2025

Prepare for Java 25

Use parent pom 5.27 for Java 25 support. Java 25 releases Sep 16, 2025 and Jenkins wants to support Java 25 soon after its release. This pom upgrade allows the plugin to compile and test with Java 25.

Require Jenkins 2.504.3 because that is the recommended minimum Jenkins baseline.

Declare dependencies explicitly to prevent accidental addition of new dependencies from updates.

Enable Java 25 testing on ci.jenkins.io.

Testing done

Confirmed that automated tests pass with Java 21 and Java 25.

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

Java 25 releases Sep 16, 2025 and Jenkins wants to support Java 25 soon
after its release.  This pom upgrade allows the plugin to compile and
test with Java 25.
Some of the dependencies in the final release of the plugin BOM require 2.479.3
Prevent accidental addition of new dependencies from updates.
No benefit to test with Java 17 since we are generating Java 17 byte
code from the Java 21 and Java 25 compilers and have never found an
issue that was specific to using Java 17.
Most recent parent pom, latest updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant