[
https://issues.apache.org/jira/browse/MPOM-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Slawomir Jaranowski updated MPOM-280:
-------------------------------------
Fix Version/s: MAVEN-35
> Remove detectLinks from maven-javadoc-plugin
> --------------------------------------------
>
> Key: MPOM-280
> URL: https://issues.apache.org/jira/browse/MPOM-280
> Project: Maven POMs
> Issue Type: Improvement
> Components: maven
> Reporter: Slawomir Jaranowski
> Assignee: Slawomir Jaranowski
> Priority: Major
> Fix For: MAVEN-35
>
>
> {{detectLinks} optionsĀ setting to {{true}} for {{maven-javadoc-plugin}}
> cause to detect and download {{javadocs}} for all project dependencies.
> {code}
> [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.
> {code}
> and sometime errors which break build like:
> {code}
> [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)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)