Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3271

javadoc error when building with JDK11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.10.5.Final
    • 5.10.3.Final
    • Build System
    • None

    Description

      When we build using JDK11 we get javadoc errors. For example building ArjunaCore/arjunacore:

      javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module.

      More context is here: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8212233
      A fix is to configure the javadoc plugin (org.apache.maven.plugins:maven-javadoc-plugin) to use <source>8</source> in the plugin configuration section.

      Attachments

        Activity

          People

            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            rhn-engineering-mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: