maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MJAVADOC-527) detectLinks may pass invalid urls to javadoc
Date Mon, 26 Nov 2018 19:53:00 GMT

    [ https://issues.apache.org/jira/browse/MJAVADOC-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16699485#comment-16699485
] 

Robert Scholte commented on MJAVADOC-527:
-----------------------------------------

[~michael-o] can you review this PR?

> detectLinks may pass invalid urls to javadoc
> --------------------------------------------
>
>                 Key: MJAVADOC-527
>                 URL: https://issues.apache.org/jira/browse/MJAVADOC-527
>             Project: Maven Javadoc Plugin
>          Issue Type: Bug
>          Components: javadoc
>    Affects Versions: 3.0.1
>         Environment: Windows 10
> JDK 8
> Maven 3.5.2
>            Reporter: Roberto Benedetti
>            Priority: Major
>              Labels: detectLinks
>
> The url of artifact com.sun.mail:mailapi:1.5.5 is [http://javamail.java.net/mailapi],
so the plugin tests if [http://javamail.java.net/mailapi/apidocs/package-list] is valid.
>  That url redirects to [https://javaee.github.io/javamail/] which is JavaMail home page,
so the plugin thinks the url is valid and passes it to javadoc.
>  javadoc warns about invalid link.
> Maybe checking if the effective url is still "package-list" would be safer.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message