[
https://issues.apache.org/jira/browse/CXF-8066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andriy Redko updated CXF-8066:
------------------------------
Description:
The com.sun.javadoc.* API is gone in JDK 13 and is replaced with Doclet API. As
such, the CXF builds are started to fail on JDK13 for
{noformat}
cxf-java2wadl-plugin{noformat}
Example:
{noformat}
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile)
on project cxf-java2wadl-plugin: Fatal error compiling: CompilerException:
NullPointerException -> [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 <goals> -rf :cxf-java2wadl-plugin{noformat}
(by adding the <forceJavacCompilerUse>true</forceJavacCompilerUse> to
maven-compiler-plugin it is possible to get the clear error).
The official migration guide:
[https://download.java.net/java/early_access/jdk13/docs/api/jdk.javadoc/jdk/javadoc/doclet/package-summary.html#migration|https://download.java.net/java/early_access/jdk13/docs/api/jdk.javadoc/jdk/javadoc/doclet/package-summary.html#migration).]
We may need to introduce the multi-release JAR since the Java 8/9/10/11 and 13+
implementation are not compatible.
Related projects / issues:
* maven-javadoc-plugin (is still using the old API):
[https://builds.apache.org/job/maven-box/job/maven-javadoc-plugin/job/master]
* [https://bugs.openjdk.java.net/browse/JDK-8215608]
* [https://jdk.java.net/13/release-notes]
was:
The com.sun.javadoc.* API is gone in JDK 13 and is replaced with Doclet API. As
such, the CXF builds are started to fail on JDK13 for
{noformat}
cxf-java2wadl-plugin{noformat}
Example:
{noformat}
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile)
on project cxf-java2wadl-plugin: Fatal error compiling: CompilerException:
NullPointerException -> [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 <goals> -rf :cxf-java2wadl-plugin{noformat}
(by adding the <forceJavacCompilerUse>true</forceJavacCompilerUse> to
maven-compiler-plugin it is possible to get the clear error).
The official migration guide:
[https://download.java.net/java/early_access/jdk13/docs/api/jdk.javadoc/jdk/javadoc/doclet/package-summary.html#migration|https://download.java.net/java/early_access/jdk13/docs/api/jdk.javadoc/jdk/javadoc/doclet/package-summary.html#migration).]
We may need to introduce the multi-release JAR since the Java 8/9/10/11 and 13+
implementation are not compatible.
Related projects / issues:
* maven-javadoc-plugin (is still using the old API):
[https://builds.apache.org/job/maven-box/job/maven-javadoc-plugin/job/master]
* [https://bugs.openjdk.java.net/browse/JDK-8215608]
* [https://jdk.java.net/13/release-notes]
We are currently blocked by 'maven-javadoc-plugin' since it is still using the
old API, please check out their builds:
[https://builds.apache.org/job/maven-box/job/maven-javadoc-plugin/job/master]
> Support Doclet API (JDK13+)
> ---------------------------
>
> Key: CXF-8066
> URL: https://issues.apache.org/jira/browse/CXF-8066
> Project: CXF
> Issue Type: Improvement
> Reporter: Andriy Redko
> Assignee: Andriy Redko
> Priority: Major
>
> The com.sun.javadoc.* API is gone in JDK 13 and is replaced with Doclet API.
> As such, the CXF builds are started to fail on JDK13 for
> {noformat}
> cxf-java2wadl-plugin{noformat}
> Example:
> {noformat}
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile
> (default-compile) on project cxf-java2wadl-plugin: Fatal error compiling:
> CompilerException: NullPointerException -> [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 <goals> -rf :cxf-java2wadl-plugin{noformat}
> (by adding the <forceJavacCompilerUse>true</forceJavacCompilerUse> to
> maven-compiler-plugin it is possible to get the clear error).
> The official migration guide:
> [https://download.java.net/java/early_access/jdk13/docs/api/jdk.javadoc/jdk/javadoc/doclet/package-summary.html#migration|https://download.java.net/java/early_access/jdk13/docs/api/jdk.javadoc/jdk/javadoc/doclet/package-summary.html#migration).]
> We may need to introduce the multi-release JAR since the Java 8/9/10/11 and
> 13+ implementation are not compatible.
> Related projects / issues:
> * maven-javadoc-plugin (is still using the old API):
> [https://builds.apache.org/job/maven-box/job/maven-javadoc-plugin/job/master]
> * [https://bugs.openjdk.java.net/browse/JDK-8215608]
> * [https://jdk.java.net/13/release-notes]
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)