Making PMD AvoieAnonymousLogging rule be enforced for this branch
This commit is contained in:
parent
786098e9f1
commit
51c5911e15
16
pom.xml
16
pom.xml
|
@ -20,7 +20,7 @@
|
||||||
<junit-version>4.8.1</junit-version>
|
<junit-version>4.8.1</junit-version>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<slf4j-version>1.6.1</slf4j-version>
|
<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.helper>1.6</jetty.test.helper>
|
||||||
<jetty.test.policy>1.2</jetty.test.policy>
|
<jetty.test.policy>1.2</jetty.test.policy>
|
||||||
</properties>
|
</properties>
|
||||||
|
@ -158,10 +158,22 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-pmd-plugin</artifactId>
|
<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>
|
<configuration>
|
||||||
<targetJdk>1.5</targetJdk>
|
<targetJdk>1.5</targetJdk>
|
||||||
<rulesets>
|
<rulesets>
|
||||||
<ruleset>jetty/pmd_ruleset.xml</ruleset>
|
<ruleset>jetty/pmd_logging_ruleset.xml</ruleset>
|
||||||
</rulesets>
|
</rulesets>
|
||||||
</configuration>
|
</configuration>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
Loading…
Reference in New Issue