Uploaded image for project: 'Maven PMD Plugin'
  1. Maven PMD Plugin
  2. MPMD-280

Support targetJdk 12

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.11.0
    • Fix Version/s: 3.12.0
    • Component/s: PMD
    • Labels:
      None
    • Environment:
      openjdk version "12" 2019-03-19
      OpenJDK Runtime Environment 19.3 (build 12+33)
      OpenJDK 64-Bit Server VM 19.3 (build 12+33, mixed mode, sharing)

      Fedora release 29 (Twenty Nine)

      Description

      Attempting to use maven-pmd-plugin with the newly GA openjdk12 and source/target level 12 results in:

       

      Caused by: org.apache.maven.reporting.MavenReportException: Unsupported targetJdk value '12'.
      at org.apache.maven.plugins.pmd.PmdReport.getPMDConfiguration (PmdReport.java:672)
      at org.apache.maven.plugins.pmd.PmdReport.executePmd (PmdReport.java:390)
      at org.apache.maven.plugins.pmd.PmdReport.executePmdWithClassloader (PmdReport.java:355)
      at org.apache.maven.plugins.pmd.PmdReport.canGenerateReport (PmdReport.java:329)
      at org.apache.maven.reporting.AbstractMavenReport.execute (AbstractMavenReport.java:120

       

        Attachments

          Activity

            People

            • Assignee:
              adangel Andreas Dangel
              Reporter:
              stevenschlansker Steven Schlansker
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: