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

Have targetJdk default to maven.compiler.target

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.1
    • 3.4
    • PMD
    • None
    • Patch

    Description

      Currently targetJdk has to be defined separately from maven.compiler.target property that most plugins already default to, so target JDK information is unnecessarily repeated, making POMs with maven-pmd-plugin less DRY, harder to maintain, prone to mistakes and unwanted behavior.

      So, please make targetJdk default to maven.compiler.target property.

      Attached is MPMD-170.patch which adds this behavior.

      Attachments

        1. MPMD-170.patch
          1 kB
          Stevo Slavić

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              sslavic Stevo Slavić
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: