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

CPD goal does not support txt as a format parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.13.0
    • 3.14.0
    • CPD, PMD
    • Linux

    Description

      I receive the following message while using the cpd goal in the PMD maven plugin.

      maven.plugins:maven-pmd-plugin:3.13.0:cpd (cpd) on project DSAlgos: Execution cpd of goal org.apache.maven.plugins:maven-pmd-plugin:3.13.0:cpd failed: org.apache.maven.reporting.MavenReportException: Can't find CPD custom format txt: java.lang.ClassNotFoundException

      The documentation states that the txt format is supported.

      https://maven.apache.org/plugins/maven-pmd-plugin/cpd-mojo.html#format

      The pmd goal supports the txt format.

       

      Further context:

       
      https://lists.apache.org/x/thread.html/r1b95f50adae1568765c3af51ede459344619af71bfdd4288cff171d0@%3Cusers.maven.apache.org%3E
       

      Attachments

        Issue Links

          Activity

            People

              adangel Andreas Dangel
              fernal73 Linus Fernandes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: