-
Bug
-
Resolution: Done
-
Major
-
7.30.0.Final
-
None
-
-
NEW
-
NEW
When building droolsjbpm-knowledge repository using JDK 11, the build fails on JavaDoc generation with message:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (default) on project kie-api: Execution default of goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar failed: version can neither be null, empty nor blank -> [Help 1]
This is caused by commit [1], which moved some properties to a separate bom. This bom is imported into kie-parent, but with imporing bom, its properties cannot be used, so they are not visible to javadoc plugin configuration at 2 places, e.g. here [2]. I expect the JavaDoc build fails similarly in all reopsitories where it is used, when running the build using JDK 11.
[1] https://github.com/kiegroup/droolsjbpm-build-bootstrap/commit/5ef60cb79e9ab08612be17af8adaf4f8684db4a7
[2] https://github.com/kiegroup/droolsjbpm-build-bootstrap/blob/master/pom.xml#L2024