Repository navigation
Remove the OWASP dependency-check plugin - #606
Open
tonygermano wants to merge 1 commit into
Open
tonygermano wants to merge 1 commit into
tonygermano wants to merge 1 commit into
Conversation
Nothing runs the plugin: no workflow, task or document invokes dependencyCheckAggregate. Gradle still resolves its classpath on every invocation: 93 artifacts (Lucene, H2, Jackson 2.21, Guava 33, httpclient5, ...) that exist only for it, and that make up the first fetch in Renovate's artifact step, where the Maven Central 429 failures occur. Removing it cuts the downloads per run; it does not eliminate the rate-limit risk. Remove the plugin, its configuration block, its catalog entry (and the now-empty [plugins] table) and the report-file ignore patterns. What is lost: dependency-check was the only scan covering the vendored jars without Maven coordinates. Renovate's OSV alerts only cover catalog entries. A replacement scanner is a separate follow-up. Verification metadata: --write-verification-metadata only merges into an existing file and never prunes, so the set the build needs was found by deleting the file and regenerating it with a cold cache and CI's flags. The committed file is main's file minus the 115 entries nothing needs: the plugin's classpath and its parent POMs and BOMs. Two unneeded entries stay to avoid a conflict with the adjacent hunks of the commons-pool2 bump in OpenIntegrationEngine#605: commons-pool2 2.13.0 and org.apache.commons:commons-parent:33 (stale since a178dfb). 21 entries the plugin brought in stay because the mybatis 3.5.19 and HikariCP 7.1.0 parent chains now import them; without them a cold build fails verification on 🫏runtimeClasspath. The regeneration also wanted to add 19 transitives of 🫏testFixturesRuntimeClasspath, which the non-transitive list does not cover; they appear on untouched main too and a normal build does not resolve them, so they are left for a separate fix. Assisted-by: Claude:claude-fable-5-1 Signed-off-by: Tony Germano <tony@germano.name>
tonygermano
requested review from
a team,
gibson9583,
jonbartels,
kayyagari,
kpalang,
mgaffigan,
pacmano1 and
ssrowe
November 26, 2026 22:07
tonygermano
marked this pull request as draft
November 26, 2026 22:10
tonygermano
marked this pull request as ready for review
November 26, 2026 23:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Nothing runs
org.owasp.dependencycheck: no workflow, task or document invokesdependencyCheckAggregate. Gradle still resolves the plugin's classpath on every invocation, 93 artifacts (Lucene, H2, Jackson 2.21, Guava 33, httpclient5, …) that exist only for it. That classpath is also the first fetch in Renovate's artifact step, where the Maven Central 429 failures on #522 and #551 occur. Removing it cuts the downloads per run; it does not eliminate the rate-limit risk, since thedependenciestask still fetches every product dependency.This PR removes the plugin, its configuration block, its catalog entry and the two report-file ignore patterns. After the change
buildEnvironmentreports no dependencies.What is lost: dependency-check was the only scanner that covered the vendored jars without Maven coordinates. Renovate's OSV alerts only cover catalog entries. A replacement scanner is a possible follow-up, not part of this PR.
Verification metadata
--write-verification-metadataonly merges into an existing file; it never prunes. To find what the build needs, Claude deleted the file and regenerated it with a cold cache and CI's flags. The committed file ismain's file minus the 115 entries nothing needs (the plugin's classpath and its parent POMs and BOMs), so every retained entry is byte-identical tomain.org.apache.commons:commons-pool2:2.13.0andorg.apache.commons:commons-parent:33(stale since a178dfb).build distfails verification on:donkey:runtimeClasspath.:donkey:testFixturesRuntimeClasspath(c3p0, HikariCP-java7, Oracle UCP, …), a configuration the root build script's non-transitive list does not cover since 3c79615. They appear when regenerating on untouchedmaintoo, and a normal build does not resolve them, so they are left for a separate PR.Testing
Claude checked:
./gradlew clean build dist -PdisableSigning=true -Pcoverage=truewith all tests, cold cache, without the write flag so verification is enforced as in CI: passes../gradlew -q buildEnvironment:No dependencies.git grep -i 'dependencycheck\|dependency-check\|owasp\|NVD_API_KEY'finds nothing but an OWASP cheat-sheet link in a test comment and bundled JavaScript.Release notes
🤖 Drafted with Claude Code