Releases: jenkinsci/plugin-pom
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
4.51
🚀 New features and improvements
🐛 Bug fixes
📝 Documentation updates
- Document Java 17 support (#643) @NotMyFault
📦 Dependency updates
- Bump Maven Install Plugin from 3.0.1 to 3.1.0 (#646) @dependabot
- Bump
jenkins-test-harness
from 1868.v03b_7c6673e2e to 1894.v471a_047124ce (#647, #644, #641) @dependabot - Bump Mockito from 4.8.1 to 4.9.0 (#642) @dependabot
4.50
💥 Breaking changes
If you previously relied on the --mutex network
argument (for example, to ensure that only one instance of Yarn runs at any given time when running multiple instances of Yarn as the same user on the same server when running Yarn 1.x), you must now opt in to this behavior explicitly by adding <frontend.yarn.arguments>--mutex network</frontend.yarn.arguments>
to the <properties>
section of your plugin POM.
The direct dependency on JCIP annotations has been removed from the plugin POM. Plugins that use JCIP annotations should ensure they have a core baseline of 2.326 or later.
- SpotBugs changes
Updates to SpotBugs may introduce new warnings, such as NP_GUARANTEED_DEREF
or NP_NULL_ON_SOME_PATH
, due to modified analysis.
🚨 Removed
- Remove managed dependency on Objenesis (#634) @basil
- Remove duplicate SpotBugs defaults (#628) @basil
🐛 Bug fixes
📦 Dependency updates
- Upgrade
spotbugs-maven-plugin
from 4.2.3 to 4.7.3.0 (#639, #638, #637, #629) @basil @dependabot - Upgrade
maven-release-plugin
from 3.0.0-M6 to 3.0.0-M7 (#630) @dependabot
4.49
💥 Breaking changes
- Remove
<node.version>
,<npm.version>
, and<yarn.version>
defaults (#614, #626) @NotMyFault
If you previously used this functionality but did not explicitly specify a Node, NPM, or Yarn version, you must now explicitly specify the version in your pom.xml
(or gradle build scripts).
Check the build log for the following parts: you-must-override-the-yarn.version-property
, you-must-override-the-node.version-property
and you-must-override-the-npm.version-property
. If one or more are present, they specify the tool you need to add a version for.
You can obtain available versions here:
- Node: https://nodejs.org/ - We recommend to use LTS versions
- NPM: https://www.npmjs.com/package/npm?activeTab=versions
- Yarn: https://github.com/yarnpkg/berry/releases
📦 Dependency updates
- Bump
maven-license-plugin
from 1.10 to 1.15 (#624, #622) @dependabot - Bump
jenkins-test-harness
from 1847.v10c7a_4c2e344 to 1868.v03b_7c6673e2e (#623, #619, #617, #615) @dependabot - Bump
gmavenplus-plugin
from 1.13.1 to 2.1.0 (#621, #618) @dependabot - Bump
mockito-bom
from 4.8.0 to 4.8.1 (#620) @dependabot - Bump
maven-hpi-plugin
from 3.34 to 3.35 (#616) @dependabot
4.48
📦 Dependency updates
- Bump JUnit from 5.9.0 to 5.9.1 (#613) @dependabot
- Bump Jenkins test harness from 1837.vb_6efb_1790942 to 1847.v10c7a_4c2e344 (#611) @dependabot
- Bump Maven JAR Plugin from 3.2.2 to 3.3.0 (#612) @dependabot
- Use
mockito-bom
(#610) @basil - Bump Mockito from 4.7.0 to 4.8.0 (#609) @dependabot
- Bump Maven Stapler Plugin from 1.19 to 1.20 (#608) @dependabot
4.47
📦 Dependency updates
- Bump
jenkins-test-harness
from 1827.v6b_cc1a_74b_ed5 to 1834.v91a_a_5f4b_6529 (#606, #603) @dependabot - Bump Animal Sniffer from 1.21 to 1.22 (#604) @dependabot
- Bump
flatten-maven-plugin
from 1.2.7 to 1.3.0 (#605) @dependabot - Bump
maven-stapler-plugin
from 1.18 to 1.19 (#602) @dependabot - Bump
maven-javadoc-plugin
from 3.4.0 to 3.4.1 (#600) @dependabot - Bump
maven-project-info-reports-plugin
from 3.4.0 to 3.4.1 (#601) @dependabot - Bump Mockito from 4.6.1 to 4.7.0 (#598) @dependabot
- Bump
maven-hpi-plugin
from 3.32 to 3.34 (#599, #597) @dependabot
4.46
🐛 Bug fixes
📦 Dependency updates
- Bump jenkins-test-harness from 1816.v8138d8056949 to 1827.v6b_cc1a_74b_ed5 (#595) @dependabot
- Bump maven-stapler-plugin from 1.17 to 1.18 (#594) @dependabot
- Bump maven-site-plugin from 3.12.0 to 3.12.1 (#593) @dependabot
- Bump objenesis from 3.2 to 3.3 (#592) @dependabot
4.45
📦 Dependency updates
- Bump
maven-hpi-plugin
from 3.31 to 3.32 (#591, #589, #588) @dependabot - Bump
junit-bom
from 5.8.2 to 5.9.0 (#590) @dependabot - Bump
maven-resources-plugin
from 3.2.0 to 3.3.0 (#587) @dependabot
4.44
🚀 New features and improvements
- Use JUnit Jupiter aggregator artifact (#577) @basil
- JENKINS-48466 - Provide JUnit 5 support for
JenkinsRule
(#560) @basil
📦 Dependency updates
- Bump maven-hpi-plugin from 3.28 to 3.29 (#585) @dependabot
- Bump maven-deploy-plugin from 2.8.2 to 3.0.0 (#578) @dependabot
- Bump maven-install-plugin from 3.0.0-M1 to 3.0.1 (#580) @dependabot
- Bump incrementals-enforcer-rules from 1.3 to 1.4 (#583) @dependabot
- Bump incrementals-maven-plugin from 1.3 to 1.4 (#584) @dependabot
- Bump jenkins-test-harness from 1813.v14f5db_a_f2b_d3 to 1816.v8138d8056949 (#582) @dependabot
- Bump extra-enforcer-rules from 1.6.0 to 1.6.1 (#581) @dependabot
- Bump maven-project-info-reports-plugin from 3.3.0 to 3.4.0 (#575) @dependabot
- Bump jenkins-test-harness from 1802.v9de0d87365d2 to 1812.v6d4e97d91fd8 (#574) @dependabot
4.43.1
💥 Breaking changes
- Bump jenkins-test-harness from 1797.v711534844e8a_ to 1802.v9de0d87365d2 (#571) @dependabot
The minimum version of Jenkins supported with the provided jenkins test harness is now2.249
🚀 New features and improvements
📦 Dependency updates
- Bump jenkins-test-harness from 1797.v711534844e8a_ to 1802.v9de0d87365d2 (#571) @dependabot
- Bump extra-enforcer-rules from 1.5.1 to 1.6.0 (#569) @dependabot
- Bump jenkins-test-harness from 1794.vfb_4a_4cde0824 to 1795.vdec8c5cf0eca_ (#566) @dependabot