-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MJAVADOC-742] Fix resolution of docletArtifacts #186
Conversation
@@ -3242,8 +3241,11 @@ private List<String> getArtifactsAbsolutePath(JavadocPathArtifact javadocArtifac | |||
|
|||
DependencyFilter filter = new ScopeDependencyFilter( | |||
Arrays.asList(Artifact.SCOPE_COMPILE, Artifact.SCOPE_PROVIDED), Collections.emptySet()); | |||
DependencyRequest req = | |||
new DependencyRequest(new DefaultDependencyNode(RepositoryUtils.toArtifact(artifact)), filter); | |||
DependencyRequest req = new DependencyRequest( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add an IT for doclets?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
feel free to take over the PR, I verified it against the user provided reproducer in MJAVADOC-742
Test failures look related:
|
|
The NPE noted above can only be reproduced on JDK8 (the test method is skipped with JDK11 or above). It happens because
|
Thank you all! |
Transitive deps were not resovled.
https://issues.apache.org/jira/browse/MJAVADOC-742