[jboss-jira] [JBoss JIRA] (DROOLS-4848) JavaDoc generation doesn't work with JDK11 in droolsjbpm-knowledge repository

Tibor Zimanyi (Jira) issues at jboss.org
Fri Dec 6 06:21:00 EST 2019


Tibor Zimanyi created DROOLS-4848:
-------------------------------------

             Summary: 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: Ant Stephenson


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



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list