[
https://issues.apache.org/jira/browse/MPMD-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17206390#comment-17206390
]
Andreas Dangel commented on MPMD-294:
-------------------------------------
See
[http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#includesFile]
and
[http://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html#excludesFile]
> Add support for setting includes/excludes via a user property
> -------------------------------------------------------------
>
> Key: MPMD-294
> URL: https://issues.apache.org/jira/browse/MPMD-294
> Project: Maven PMD Plugin
> Issue Type: New Feature
> Components: CPD, PMD
> Affects Versions: 3.12.0
> Reporter: Roy Arnon
> Priority: Major
>
> I have a use case were I want to execute pmd on a huge monorepo project, but
> only on the changed files.
> Getting the changed java files via git is trivial, but it seems that the PMD
> plugin does not support setting the includes/excludes by user property.
> Can we look into adding a property like maven surefires
> includesFile/excludesFile, which will allow us to specify includes/excludes
> at runtime?
> I may try to prepare a PR for this feature if I have the time.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)