Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-4848

JavaDoc generation doesn't work with JDK11 in droolsjbpm-knowledge repository

    Details

    • Type: Bug
    • Status: Pull Request Sent (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.30.0.Final
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manaRH Marek Novotny
                Reporter:
                tzimanyi Tibor Zimanyi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: