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

Update parent POM, update dependencies, test with Java 21 #87

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

gounthar
Copy link

Java 21 was released Sep 19, 2023. We want to announce full support for Java 21 in early October and would like the most used plugins to be compiled and tested 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.

The change intentionally tests only two Java configurations, Java 17 and Java 21 because we believe that the risk of a regression that only affects Java 11 is shallow. We generate Java 11 byte code with the Java 17 and the Java 21 builds, so we're already testing Java 11 byte code.

Testing done

Confirmed tests pass with Java 21 on Linux.

Supersedes pull request: #86.

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 demonstrates feature works or fixes the issue

[ERROR] Rule 3: org.apache.maven.enforcer.rules.dependency.BannedDependencies failed with message:
[ERROR] org.jenkins-ci.plugins:Parameterized-Remote-Trigger:hpi:3.2.1-SNAPSHOT
[ERROR]    org.mock-server:mockserver-junit-rule:jar:5.15.0
[ERROR]       org.mock-server:mockserver-netty:jar:5.15.0
[ERROR]          org.mock-server:mockserver-core:jar:5.15.0
[ERROR]             javax.servlet:javax.servlet-api:jar:4.0.1 <--- banned via the exclude/include list
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