jenkinsci / aws-credentials-plugin

CloudBees Amazon Web Services Credentials Plugin
https://plugins.jenkins.io/aws-credentials/
MIT License
27 stars 72 forks source link

Test with Java 21 #230

Closed MarkEWaite closed 8 months ago

MarkEWaite commented 9 months ago

Test with Java 21

Java 21 released Sep 19, 2023. We'd like to announce full support for Java 21 in early October and would like the most used plugins to be compiling and testing with Java 21.

The acceptance test harness and plugin bill of materials tests are already passing with Java 21. This is a further step to improve plugin readiness for use with Java 21 and for development with Java 21.

Java 11 will be unsupported by Eclipse Temurin and some other Java providers in October 2024. We'll need to move past Java 11 by that time. It does not change the supported Java version or the byte code that is being generated.

Also updates the parent pom to 4.74 (most recent) and the plugin bill of materials to the most recent version.

Supersedes the following pull requests:

Testing done

Confirmed tests pass with Java 21.

Submitter checklist

MarkEWaite commented 8 months ago

@andresrc or @amuniz or @escoem would you be willing to label and merge this pull request so that the plugin tests Java 21 in its standard configuration? No need for a release, just a merge.

MarkEWaite commented 8 months ago

It does not change the supported Java version or the byte code that is being generated.

What would be the bytecode version of the release artifacts? I guess that would still be 11 (as set in https://github.com/jenkinsci/plugin-pom/blob/587d52ab4a35a3243b550c64fa7035f6c379921e/pom.xml#L61, right)

That's correct. The ci.jenkins.io jobs compile and test but don't release new versions of the plugin. New releases are performed with Java 11 using the continuous delivery process.