apache / apache/maven-pmd-plugin

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

Open
#628 1 comment 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
66
Forks
55
Avg merge
8d 16h
Merged PRs (30d)
7

Description

**[Roy Arnon](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hellspam)** opened **[MPMD-294](https://issues.apache.org/jira/browse/MPMD-294?redirect=false)** 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.