Uploaded image for project: 'Maven PMD Plugin'
  1. Maven PMD Plugin
  2. MPMD-294

Add support for setting includes/excludes via a user property

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.12.0
    • Fix Version/s: None
    • Component/s: CPD, PMD
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hellspam Roy Arnon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: