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

detectLinks may pass invalid URLs to javadoc(1)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.1.0
    • javadoc
    • 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

              michael-o Michael Osipov
              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