diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2013-12-17 17:27:03 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2013-12-17 17:27:03 +0000 |
commit | f4503bb6c4925faf89d87e23719b5de1780711de (patch) | |
tree | 496b0345b76d47f2b12f581e45b14e23a3dfd6ec /build.xml | |
parent | 9c45b11284334a1edee9093b412f59b84d1f36dd (diff) | |
download | xmlgraphics-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.xml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}"/> |