summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2013-12-17 17:27:03 +0000
committerVincent Hennebert <vhennebert@apache.org>2013-12-17 17:27:03 +0000
commitf4503bb6c4925faf89d87e23719b5de1780711de (patch)
tree496b0345b76d47f2b12f581e45b14e23a3dfd6ec /build.xml
parent9c45b11284334a1edee9093b412f59b84d1f36dd (diff)
downloadxmlgraphics-fop-f4503bb6c4925faf89d87e23719b5de1780711de.tar.gz
xmlgraphics-fop-f4503bb6c4925faf89d87e23719b5de1780711de.zip
Have Checkstyle fail the build if there are any warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1551637 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index af7bc2fa8..7a0f2c5ed 100644
--- a/build.xml
+++ b/build.xml
@@ -1062,7 +1062,7 @@ NOTE:
<target name="checkstyle" depends="package, checkstyle-avail" if="checkstyle.avail" description="Runs Checkstyle for a code quality report">
<taskdef name="checkstyle" classname="com.puppycrawl.tools.checkstyle.CheckStyleTask" classpathref="checkstyle-classpath"/>
<mkdir dir="${build.dir}"/>
- <checkstyle config="${checkstyle.config}" failonviolation="false">
+ <checkstyle config="${checkstyle.config}" failonviolation="true" maxWarnings="0">
<classpath>
<path refid="checkstyle-classpath"/>
<pathelement location="${build.classes.dir}"/>