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 2016/10/07 18:10:20 UTC

[jira] [Resolved] (MPMD-213) Remove unnecessary (read-only) parameter "language" from check goal

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

Andreas Dangel resolved MPMD-213.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 3.7

I've removed the language parameter now for both check goals (check, cpd-check). It wasn't used anymore inside the check mojos.

There is still a language parameter in the reporting goals (pmd, cpd).

> Remove unnecessary (read-only) parameter "language" from check goal
> -------------------------------------------------------------------
>
>                 Key: MPMD-213
>                 URL: https://issues.apache.org/jira/browse/MPMD-213
>             Project: Maven PMD Plugin
>          Issue Type: Bug
>            Reporter: Dennis Lundberg
>            Assignee: Andreas Dangel
>             Fix For: 3.7
>
>
> The language parameter in {{AbstractPmdViolationCheckMojo}} should not be read-only. It should be possible to change it in case you have an artifact with a type of sources for which there is no artifact handler, i.e. javascript.
> The IT PMD-205-pmd-js-check shows this. It currently fails under Maven 2.2.1, but works under Maven 3 due to MNG-5001.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)