maven-pmd-plugin icon indicating copy to clipboard operation
maven-pmd-plugin copied to clipboard

[MPMD-294] Add support for setting includes/excludes via a user property

Open jira-importer opened this issue 6 years ago • 1 comments

Roy Arnon opened MPMD-294 and commented

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.


Affects: 3.12.0

jira-importer avatar Aug 15 '19 13:08 jira-importer