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

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.12.0
    • None
    • CPD, PMD
    • 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

            Unassigned Unassigned
            hellspam Roy Arnon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: