-
Bug
-
Resolution: Done
-
Medium
-
Guilin Release
-
None
Problem found with: binding-parent, odlparent .. more effected
Message:
Java11 compile fails with ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (attach-javadocs) on project sdnr-wt-apigateway-provider: MavenReportException: Error while generating Javadoc: [ERROR] Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in http://docs.oracle.com/javase/8/docs/api/ are in the unnamed module.
POM configuration: <maven.javadoc.skip>false</maven.javadoc.skip>.
Analysis: Parent are forcing to use "old maven-javadoc-plugin", what is working for Java8
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
Solution:
Change related pom files to version:
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
- This version is used in ODL parents and should be used for ONAP Guilin
- It is working for Java8 and Java11 builds
- relates to
-
CCSDK-2422 REQ-351 : upgrade to Java 11
- Closed