elharo commented on code in PR #1393:
URL:
https://github.com/apache/maven-javadoc-plugin/pull/1393#discussion_r4481467610
##########
src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java:
##########
@@ -2603,8 +2603,11 @@ public Artifact resolveDependency(Dependency dependency)
throws MavenReportExcep
try {
ArtifactResult resolutionResult =
repoSystem.resolveArtifact(repoSession, req);
return RepositoryUtils.toArtifact(resolutionResult.getArtifact());
- } catch (ArtifactResolutionException e) {
- throw new MavenReportException("artifact resolver problem - " +
e.getMessage(), e);
+ } catch (ArtifactResolutionException | IllegalArgumentException e) {
Review Comment:
what throws IllegalArgumentException here and why?
--
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]