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

javadoc error when compiling with JDK 11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 5.11.0.Final
    • 5.10.6.Final
    • Build System
    • None
    • Undefined

      The javadoc generation fails when using JDK 11 with:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:javadoc (javadoc) on project narayana-full: An error has occurred in Javadoc report generation:
      [ERROR] Exit code: 1 - /home/jenkins/workspace/narayana/PROFILE/CORE/jdk/jdk11.latest/label/linux/ArjunaCore/arjuna/classes/com/arjuna/ats/internal/arjuna/objectstore/slot/PmemSlots.java:24: error: package io.mashona.logwriting does not exist
      [ERROR] import io.mashona.logwriting.ArrayStore;

       

      I tested a "fix" that ignores javadoc errors and also removes the provided scope on the io.mashona:mashona-logwriting:1.0.0.Beta1 dependency (presumably because it's not provided by JDK 11).

       

      I will raise a PR with that change in the hope that, during review, we can find a better solution.

       

            rhn-engineering-mmusgrov Michael Musgrove
            rhn-engineering-mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: