Uploaded image for project: 'Maven Javadoc Plugin'
  1. Maven Javadoc Plugin
  2. MJAVADOC-527

detectLinks may pass invalid URLs to javadoc(1)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1.0
    • Component/s: javadoc
    • Labels:
    • Environment:
      Windows 10
      JDK 8
      Maven 3.5.2

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                roberto.benedetti Roberto Benedetti
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m