]
Marek Novotny reassigned DROOLS-4848:
-------------------------------------
Assignee: Marek Novotny (was: Ant Stephenson)
JavaDoc generation doesn't work with JDK11 in
droolsjbpm-knowledge repository
-----------------------------------------------------------------------------
Key: DROOLS-4848
URL:
https://issues.redhat.com/browse/DROOLS-4848
Project: Drools
Issue Type: Bug
Components: build
Affects Versions: 7.30.0.Final
Reporter: Tibor Zimanyi
Assignee: Marek Novotny
Priority: Major
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/5ef60cb79e9...
[2]
https://github.com/kiegroup/droolsjbpm-build-bootstrap/blob/master/pom.xm...