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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.34.0.Final
    • 7.30.0.Final
    • build
    • None

      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

              mnovotny@redhat.com Marek Novotny
              tzimanyi@redhat.com Tibor Zimányi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: