Skip to content

Use production runtime classpath for dependency checks#333

Merged
banderous merged 1 commit into
masterfrom
use-production-runtime-classpath-for-dependency-check
May 13, 2026
Merged

Use production runtime classpath for dependency checks#333
banderous merged 1 commit into
masterfrom
use-production-runtime-classpath-for-dependency-check

Conversation

@banderous
Copy link
Copy Markdown
Collaborator

@banderous banderous commented May 13, 2026

Dependency Check was scanning runtimeClasspath, which can be skipped by OWASP dependency-check when Spring Boot adds testAndDevelopmentOnly to the hierarchy.

Switch to productionRuntimeClasspath, which is what Boot packages for production.

Upstream context:
dependency-check/dependency-check-gradle#410
dependency-check/dependency-check-gradle#410 (comment)

Tested with ./gradlew test --info and a local ccd-data-store-api dependency-check run.

@banderous banderous marked this pull request as ready for review May 13, 2026 19:18
@banderous banderous requested review from a team as code owners May 13, 2026 19:18
@banderous banderous enabled auto-merge May 13, 2026 19:18
@banderous banderous disabled auto-merge May 13, 2026 19:20
@banderous banderous merged commit 0914d90 into master May 13, 2026
2 checks passed
@banderous banderous deleted the use-production-runtime-classpath-for-dependency-check branch May 13, 2026 19:20
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