From a1ddc639cdcad078b22e68612d034cc6228a3476 Mon Sep 17 00:00:00 2001 From: Jim Manico Date: Mon, 23 Nov 2026 18:52:04 +0700 Subject: [PATCH 1/3] Update to Spring Boot 4.2.0 and refresh build plugin pins --- CHANGELOG.md | 4 ++++ jakarta-test/README.md | 9 +++++---- jakarta-test/pom.xml | 15 ++++++--------- pom.xml | 18 +++++++++--------- 4 files changed, 24 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 375f112..d93ec40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,10 @@ unchanged. [1.6.0 is available from Central](releases/1.6.0-central-publication. exceeds. Refresh Maven build plugins, plexus-archiver, japicmp, and the test/publisher-only Jackson 2.22.4. Published library dependencies are unchanged. +- Update the Jakarta fixture to Spring Boot 4.2.0 and drop its OpenTelemetry + override, which Boot now exceeds. Move the build-plugin and fixture Guava + pins to 33.8.0 and refresh plexus-archiver and the Maven Help and Versions + plugins. Published library dependencies are unchanged. - Pin Guava 33.7.2 in the Checkstyle, japicmp, WAR and Central publisher plugin realms and the Jakarta fixture's Selenium tests, and raise the fixture's OpenTelemetry to 1.67.0, for GHSA-xxph-c9ww-hj94 and diff --git a/jakarta-test/README.md b/jakarta-test/README.md index 51c7a35..3163e57 100644 --- a/jakarta-test/README.md +++ b/jakarta-test/README.md @@ -38,12 +38,13 @@ A local Chrome-only diagnostic for the JavaScript suite remains available with ## Framework and API boundaries -As reviewed on 2026-10-26, this fixture uses supported Spring Boot **4.1.2** and +As reviewed on 2026-11-23, this fixture uses supported Spring Boot **4.2.0** and its managed dependencies, on JDK **17**, with Tomcat/Jasper **11.0.27** (Servlet **6.1**, Pages **4.0**, EL **6.0**). The deliberate BOM override is -Selenium 4.49.0, aligned with the current reviewed browser image. Its test-only -Guava (**33.7.2**) and OpenTelemetry (**1.67.0**) are raised to the first -releases that fix GHSA-xxph-c9ww-hj94 and GHSA-ccrj-gw8r-854m; see the +Selenium 4.49.0, aligned with the current reviewed browser image; Boot manages +4.51.0. Its test-only Guava is pinned to **33.8.0**, past the 33.7.2 that fixes +GHSA-xxph-c9ww-hj94. OpenTelemetry (**1.68.0**) follows the Boot BOM again, +past the 1.67.0 that fixes GHSA-ccrj-gw8r-854m; see the [dependency decisions](../.github/DEPENDENCY_DECISIONS.md). Testcontainers **2.0.5**, JSTL API **3.0.2** and implementation **3.0.1** follow the Boot BOM. The standalone Servlet/Pages/EL API JARs are removed; Tomcat supplies diff --git a/jakarta-test/pom.xml b/jakarta-test/pom.xml index c60939a..e633fe7 100644 --- a/jakarta-test/pom.xml +++ b/jakarta-test/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 4.1.2 + 4.2.0 org.owasp.encoder.testing @@ -24,9 +24,6 @@ 17 4.49.0 - - 1.67.0 1.6.1-SNAPSHOT @@ -34,7 +31,7 @@ - com.google.guavaguava33.7.2-jre + com.google.guavaguava33.8.0-jre @@ -121,10 +118,10 @@ 12.3.1 org.apache.commonscommons-lang33.22.0 - org.codehaus.plexusplexus-archiver4.15.0 + org.codehaus.plexusplexus-archiver4.16.0 org.codehaus.plexusplexus-utils4.0.3 - com.google.guavaguava33.7.2-jre + com.google.guavaguava33.8.0-jre ${maven.multiModuleProjectDirectory}/src/main/config/checkstyle.xml @@ -199,10 +196,10 @@ org.apache.maven.plugins maven-war-plugin - org.codehaus.plexusplexus-archiver4.15.0 + org.codehaus.plexusplexus-archiver4.16.0 org.codehaus.plexusplexus-utils4.0.3 - com.google.guavaguava33.7.2-jre + com.google.guavaguava33.8.0-jre diff --git a/pom.xml b/pom.xml index a7f3b57..3bf3a86 100644 --- a/pom.xml +++ b/pom.xml @@ -198,7 +198,7 @@ org.apache.maven.plugins maven-help-plugin - 3.5.2 + 3.6.0 org.jsoupjsoup1.24.1 @@ -273,7 +273,7 @@ maven-source-plugin 3.4.0 - org.codehaus.plexusplexus-archiver4.15.0 + org.codehaus.plexusplexus-archiver4.16.0 org.codehaus.plexusplexus-utils4.0.3 @@ -283,7 +283,7 @@ 3.12.0 commons-beanutilscommons-beanutils1.11.0 - org.codehaus.plexusplexus-archiver4.15.0 + org.codehaus.plexusplexus-archiver4.16.0 org.codehaus.plexusplexus-utils4.0.3 @@ -323,13 +323,13 @@ 6.2.0 commons-beanutilscommons-beanutils1.11.0 - org.codehaus.plexusplexus-archiver4.15.0 + org.codehaus.plexusplexus-archiver4.16.0 org.codehaus.mojo versions-maven-plugin - 2.25.1 + 2.25.2 @@ -344,7 +344,7 @@ 0.27.0 - com.google.guavaguava33.7.2-jre + com.google.guavaguava33.8.0-jre @@ -379,7 +379,7 @@ 0.12.0 - com.google.guavaguava33.7.2-jre + com.google.guavaguava33.8.0-jre @@ -420,10 +420,10 @@ 12.3.1 org.apache.commonscommons-lang33.22.0 - org.codehaus.plexusplexus-archiver4.15.0 + org.codehaus.plexusplexus-archiver4.16.0 org.codehaus.plexusplexus-utils4.0.3 - com.google.guavaguava33.7.2-jre + com.google.guavaguava33.8.0-jre ${maven.multiModuleProjectDirectory}/src/main/config/checkstyle.xml From 89a60e3fe874d666f35717ada5aa4c55d4e18661 Mon Sep 17 00:00:00 2001 From: Jim Manico Date: Mon, 23 Nov 2026 18:52:05 +0700 Subject: [PATCH 2/3] Record the #272 decisions and keep HttpCore on its HttpClient line --- .github/DEPENDENCY_DECISIONS.md | 37 +++++++++++++++++++++++++++++++-- .github/dependabot.yml | 13 ++++++++++++ scripts/tests/test_ci_policy.py | 32 ++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 2 deletions(-) diff --git a/.github/DEPENDENCY_DECISIONS.md b/.github/DEPENDENCY_DECISIONS.md index a32fcc2..e4cd74d 100644 --- a/.github/DEPENDENCY_DECISIONS.md +++ b/.github/DEPENDENCY_DECISIONS.md @@ -175,6 +175,39 @@ realms. The publisher realm was resolved, not executed, because there is no publishing run that skips signing and Central credentials. The next signed release rehearsal should confirm it before a release relies on it. +## Boot 4.2.0, Guava 33.8.0 and HttpCore — 2026-11-23 + +Grouped PR [#272](https://github.com/OWASP/owasp-java-encoder/pull/272) +proposed seven updates and passed CI. A separate change takes six of them and +corrects one; HttpCore 5.5 is not accepted. + +- Spring Boot **4.2.0** for the Jakarta fixture. It manages OpenTelemetry + 1.68.0, so the fixture's `opentelemetry.version` 1.67.0 override is removed, + as planned above. #272 kept the override, which would have lowered Boot's + version. A policy test fails if it returns. Boot 4.2.0 still manages Tomcat + 11.0.27 and now manages Selenium 4.51.0; the fixture stays on 4.49.0 with the + digest-pinned browser image, so that override is now below Boot's version. +- Guava **33.8.0-jre** in every pin from the 2026-11-16 entry. It adds the + hash-flooding hardening of + [GHSA-v5x9-67m3-7m56](https://github.com/google/guava/security/advisories/GHSA-v5x9-67m3-7m56) + (low severity) on top of the 33.7.2 fix. The removal conditions for those + pins are unchanged. +- plexus-archiver **4.16.0**, which upstream describes as binary compatible + with 4.15.0, Maven Help Plugin **3.6.0**, which now requires Maven 3.9.0 (this + build requires 3.9.16), and Versions Maven Plugin **2.25.2**. +- 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; HttpClient 5.7, the + line built on HttpCore 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 published advisory affects 5.4.4 + (GHSA-hf6x-8p5f-cgmf and GHSA-v3jc-474w-2wm6 were fixed in 5.4.3). No CI job + runs the publisher, so #272's passing checks did not exercise this pairing. + The configuration now excludes both coordinates from the broad group + and ignores their minor and major version updates; patch and security updates + remain eligible. A policy test keeps the HttpCore pins on the line the + HttpClient pin was built against. Revisit when HttpClient 5.7 is released: + move the client and both HttpCore pins together, confirm the publisher in a + release rehearsal, and remove the two rules and update the test with them. + ## Maven 3.10.1 wrapper — 2026-11-16 Accept the Maven **3.10.1** distribution proposed by Dependabot PR @@ -227,9 +260,9 @@ record; a grouped PR closure is not proof that every proposed upgrade was applie The [configuration](dependabot.yml) excludes twelve coordinates from the broad Maven **version-update group**: the nine baseline-sensitive coordinates above, -the two Boot plugin-realm Jackson coordinates and the Maven distribution used by +the two publisher-realm HttpCore coordinates and the Maven distribution used by the wrapper. For the eight of those coordinates with a rejected proposal in -#218–#227 and the two Jackson coordinates from #232, it also ignores only the +#218–#227 and the two HttpCore coordinates from #272, it also ignores only the SemVer minor or major version-update classes covered by the decisions above. The Maven wrapper has no ignore rule. The two Tomcat engine coordinates, the other rejected proposals in that range, have their own entries described below. diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6078c95..7faf6bf 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -32,6 +32,9 @@ updates: - jakarta.el:jakarta.el-api # The wrapper's Maven version is a separately reviewed toolchain change. - org.apache.maven:apache-maven + # The publisher realm keeps HttpCore on its pinned HttpClient's line. + - org.apache.httpcomponents.core5:httpcore5 + - org.apache.httpcomponents.core5:httpcore5-h2 maven-security: applies-to: security-updates patterns: ['*'] @@ -77,6 +80,16 @@ updates: update-types: - version-update:semver-minor - version-update:semver-major + # The Central publisher's HttpClient 5.6 pin was built against HttpCore + # 5.4, and no CI job runs that realm. Move both together. + - dependency-name: org.apache.httpcomponents.core5:httpcore5 + update-types: + - version-update:semver-minor + - version-update:semver-major + - dependency-name: org.apache.httpcomponents.core5:httpcore5-h2 + update-types: + - version-update:semver-minor + - version-update:semver-major # The JSP engine fixtures pin Tomcat 9.0 in jsp/ and 10.1 in jakarta/ # under the same coordinates. This scan would combine them from 9.0 and # write that line's release into both modules, so the /jsp and /jakarta diff --git a/scripts/tests/test_ci_policy.py b/scripts/tests/test_ci_policy.py index f965333..85863f8 100644 --- a/scripts/tests/test_ci_policy.py +++ b/scripts/tests/test_ci_policy.py @@ -209,6 +209,8 @@ def test_dependabot_scopes_reviewed_ignores_to_version_updates(self): 'jakarta.servlet.jsp:jakarta.servlet.jsp-api': minor_and_major, 'jakarta.servlet:jakarta.servlet-api': minor_and_major, 'jakarta.el:jakarta.el-api': minor_and_major, + 'org.apache.httpcomponents.core5:httpcore5': minor_and_major, + 'org.apache.httpcomponents.core5:httpcore5-h2': minor_and_major, 'org.apache.tomcat.embed:tomcat-embed-jasper': [], 'org.apache.tomcat:tomcat-annotations-api': [], } @@ -348,10 +350,40 @@ def test_boot_plugin_realm_uses_boot_managed_jackson(self): self.assertIsNone(app.find( 'p:properties/p:jackson.build.version', version.NS)) self.assertIsNone(app.find('p:properties/p:tomcat.version', version.NS)) + # Boot 4.2.0 manages OpenTelemetry 1.68.0. The 1.67.0 override that + # fixed GHSA-ccrj-gw8r-854m under Boot 4.1.2 would now lower it. + self.assertIsNone(app.find( + 'p:properties/p:opentelemetry.version', version.NS)) for dep in app.iter('{%s}dependency' % version.NS['p']): self.assertNotEqual('tools.jackson.core', dep.findtext( 'p:groupId', namespaces=version.NS)) + def test_publisher_realm_keeps_httpcore_on_its_httpclient_line(self): + # No CI job runs the Central publisher, so a green build says nothing + # about its HTTP stack. #272 proposed HttpCore 5.5 under HttpClient + # 5.6.5, which was built against HttpCore 5.4. + built_against = {'5.6.': '5.4.'} + root = ET.parse(ROOT / 'pom.xml').getroot() + pins = {} + for plugin in root.iter('{%s}plugin' % version.NS['p']): + if plugin.findtext('p:artifactId', namespaces=version.NS) \ + != 'central-publishing-maven-plugin': + continue + for dependency in plugin.findall('p:dependencies/p:dependency', + version.NS): + artifact = dependency.findtext('p:artifactId', namespaces=version.NS) + if artifact in ('httpclient5', 'httpcore5', 'httpcore5-h2'): + self.assertNotIn(artifact, pins) + pins[artifact] = dependency.findtext( + 'p:version', namespaces=version.NS) + self.assertEqual({'httpclient5', 'httpcore5', 'httpcore5-h2'}, set(pins)) + client_line = next((line for line in built_against + if pins['httpclient5'].startswith(line)), None) + self.assertIsNotNone(client_line, pins) + self.assertEqual(pins['httpcore5'], pins['httpcore5-h2']) + self.assertTrue(pins['httpcore5'].startswith(built_against[client_line]), + pins) + def test_consumer_fixture_downloader_uses_submitted_patched_realm(self): workflow = (ROOT / '.github/workflows/dependency-submission.yaml').read_text() fixture_command = '-f compatibility/dependencies/pom.xml' From d75462e1316765dff47bd3ddac962b0d626a3954 Mon Sep 17 00:00:00 2001 From: Jim Manico Date: Mon, 23 Nov 2026 19:17:22 +0700 Subject: [PATCH 3/3] Raise the Guava removal conditions and group the publisher's HTTP pins --- .github/CI_SECURITY.md | 3 ++- .github/DEPENDENCY_DECISIONS.md | 46 ++++++++++++++++++++------------- .github/dependabot.yml | 14 ++++++++-- CHANGELOG.md | 9 ++++--- jakarta-test/README.md | 6 ++--- jakarta-test/pom.xml | 6 ++--- pom.xml | 6 ++--- scripts/tests/test_ci_policy.py | 19 ++++++++++++-- 8 files changed, 73 insertions(+), 36 deletions(-) diff --git a/.github/CI_SECURITY.md b/.github/CI_SECURITY.md index 81aac7e..d7e74e7 100644 --- a/.github/CI_SECURITY.md +++ b/.github/CI_SECURITY.md @@ -91,7 +91,8 @@ present. Baseline-sensitive API, JSP-engine and build-plugin dependencies and the Maven distribution used by the wrapper are excluded from the broad Maven **version-update group**, so unsuppressed proposals -receive individual review. Reviewed incompatible minor and major proposal classes use +receive individual review. The Central publisher's HttpClient and HttpCore pins +have their own group so that they move together. Reviewed incompatible minor and major proposal classes use `ignore.update-types`; GitHub applies those rules only to version updates, so security updates remain eligible and the security-update group is unchanged. Dependabot classifies repeated Maven coordinates from their lowest occurrence; diff --git a/.github/DEPENDENCY_DECISIONS.md b/.github/DEPENDENCY_DECISIONS.md index e4cd74d..c1b33bf 100644 --- a/.github/DEPENDENCY_DECISIONS.md +++ b/.github/DEPENDENCY_DECISIONS.md @@ -178,8 +178,9 @@ release rehearsal should confirm it before a release relies on it. ## Boot 4.2.0, Guava 33.8.0 and HttpCore — 2026-11-23 Grouped PR [#272](https://github.com/OWASP/owasp-java-encoder/pull/272) -proposed seven updates and passed CI. A separate change takes six of them and -corrects one; HttpCore 5.5 is not accepted. +proposed seven updates and passed CI. A separate change takes five of them, +keeps HttpCore and httpcore5-h2 on 5.4.4, and removes the OpenTelemetry +override that #272 left in place. - Spring Boot **4.2.0** for the Jakarta fixture. It manages OpenTelemetry 1.68.0, so the fixture's `opentelemetry.version` 1.67.0 override is removed, @@ -187,11 +188,14 @@ corrects one; HttpCore 5.5 is not accepted. version. A policy test fails if it returns. Boot 4.2.0 still manages Tomcat 11.0.27 and now manages Selenium 4.51.0; the fixture stays on 4.49.0 with the digest-pinned browser image, so that override is now below Boot's version. -- Guava **33.8.0-jre** in every pin from the 2026-11-16 entry. It adds the - hash-flooding hardening of +- Guava **33.8.0-jre** in every pin from the 2026-11-16 entry. [GHSA-v5x9-67m3-7m56](https://github.com/google/guava/security/advisories/GHSA-v5x9-67m3-7m56) - (low severity) on top of the 33.7.2 fix. The removal conditions for those - pins are unchanged. + (low severity, hash flooding) affects Guava through 33.7.2 and is fixed in + 33.8.0. So far it is published only as a Guava repository advisory, so no + Dependabot alert reports it. This raises the removal conditions in that + entry: drop a plugin-realm pin when the plugin's own graph reaches 33.8.0, + not 33.7.2, and Selenium 4.52.0, which depends on Guava 33.7.2, no longer + lets the fixture drop its dependency-management pin. - plexus-archiver **4.16.0**, which upstream describes as binary compatible with 4.15.0, Maven Help Plugin **3.6.0**, which now requires Maven 3.9.0 (this build requires 3.9.16), and Versions Maven Plugin **2.25.2**. @@ -201,12 +205,17 @@ corrects one; HttpCore 5.5 is not accepted. resolves the same 5.6.5 and 5.4.4 pair. No published advisory affects 5.4.4 (GHSA-hf6x-8p5f-cgmf and GHSA-v3jc-474w-2wm6 were fixed in 5.4.3). No CI job runs the publisher, so #272's passing checks did not exercise this pairing. - The configuration now excludes both coordinates from the broad group - and ignores their minor and major version updates; patch and security updates - remain eligible. A policy test keeps the HttpCore pins on the line the - HttpClient pin was built against. Revisit when HttpClient 5.7 is released: - move the client and both HttpCore pins together, confirm the publisher in a - release rehearsal, and remove the two rules and update the test with them. + The configuration now moves HttpClient and both HttpCore coordinates from the + broad group into their own `httpcomponents` group, so their patch releases + arrive together, and ignores HttpCore's minor and major version updates. + Patch and security updates remain 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 arrives alone in that group + and fails the test by design. Then move the client and both HttpCore pins + together, confirm the publisher in a release rehearsal, and update the ignore + rules and the test with them. An advisory fixed only in HttpCore 5.5 forces + that review earlier: a security update is not subject to the ignore rules + and would fail the same test. ## Maven 3.10.1 wrapper — 2026-11-16 @@ -258,13 +267,14 @@ record; a grouped PR closure is not proof that every proposed upgrade was applie ## Future Dependabot proposals -The [configuration](dependabot.yml) excludes twelve coordinates from the broad +The [configuration](dependabot.yml) excludes thirteen coordinates from the broad Maven **version-update group**: the nine baseline-sensitive coordinates above, -the two publisher-realm HttpCore coordinates and the Maven distribution used by -the wrapper. For the eight of those coordinates with a rejected proposal in -#218–#227 and the two HttpCore coordinates from #272, it also ignores only the -SemVer minor or major version-update classes covered by the decisions above. The -Maven wrapper has no ignore rule. The two Tomcat engine coordinates, the other +the publisher realm's HttpClient and two HttpCore coordinates, which share the +`httpcomponents` group, and the Maven distribution used by the wrapper. For the +eight of those coordinates with a rejected proposal in #218–#227 and the two +HttpCore coordinates from #272, it also ignores only the SemVer minor or major +version-update classes covered by the decisions above. The Maven wrapper and +HttpClient have no ignore rule. The two Tomcat engine coordinates, the other rejected proposals in that range, have their own entries described below. This prevents the weekly job from recreating proposals that merely replace historical comparators, minimum-consumer fixtures, coherent servlet-engine diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7faf6bf..aae78ea 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -32,12 +32,22 @@ updates: - jakarta.el:jakarta.el-api # The wrapper's Maven version is a separately reviewed toolchain change. - org.apache.maven:apache-maven - # The publisher realm keeps HttpCore on its pinned HttpClient's line. + # The publisher realm's HTTP stack moves together; see httpcomponents. + - org.apache.httpcomponents.client5:httpclient5 - org.apache.httpcomponents.core5:httpcore5 - org.apache.httpcomponents.core5:httpcore5-h2 maven-security: applies-to: security-updates patterns: ['*'] + # The Central publisher pins HttpClient with the HttpCore line it was + # built against. One pull request keeps the two HttpCore pins equal and + # keeps an HttpClient line change out of the broad group. + httpcomponents: + applies-to: version-updates + patterns: + - org.apache.httpcomponents.client5:httpclient5 + - org.apache.httpcomponents.core5:httpcore5 + - org.apache.httpcomponents.core5:httpcore5-h2 # Suppress only the routine SemVer update classes already rejected by the # documented compatibility review. GitHub applies update-types only to # version updates, so security updates remain eligible. Dependabot combines @@ -81,7 +91,7 @@ updates: - version-update:semver-minor - version-update:semver-major # The Central publisher's HttpClient 5.6 pin was built against HttpCore - # 5.4, and no CI job runs that realm. Move both together. + # 5.4, and no CI job runs that realm. Move both together by hand. - dependency-name: org.apache.httpcomponents.core5:httpcore5 update-types: - version-update:semver-minor diff --git a/CHANGELOG.md b/CHANGELOG.md index d93ec40..e7f24e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,10 +16,11 @@ unchanged. [1.6.0 is available from Central](releases/1.6.0-central-publication. exceeds. Refresh Maven build plugins, plexus-archiver, japicmp, and the test/publisher-only Jackson 2.22.4. Published library dependencies are unchanged. -- Update the Jakarta fixture to Spring Boot 4.2.0 and drop its OpenTelemetry - override, which Boot now exceeds. Move the build-plugin and fixture Guava - pins to 33.8.0 and refresh plexus-archiver and the Maven Help and Versions - plugins. Published library dependencies are unchanged. +- Move that fixture to Spring Boot 4.2.0, which manages OpenTelemetry 1.68.0, + so the 1.67.0 override in the next entry is gone. Raise that entry's Guava + pins to 33.8.0 for GHSA-v5x9-67m3-7m56, and refresh plexus-archiver and the + Maven Help and Versions plugins. Published library dependencies are + unchanged. - Pin Guava 33.7.2 in the Checkstyle, japicmp, WAR and Central publisher plugin realms and the Jakarta fixture's Selenium tests, and raise the fixture's OpenTelemetry to 1.67.0, for GHSA-xxph-c9ww-hj94 and diff --git a/jakarta-test/README.md b/jakarta-test/README.md index 3163e57..75315c7 100644 --- a/jakarta-test/README.md +++ b/jakarta-test/README.md @@ -42,9 +42,9 @@ As reviewed on 2026-11-23, this fixture uses supported Spring Boot **4.2.0** and its managed dependencies, on JDK **17**, with Tomcat/Jasper **11.0.27** (Servlet **6.1**, Pages **4.0**, EL **6.0**). The deliberate BOM override is Selenium 4.49.0, aligned with the current reviewed browser image; Boot manages -4.51.0. Its test-only Guava is pinned to **33.8.0**, past the 33.7.2 that fixes -GHSA-xxph-c9ww-hj94. OpenTelemetry (**1.68.0**) follows the Boot BOM again, -past the 1.67.0 that fixes GHSA-ccrj-gw8r-854m; see the +4.51.0. Its test-only Guava is pinned to **33.8.0**, which fixes +GHSA-xxph-c9ww-hj94 and GHSA-v5x9-67m3-7m56. OpenTelemetry (**1.68.0**) follows +the Boot BOM again, past the 1.67.0 that fixes GHSA-ccrj-gw8r-854m; see the [dependency decisions](../.github/DEPENDENCY_DECISIONS.md). Testcontainers **2.0.5**, JSTL API **3.0.2** and implementation **3.0.1** follow the Boot BOM. The standalone Servlet/Pages/EL API JARs are removed; Tomcat supplies diff --git a/jakarta-test/pom.xml b/jakarta-test/pom.xml index e633fe7..479e166 100644 --- a/jakarta-test/pom.xml +++ b/jakarta-test/pom.xml @@ -30,7 +30,7 @@ - + com.google.guavaguava33.8.0-jre @@ -120,7 +120,7 @@ org.apache.commonscommons-lang33.22.0 org.codehaus.plexusplexus-archiver4.16.0 org.codehaus.plexusplexus-utils4.0.3 - + com.google.guavaguava33.8.0-jre @@ -198,7 +198,7 @@ org.codehaus.plexusplexus-archiver4.16.0 org.codehaus.plexusplexus-utils4.0.3 - + com.google.guavaguava33.8.0-jre diff --git a/pom.xml b/pom.xml index 3bf3a86..d8d4e54 100644 --- a/pom.xml +++ b/pom.xml @@ -343,7 +343,7 @@ japicmp 0.27.0 - + com.google.guavaguava33.8.0-jre @@ -378,7 +378,7 @@ central-publishing-maven-plugin 0.12.0 - + com.google.guavaguava33.8.0-jre @@ -422,7 +422,7 @@ org.apache.commonscommons-lang33.22.0 org.codehaus.plexusplexus-archiver4.16.0 org.codehaus.plexusplexus-utils4.0.3 - + com.google.guavaguava33.8.0-jre diff --git a/scripts/tests/test_ci_policy.py b/scripts/tests/test_ci_policy.py index 85863f8..069e246 100644 --- a/scripts/tests/test_ci_policy.py +++ b/scripts/tests/test_ci_policy.py @@ -255,6 +255,8 @@ def test_dependabot_routes_reviewed_coordinates_out_of_broad_group(self): # The wrapper's Maven distribution needs individual review; a mixed # group PR cannot pass its checks. self.assertIn('org.apache.maven:apache-maven', excluded) + # An HttpClient line change must not fail the broad group either. + self.assertIn('org.apache.httpcomponents.client5:httpclient5', excluded) ignore = parse_dependabot_ignore(maven.split(' ignore:\n', 1)[1]) versioned = {name for name, update_types in ignore.items() if update_types} @@ -342,7 +344,7 @@ def test_only_executed_plugins_are_submitted(self): self.assertLess(workflow.index('Resolve shared library build plugins'), workflow.index(app_command)) - def test_boot_plugin_realm_uses_boot_managed_jackson(self): + def test_boot_fixture_keeps_no_superseded_overrides(self): # Boot 4.1.2's buildpack platform brings the patched Jackson 3.1 line. # A stale exact pin here would silently downgrade it, and Enforcer # rules do not inspect plugin realms. @@ -361,8 +363,21 @@ def test_boot_plugin_realm_uses_boot_managed_jackson(self): def test_publisher_realm_keeps_httpcore_on_its_httpclient_line(self): # No CI job runs the Central publisher, so a green build says nothing # about its HTTP stack. #272 proposed HttpCore 5.5 under HttpClient - # 5.6.5, which was built against HttpCore 5.4. + # 5.6.5, which was built against HttpCore 5.4. Add a line here only + # with the HttpCore line that HttpClient release was built against. built_against = {'5.6.': '5.4.'} + dependabot = (ROOT / '.github/dependabot.yml').read_text() + match = re.search(r'^ httpcomponents:\n((?: {8}.*\n)+)', dependabot, + re.M) + self.assertIsNotNone(match) + group = match.group(1) + self.assertIn(' applies-to: version-updates\n', group) + self.assertEqual( + ['org.apache.httpcomponents.client5:httpclient5', + 'org.apache.httpcomponents.core5:httpcore5', + 'org.apache.httpcomponents.core5:httpcore5-h2'], + [line.split('- ', 1)[1].strip() for line in group.splitlines() + if line.startswith(' - ')]) root = ET.parse(ROOT / 'pom.xml').getroot() pins = {} for plugin in root.iter('{%s}plugin' % version.NS['p']):