Skip to content
Snippets Groups Projects
Commit 804c354e authored by Christian Wulf's avatar Christian Wulf
Browse files

activated fail on error for findbugs and pmd

parent 59bd0445
No related branches found
No related tags found
No related merge requests found
#FindBugs User Preferences
#Wed May 13 07:17:09 CEST 2015
detector_threshold=3
#Wed May 13 14:13:30 CEST 2015
detector_threshold=1
effort=max
excludefilter0=.fbExcludeFilterFile|true
filter_settings=Low|BAD_PRACTICE,CORRECTNESS,EXPERIMENTAL,I18N,MALICIOUS_CODE,MT_CORRECTNESS,PERFORMANCE,SECURITY,STYLE|false|15
filter_settings=High|BAD_PRACTICE,CORRECTNESS,EXPERIMENTAL,I18N,MALICIOUS_CODE,MT_CORRECTNESS,PERFORMANCE,SECURITY,STYLE|false|15
filter_settings_neg=NOISE|
run_at_full_build=true
......@@ -51,7 +51,7 @@
<!-- custom adaptations -->
<rule ref="rulesets/java/basic.xml/EmptyCatchBlock" message="Throw at least an IllegalStateException(e)">
<rule ref="rulesets/java/empty.xml/EmptyCatchBlock" message="Throw at least an IllegalStateException(e)">
<priority>1</priority>
</rule>
......
......@@ -238,9 +238,9 @@
<version>3.0.1</version>
<configuration>
<effort>Max</effort>
<threshold>Low</threshold>
<threshold>High</threshold>
<includeTests>true</includeTests>
<failOnError>false</failOnError>
<!-- <failOnError>false</failOnError> -->
<excludeFilterFile>${project.basedir}/conf/quality-config/fb-filter.xml</excludeFilterFile>
</configuration>
<executions>
......@@ -251,6 +251,18 @@
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-library</artifactId>
<version>1.3</version>
</dependency>
</dependencies>
</plugin>
<!-- PMD -->
......@@ -271,9 +283,11 @@
<rulesets>
<ruleset>${project.basedir}/conf/quality-config/pmd-ruleset.xml</ruleset>
</rulesets>
<linkXref>true</linkXref>
<includeTests>true</includeTests>
<targetJdk>${java.version}</targetJdk>
<failOnError>false</failOnError>
<!-- <failurePriority>1</failurePriority> -->
<failOnViolation>true</failOnViolation>
</configuration>
<executions>
<execution>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment