Hi all,

 

I'm facing a big problem using pmd plugin. If I use "pmd" and "cpd" goals
only, everything works fine. When I use "check" and "cpd-check" goals,
however, I get an empty report...

 

(below my pmd configuration).

 

Any clues?

 

Thanks,

 

Andre

 

 

<plugin>

   <groupId>org.apache.maven.plugins</groupId>

   <artifactId>maven-pmd-plugin</artifactId>

   <version>2.4</version>

   <executions>

      <execution>

         <configuration>

            <locales>pt_BR</locales>

            <verbose>true</verbose>

            <failOnRuleViolation>false</failOnRuleViolation>

            <failOnError>false</failOnError>

            <targetJdk>${maven.compiler.source}</targetJdk>

            <aggregate>true</aggregate>

            <minimumTokens>100</minimumTokens>

            <rulesets>

               <ruleset>${configDir}/cef-pmd.xml</ruleset>

            </rulesets>                     

            <!-- check e cpd-check -->

            <failOnViolation>false</failOnViolation>

            <failurePriority>5</failurePriority>

         </configuration>

         <phase>package</phase>

         <goals>

            <goal>pmd</goal>

            <goal>cpd</goal>

           <!-- empty report if I use one of these goals -->

            <goal>check</goal>

            <goal>cpd-check</goal>

         </goals>

      </execution>

   </executions>

</plugin>

Reply via email to