4.52
💥 Breaking changes
- JENKINS-68568: Require Java 11 or newer (#478) @basil
This release of the plugin build toolchain requires Java 11 or newer and Jenkins 2.361 or newer. Update jenkins.version
in pom.xml
to 2.361 or newer as described in the developer documentation, and adjust your Jenkinsfile
to remove any Java 8 configurations. Note that in the absence of an explicit set of configurations, the default set of configurations still includes Java 8. The recommended set of configurations can be found in the archetype. Also note that pending JENKINS-46795 any changes to a repository's Jenkinsfile
require write access to take effect in the PR build.
If you neglect to update jenkins.version
to 2.361 or later, you will receive the following error:
This version of
maven-hpi-plugin
requires Jenkins 2.361 or later.
If you neglect to adjust your Jenkinsfile
to remove any Java 8 configurations (or try to build locally with Java 8), you will receive a low-level class version error.
🚨 Removed
As part of the transition to Java 11, Animal Sniffer has been removed from the plugin parent POM. If you require the use of Animal Sniffer, ensure that you include it in your own POM.
📦 Dependency updates
- Bump
maven-dependency-plugin
from 3.3.0 to 3.4.0 (#651) @dependabot - Bump
maven-hpi-plugin
from 3.35 to 3.36 (#650) @dependabot - Bump
jenkins-test-harness
from 1894.v471a_047124ce to 1900.v9e128c991ef4 (#649) @dependabot