[ 
https://issues.apache.org/jira/browse/TEZ-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

László Bodor updated TEZ-4702:
------------------------------
    Description: 
{code}
mvn clean install javadoc:aggregate -DskipTests -pl tez-api -pl tez-mapreduce 
-pl tez-runtime-library
mvn site -f tez-api
{code}

gives:
{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-site-plugin:3.21.0:site (default-site) on 
project tez-api: Error generating maven-javadoc-plugin:3.12.0:aggregate report:
[ERROR] Exit code: 1
[ERROR] error: Class 
org.apache.hadoop.classification.tools.IncludePublicAnnotationsStandardDoclet 
is not a valid doclet.
[ERROR]   Note: As of JDK 13, the com.sun.javadoc API is no longer supported.
[ERROR] Command line was: 
/Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/bin/javadoc 
-J-Duser.language= -J-Duser.country= @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in 
'/Users/lbodor/apache/tez/tez-api/target/site/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
{code}

> Javadoc generation fails since Java21
> -------------------------------------
>
>                 Key: TEZ-4702
>                 URL: https://issues.apache.org/jira/browse/TEZ-4702
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: László Bodor
>            Priority: Major
>
> {code}
> mvn clean install javadoc:aggregate -DskipTests -pl tez-api -pl tez-mapreduce 
> -pl tez-runtime-library
> mvn site -f tez-api
> {code}
> gives:
> {code}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.21.0:site (default-site) on 
> project tez-api: Error generating maven-javadoc-plugin:3.12.0:aggregate 
> report:
> [ERROR] Exit code: 1
> [ERROR] error: Class 
> org.apache.hadoop.classification.tools.IncludePublicAnnotationsStandardDoclet 
> is not a valid doclet.
> [ERROR]   Note: As of JDK 13, the com.sun.javadoc API is no longer supported.
> [ERROR] Command line was: 
> /Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home/bin/javadoc 
> -J-Duser.language= -J-Duser.country= @options @packages
> [ERROR]
> [ERROR] Refer to the generated Javadoc files in 
> '/Users/lbodor/apache/tez/tez-api/target/site/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
> {code}



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

Reply via email to