[ 
https://issues.apache.org/jira/browse/OAK-12273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18090810#comment-18090810
 ] 

Rishabh Daim commented on OAK-12273:
------------------------------------

Getting below exception very frequently on CI runner:

{code}
Error:  Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:3.12.0:jar (default) on project 
oak-jackrabbit-api: MavenReportException: Error while generating Javadoc: 
Error:  Exit code: 1
Error:  warning: URL https://s.apache.org/jcr-2.0-javadoc/element-list was 
redirected to 
https://developer.adobe.com/experience-manager/reference-materials/spec/javax.jcr/javadocs/jcr-2.0/element-list
 -- Update the command-line options to suppress this warning.
Error: [ERROR] error: Error fetching URL: http://www.slf4j.org/apidocs/ 
(java.net.ConnectException: Connection timed out)
Error: [ERROR] 1 error
Error:  1 warning
Error:  Command line was: /usr/lib/jvm/temurin-17-jdk-amd64/bin/javadoc 
-J-Duser.language= -J-Duser.country= @options @packages
Error:  
Error:  Refer to the generated Javadoc files in 
'/home/runner/work/jackrabbit-oak/jackrabbit-oak/oak-jackrabbit-api/target/reports/apidocs'
 dir.
Error:  -> [Help 1]
Error:  
Error:  To see the full stack trace of the errors, re-run Maven with the -e 
switch.
Error:  Re-run Maven using the -X switch to enable full debug logging.
Error:  
Error:  For more information about the errors and possible solutions, please 
read the following articles:
Error:  [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Error:  
Error:  After correcting the problems, you can resume the build with the command
Error:    mvn <args> -rf :oak-jackrabbit-api
Error: Process completed with exit code 1.
{code}

> Stabilize Javadoc external links in CI
> --------------------------------------
>
>                 Key: OAK-12273
>                 URL: https://issues.apache.org/jira/browse/OAK-12273
>             Project: Jackrabbit Oak
>          Issue Type: Task
>            Reporter: Rishabh Daim
>            Assignee: Rishabh Daim
>            Priority: Major
>
> {{Update Oak's Maven Javadoc external links to canonical HTTPS endpoints so 
> CI no longer fails intermittently on redirected or timing-out remote Javadoc 
> URLs.}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to