Skip to content

Update to Spring Boot 4.2.0 and refresh build plugin pins - #276

Merged
jmanico merged 5 commits into
mainfrom
boot-4.2.0-build-pins
Nov 23, 2026
Merged

jmanico merged 5 commits into
mainfrom
boot-4.2.0-build-pins

Conversation

@jmanico

@jmanico jmanico commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Supersedes #272.

#272 proposed seven updates in one group and passed CI. This takes five of them, keeps HttpCore and httpcore5-h2 on 5.4.4, and removes an override that #272 left in place.

Taken as proposed

  • Spring Boot 4.2.0 for the Jakarta fixture.
  • Guava 33.8.0-jre in the Checkstyle, japicmp, WAR and Central publisher plugin realms and on the fixture's Selenium test classpath. GHSA-v5x9-67m3-7m56 (low severity, hash flooding) affects Guava through 33.7.2 and is fixed in 33.8.0. It is only a Guava repository advisory so far, so Dependabot doesn't alert on it. The decision record raises the pins' removal conditions from 33.7.2 to 33.8.0, and the POM comments name both advisories.
  • plexus-archiver 4.16.0, Maven Help Plugin 3.6.0 and Versions Maven Plugin 2.25.2.

Different from #272

  • Boot 4.2.0 manages OpenTelemetry 1.68.0. Bump the maven-dependencies group across 1 directory with 7 updates #272 kept the fixture's opentelemetry.version 1.67.0 override, which would now lower it. The override is removed, as the decision record planned, and the policy test fails if it comes back.
  • HttpCore and httpcore5-h2 stay on 5.4.4. The publisher realm pins HttpClient 5.6.5, which was built against HttpCore 5.4.4, and HttpClient 5.7, the line built on 5.5, is still in beta. Boot 4.2.0's own Maven plugin resolves the same 5.6.5 and 5.4.4 pair. No advisory affects 5.4.4, and no CI job runs the publisher, so Bump the maven-dependencies group across 1 directory with 7 updates #272's passing checks didn't cover this pairing.

Dependabot routing

HttpClient and both HttpCore coordinates move out of the broad group into their own httpcomponents group, and HttpCore's minor and major version updates are ignored. The weekly group stops proposing 5.5, HttpCore patch releases arrive in one PR, and patch and security updates stay eligible. A policy test keeps the two HttpCore pins equal and on the line the HttpClient pin was built against. When HttpClient 5.7 is released, its proposal will fail that test in its own PR instead of blocking the broad group, and the record describes the review to do then. This routing follows Dependabot's documented group and ignore behavior; I did not run a Dependabot job against it.

Verification

Local runs used macOS arm64, Homebrew OpenJDK 17.0.21 and the Maven 3.10.1 wrapper.

  • ./mvnw -B -ntp clean verify passes with 2,302 unit and 7 integration tests. Checkstyle and japicmp run on Guava 33.8.0, and source, Javadoc and bundle packaging run on plexus-archiver 4.16.0.
  • ./mvnw -B -ntp -PtestJakarta -DskipTests package passes, including the fixture's enforcer convergence rules, Checkstyle, WAR and Boot repackaging. The fixture's test tree resolves OpenTelemetry 1.68.0, Guava 33.8.0, Tomcat 11.0.27 and Selenium 4.49.0.
  • I compared dependency:resolve-plugins for the default, fixture and sign-artifacts closures with main. Beyond the changes above, the only differences are what Boot 4.2.0 and Help 3.6.0 bring themselves: Surefire and Failsafe 3.6.1 and Jackson 3.1.8 in the fixture, and Plexus Utils 4.1.0 in the Help realm. With the fixture's plugin pins removed, no plugin resolves a newer version than its pin.
  • scripts/check-effective-pom-scm.py passes with Help 3.6.0, and all 37 policy tests pass. On Bump the maven-dependencies group across 1 directory with 7 updates #272's tree the OpenTelemetry and HttpCore assertions fail.

The builds ran before the last commit, which changes only POM comments, documentation, Dependabot configuration and policy tests. Not run locally: the Docker/Selenium browser test, which required CI runs, and the publisher realm, which was resolved but not executed.

@jmanico
jmanico requested a review from jeremylong as a code owner November 23, 2026 11:53
@jmanico
jmanico merged commit 836c43e into main Nov 23, 2026
28 of 30 checks passed
@jmanico
jmanico deleted the boot-4.2.0-build-pins branch November 23, 2026 12:40
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