WadekarPrashant commented on issue #1459:
URL:
https://github.com/apache/maven-javadoc-plugin/issues/1459#issuecomment-7227759382
I'd like to take this one.
Scope as I read it: 9 uses across 3 files — getDependencyArtifacts() (4 in
AbstractJavadocMojo), getTestArtifacts() (2 in ResourceResolver) and
setDependencyArtifacts() (3 in JavadocReportTest).
setDependencyArtifacts() -> setArtifacts() is a direct swap. The other two
I'd
like to confirm before I write anything, since getArtifacts() returns a
different set rather than the same one under a new name:
- getDependencyArtifacts(): narrow getArtifacts() to the direct dependencies.
Is filtering on the project's declared dependencies the narrowing you have
in
mind, or is there a helper already used elsewhere in the Maven codebase
that
I should follow?
- getTestArtifacts(): getArtifacts() with a scope filter — test plus the
scopes
test inherits (compile, runtime, provided, system), or test only?
I'll run mvn verify with -Prun-its before opening the PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]