You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Dangel (Jira)" <ji...@apache.org> on 2020/01/11 11:17:00 UTC

[jira] [Resolved] (MPMD-295) Maven PMD Plugin fails on Java 13: Unsupported targetJdk value '13'

     [ https://issues.apache.org/jira/browse/MPMD-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Dangel resolved MPMD-295.
---------------------------------
    Resolution: Fixed

> Maven PMD Plugin fails on Java 13: Unsupported targetJdk value '13'
> -------------------------------------------------------------------
>
>                 Key: MPMD-295
>                 URL: https://issues.apache.org/jira/browse/MPMD-295
>             Project: Maven PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 3.12.0
>         Environment: java --version
> openjdk 13.0.1 2019-10-15
> OpenJDK Runtime Environment (build 13.0.1+9)
> OpenJDK 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)
> lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description:    Ubuntu 18.04.3 LTS
> Release:        18.04
> Codename:       bionic
> ./mvnw --version
> Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
> Maven home: /home/christian.hujer/.m2/wrapper/dists/apache-maven-3.6.3-bin/1iopthnavndlasol9gbrbg6bf2/apache-maven-3.6.3
> Java version: 11.0.5, vendor: Private Build, runtime: /usr/lib/jvm/java-11-openjdk-amd64
> Default locale: en_IN, platform encoding: UTF-8
> OS name: "linux", version: "4.15.0-72-generic", arch: "amd64", family: "unix"
> uname -a
> Linux Nelkinda-Blade-Stealth-2 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Christian Hujer
>            Priority: Major
>             Fix For: 3.13.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> I just tried running PMD on a Java 13 project, and got the following error message:
> {{[ERROR] Failed to execute goal org.apache.maven.plugins:maven-pmd-plugin:3.12.0:pmd (default-cli) on project lib-validate: Execution default-cli of goal org.apache.maven.plugins:maven-pmd-plugin:3.12.0:pmd failed: org.apache.maven.reporting.MavenReportException: Unsupported targetJdk value '13'. -> [Help 1]}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)