4.0
·
607 commits
to master
since this release
Breaking changes in order to make Plugin POM simpler to use and maintain. See this discussion in the developer mailing list for more info. All changes target JENKINS-60474 from #269 by @jtnord
Note: Jenkins 2.164.x is the minimum supported version as it's the first version that includes the Jenkins bom
💥 Breaking changes
- Update HtmlUnit to 2.36.0 in Jenkins Test Harness (#271) @dependabot
- API has some binary compatibility breaking changes, plugin maintainers may need to update the test codebase if they use
WebClient
-based tests
- API has some binary compatibility breaking changes, plugin maintainers may need to update the test codebase if they use
- JENKINS-58028 - Remove GMaven from
dependencyManagement
(#209, #277) @bitwiseman @oleg-nenashev- GMavenPlus should be used instead
🚀 New features and improvements
- JENKINS-58028 - Switch from GMaven to GMavenPlus (#209) @bitwiseman
- JENKINS-60474 - Libraries that are shipped with jenkins-core now have their dependency versions unconditionally managed by the Jenkins Core Bill of Materials
- The
jenkins-bom
andno-jenkins-bom
profiles have been removed - With this change the libaries used will be correct for a given
jenkins.version
however this requires a version of Jenkins that was published with the bom (2.195 or higher), or has been explicitly published - See here for a list of supported versions
- The
- A
quick-build
profile has been introduced that disabled things not related to just producing the desired artifacts. This is activated on the command line in the standard maven way (e.g.mvn -P quick-build package
) - Add an extra enforcer rule prevent releases from containing
SNAPSHOT
versions - JMH benchmarks are now run by activating the
jmh-benchmark
directly rather than via a property. (mvn -P jmh-benchmark test
) - Skipping tests using
surefire'
sskipTest
property no longer skips other mojos execution.
🚨 Removed
- Removed Deprecated
findbugs
properties, use the equivalentspotbugs
property (#269) @jtnord - Removed support for compiling plugins with
java.level
< 8. The only supportedjava.level
is8
- Deprecated
concurrency
property has been removed. use theforkCount
surefire option directly from the command line (or pom) (e.g.mvn -DforkCount=4 verify
) - Support for the
jgit
provider of the release plugin has been removed. Git executable is now required to be installed and available in thePATH
- Automatic re-running of failing tests has been removed.
- If this is desired it should be set per project by configuring
surefire
'srerunFailingTestsCount
parameter
- If this is desired it should be set per project by configuring
🐛 Bug Fixes
- JENKINS-60694 - Update Jenkins Test Harness to 2.60 with the hanging injected test fix (#284) @jtnord
📦 Dependency updates
- Bump spotbugs-maven-plugin from 3.1.12.2 to 4.0.0 (#302) @dependabot
- Bump flatten-maven-plugin from 1.2.1 to 1.2.2 (#305) @dependabot
- Introduce
powermock.version
property, update PowerMock to 2.0.7 (#309) @oleg-nenashev - Bump powermock-api-mockito2 from 2.0.4 to 2.0.6 (#286, #304) @dependabot
- Bump powermock-module-junit4 from 2.0.4 to 2.0.6 (#285, #303) @dependabot
- Bump maven-site-plugin from 3.8.2 to 3.9.0 (#301) @dependabot
- Bump build-helper-maven-plugin from 3.0.0 to 3.1.0 (#300) @dependabot
- Bump maven-javadoc-plugin from 3.1.1 to 3.2.0 (#298) @dependabot
- Bump mockito-core from 3.3.1 to 3.3.3 (#299) @dependabot
- Bump maven-dependency-plugin from 3.1.1 to 3.1.2 (#297) @dependabot
- Bump flatten-maven-plugin from 1.1.0 to 1.2.1 (#287) @dependabot
- Update Maven HPI Plugin from 3.11 to 3.13 (#290, #295) @dependabot @jglick
- Bump mockito-core from 3.2.4 to 3.3.1 (#293) @dependabot
- Bump frontend-maven-plugin from 1.8.0 to 1.9.0 (#276) @dependabot
- Bump mockito-core from 3.1.0 to 3.2.4 (#273) @dependabot
- Bump junit from 4.12 to 4.13 (#278) @dependabot
- Bump jenkins-test-harness from 2.57 to 2.62 (#281) @dependabot
- Bump gmavenplus-plugin from 1.7.1 to 1.9.0 (#280, #306) @dependabot
- Bump frontend-maven-plugin from 1.9.0 to 1.9.1 (#279) @dependabot
📝 Documentation updates
- Add link to show all BOM versions (#282) @jtnord
- Remove the obsolete baselines section from README (#274) @oleg-nenashev