Making PMD AvoieAnonymousLogging rule be enforced for this branch

This commit is contained in:
Joakim Erdfelt 2011-08-24 09:52:07 -07:00
parent 786098e9f1
commit 51c5911e15
1 changed files with 14 additions and 2 deletions

16
pom.xml
View File

@ -20,7 +20,7 @@
<junit-version>4.8.1</junit-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<slf4j-version>1.6.1</slf4j-version>
<build-support-version>1.0</build-support-version>
<build-support-version>1.1-SNAPSHOT</build-support-version>
<jetty.test.helper>1.6</jetty.test.helper>
<jetty.test.policy>1.2</jetty.test.policy>
</properties>
@ -158,10 +158,22 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<executions>
<execution>
<id>named-logging-enforcement</id>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<verbose>true</verbose>
</configuration>
</execution>
</executions>
<configuration>
<targetJdk>1.5</targetJdk>
<rulesets>
<ruleset>jetty/pmd_ruleset.xml</ruleset>
<ruleset>jetty/pmd_logging_ruleset.xml</ruleset>
</rulesets>
</configuration>
<dependencies>