Skip to content

Document dependencies that dependency analysis cannot see - #1778

Merged
slachiewicz merged 2 commits into
apache:masterfrom
slachiewicz:agent/analyze-runtime-docs
Oct 29, 2026
Merged

slachiewicz merged 2 commits into
apache:masterfrom
slachiewicz:agent/analyze-runtime-docs

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

The analyze goals work on bytecode, so dependencies used only at runtime (ServiceLoader providers, Sisu/Plexus components, test engines, JDBC or logging drivers) are reported unused. The exclusion example page now says which parameters keep them (usedDependencies, ignoredUnusedDeclaredDependencies, ignoreUnusedRuntime, ignoreNonCompile), what ignoredNonTestScopedDependencies is for, and that a test using a transitive provided or runtime dependency should declare it in test scope.


To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
check one of the following:

@slachiewicz slachiewicz added the documentation Improvements or additions to documentation label Oct 29, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review October 29, 2026 21:45
@slachiewicz

Copy link
Copy Markdown
Member Author

LGTM.

@slachiewicz
slachiewicz merged commit 2ea0070 into apache:master Oct 29, 2026
19 checks passed
@slachiewicz
slachiewicz deleted the agent/analyze-runtime-docs branch October 29, 2026 22:46
@github-actions github-actions Bot added this to the 3.12.0 milestone Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant