rfscholte commented on a change in pull request #77:
URL:
https://github.com/apache/maven-javadoc-plugin/pull/77#discussion_r628098913
##########
File path:
src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
##########
@@ -6677,6 +6682,11 @@ protected boolean isValidJavadocLink( String link,
boolean detecting )
elementListUri = new File( dir, ELEMENT_LIST ).toURI();
}
+ if ( isOffline && !trimmedLowercaseLink.startsWith( "file:" ) )
+ {
+ // checking of both elementlists and package lists skipped.
+ return false;
Review comment:
`localhost` and `127.0.0.1` are considered safe too. Makes we wonder if
there's a way to use Mavens own Wagon instance that already respects the
configuration of settings.xml
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]