maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Dangel (Jira)" <j...@apache.org>
Subject [jira] [Closed] (MPMD-289) check: unable to find pmd.xml
Date Sat, 25 Jan 2020 10:49:00 GMT

     [ https://issues.apache.org/jira/browse/MPMD-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Dangel closed MPMD-289.
-------------------------------

> check: unable to find pmd.xml
> -----------------------------
>
>                 Key: MPMD-289
>                 URL: https://issues.apache.org/jira/browse/MPMD-289
>             Project: Maven PMD Plugin
>          Issue Type: Bug
>          Components: PMD
>    Affects Versions: 3.12.0
>            Reporter: Ernst Reissner
>            Assignee: Andreas Dangel
>            Priority: Major
>             Fix For: 3.13.0
>
>
> 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.
>  
>  
>  
> {code}
> <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>
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message