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/25 10:49:00 UTC

[jira] [Closed] (MPMD-296) Copy ruleset files into a subdirectory of target

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

Andreas Dangel closed MPMD-296.
-------------------------------

> Copy ruleset files into a subdirectory of target
> ------------------------------------------------
>
>                 Key: MPMD-296
>                 URL: https://issues.apache.org/jira/browse/MPMD-296
>             Project: Maven PMD Plugin
>          Issue Type: Improvement
>          Components: PMD
>            Reporter: Andreas Dangel
>            Assignee: Andreas Dangel
>            Priority: Major
>             Fix For: 3.13.0
>
>
> From MPMD-289:
> {quote}
> if we're copying ruleset files into the build dir & expecting very specific (and somewhat generic) file names in downstream processes, we should output everything into specific sub-directories under the maven build directory (e.g., target/pmd/report/pmd.xml, target/pmd/rulesets/pmd.xml)
> {quote}
> Note: This improvement will change existing behavior by default.
> Therefore a new parameter should be introduced to allow to change it back to the old behavior.
> Reason why this improvement makes sense: In case, your ruleset is called "pmd.xml", then this conflicts with the report format xml, which is written to "target/pmd.xml" as well. Therefore, the rulesets should be copied into "target/pmd/rulesets/..." instead of to "target/" directly.



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