[MPMD-294] Add support for setting includes/excludes via a user property
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- build-system
Research direction
Start by locating the Maven PMD plugin's handling of includes and excludes, then trace how user properties are exposed to that configuration. The issue describes runtime file lists as the goal; done should allow changed Java files supplied through user properties to be included or excluded when PMD runs.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Java
- Stars
- 66
- Forks
- 55
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 9
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/maven-pmd-plugin
-
bug
Difficulty 5/5 Over a week Newbie friendliness 35/100
apache/maven-pmd-plugin#724 ·
-
SARIF report Openenhancement
Difficulty 3/5 1-2 days Newbie friendliness 52/100
apache/maven-pmd-plugin#712 · 1 comment ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
apache/maven-pmd-plugin#680 ·
-
bug documentation help wanted
Difficulty 3/5 1-2 days Newbie friendliness 35/100
apache/maven-pmd-plugin#663 · 1 comment ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
apache/maven-pmd-plugin#660 ·
All issues in apache/maven-pmd-plugin
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100