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

check: unable to find pmd.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.12.0
    • Fix Version/s: 3.13.0
    • Component/s: PMD
    • Labels:
      None

      Description

      With format html, the pmd.xml seems not to be generated.

      Consequently, check whether there are no failures fails.

      This problem does not occur when format is pmd.

      Below i showed my pom.

       

       

       

      <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-pmd-plugin</artifactId>
       <version>${versionPmdMvnPlugin}</version>
      
      <dependencies>
       <dependency>
       <groupId>net.sourceforge.pmd</groupId>
       <artifactId>pmd-core</artifactId>
       <version>${versionPmd}</version>
       </dependency>
       <dependency>
       <groupId>net.sourceforge.pmd</groupId>
       <artifactId>pmd-java</artifactId>
       <version>${versionPmd}</version>
       </dependency>
       </dependencies>
      
      <configuration>
       <linkXref>true</linkXref><!-- default -->
       <sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
       <minimumTokens>100</minimumTokens><!-- for cpd -->
       <!--rulesets>
       <ruleset>${maven.pmd.rulesetfiles}</ruleset>
       </rulesets-->
       <skipEmptyReport>false</skipEmptyReport>
       <failOnViolation>false</failOnViolation>
       <format>html</format>
       <!--targetDirectory>target/</targetDirectory-->
       </configuration>
      
      <executions>
       <execution>
       <goals>
       <goal>check</goal>
       <goal>cpd-check</goal>
       </goals>
       </execution>
       </executions>
       </plugin>
      

        Attachments

          Activity

            People

            • Assignee:
              adangel Andreas Dangel
              Reporter:
              ErnstReissner Ernst Reissner
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: