Uploaded image for project: 'Maven POMs (Moved to GitHub issues) '
  1. Maven POMs (Moved to GitHub issues)
  2. MPOM-280

Remove detectLinks from maven-javadoc-plugin

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • MAVEN-35
    • maven
    • None

    Description

      detectLinks} optionsĀ setting to {{true for maven-javadoc-plugin
      cause to detect and download javadocs for all project dependencies.

      [WARNING] Error fetching link: https://maven.apache.org/shared/maven-invoker/apidocs/package-list. Ignored it.
      [WARNING] Error fetching link: https://maven.apache.org/plugin-tools/maven-plugin-annotations/apidocs/package-list. Ignored it.
      [WARNING] Error fetching link: https://maven.apache.org/shared/maven-script-interpreter/apidocs/package-list. Ignored it.
      [WARNING] Error fetching link: https://maven.apache.org/shared/maven-common-artifact-filters/apidocs/package-list. Ignored it.
      Dec 17, 2021 12:39:51 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
      WARNING: Invalid cookie header: "Set-Cookie: _octo=GH1.1.1644441434.1639773578; Path=/; Domain=github.com; Expires=Sat, 17 Dec 2022 20:39:38 GMT; Secure; SameSite=Lax". Invalid 'expires' attribute: Sat, 17 Dec 2022 20:39:38 GMT
      Dec 17, 2021 12:39:51 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
      WARNING: Invalid cookie header: "Set-Cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 17 Dec 2022 20:39:38 GMT; HttpOnly; Secure; SameSite=Lax". Invalid 'expires' attribute: Sat, 17 Dec 2022 20:39:38 GMT
      [WARNING] Error fetching link: https://github.com/beanshell/beanshell/apidocs/package-list. Ignored it.
      [WARNING] Error fetching link: https://codehaus-plexus.github.io/plexus-utils/apidocs/package-list. Ignored it.
      [WARNING] Error fetching link: http://plexus.codehaus.org/plexus-components/plexus-i18n/apidocs/package-list. Ignored it.
      [WARNING] Error fetching link: http://junit.org/apidocs/package-list. Ignored it.
      Dec 17, 2021 12:39:52 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
      WARNING: Invalid cookie header: "Set-Cookie: _octo=GH1.1.127740206.1639773579; Path=/; Domain=github.com; Expires=Sat, 17 Dec 2022 20:39:39 GMT; Secure; SameSite=Lax". Invalid 'expires' attribute: Sat, 17 Dec 2022 20:39:39 GMT
      Dec 17, 2021 12:39:52 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
      WARNING: Invalid cookie header: "Set-Cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 17 Dec 2022 20:39:39 GMT; HttpOnly; Secure; SameSite=Lax". Invalid 'expires' attribute: Sat, 17 Dec 2022 20:39:39 GMT
      [WARNING] Error fetching link: https://github.com/mockito/mockito/apidocs/package-list. Ignored it.
      [WARNING] Error fetching link: https://assertj.github.io/doc/assertj-core/apidocs/package-list. Ignored it.
      

      and sometime errors which break build like:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.8.2:site (default-site) on project surefire-testng: Error generating maven-javadoc-plugin:3.3.1:javadoc report: 
      [ERROR] Exit code: 1 - error: Error fetching URL: http://ww38.assertj.org/assertj-core/apidocs/ (java.io.IOException: Server returned HTTP response code: 400 for URL: http://ww38.assertj.org/assertj-core/apidocs/package-list)
      

      Attachments

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              sjaranowski Slawomir Jaranowski
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: