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

followLinks fix to get redirect target breaks for certain sites

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1, 3.1.0
    • Fix Version/s: 3.1.2
    • Component/s: None
    • Labels:

      Description

      The followLinks fix from MJAVADOC-427 breaks links which are valid, but do not produce a 200 or 3xx HTTP response on the base URL.

      For example to link to javadoc hosted by javadoc.io you would use the link:

      https://static.javadoc.io/org.apache.maven.plugins/maven-javadoc-plugin/3.1.0

      As this is hosted on S3 it returns a 403, but the package-list does given a 200:

      https://static.javadoc.io/org.apache.maven.plugins/maven-javadoc-plugin/3.1.0/package-list

      With version 3.0.0 these links work correctly.

       

      It might be better to check for redirect targets by including the /package-list part in the URL to test.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                elmuerte Michiel Hendriks
              • Votes:
                0 Vote for this issue
                Watchers:
                4 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 - 20m
                  20m