diff options
author | Simon Steiner <ssteiner@apache.org> | 2015-05-26 07:41:47 +0000 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2015-05-26 07:41:47 +0000 |
commit | 0fb8462107767bb0b39f6cd872542722ac683b8e (patch) | |
tree | ae594a6aa304b5e656bc864fa16149730f1c04ae /build.xml | |
parent | 4d35002582177c694e914aa3a0850e6c0a10b591 (diff) | |
download | xmlgraphics-fop-0fb8462107767bb0b39f6cd872542722ac683b8e.tar.gz xmlgraphics-fop-0fb8462107767bb0b39f6cd872542722ac683b8e.zip |
Fail build on findbugs
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1681695 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1154,7 +1154,7 @@ NOTE: </classpath> </taskdef> <findbugs home="${findbugs.home.dir}" output="${findbugs.output.format}" reportLevel="low" effort="max" - outputFile="${build.dir}/report_findbugs.${findbugs.output.extension}" excludeFilter="findbugs-exclude.xml" jvmargs="-Xmx1024m"> + outputFile="${build.dir}/report_findbugs.${findbugs.output.extension}" excludeFilter="findbugs-exclude.xml" jvmargs="-Xmx1024m" warningsProperty="findbugs.warnings"> <sourcePath path="${src.java.dir}"/> <class location="${build.classes.dir}"/> <auxClasspath> @@ -1167,6 +1167,7 @@ NOTE: </path> </auxClasspath> </findbugs> + <fail if="findbugs.warnings"/> </target> <target name="findbugs-xml" depends="findbugs-avail" if="findbugs.present" description="Runs findbugs for a code quality report in XML"> <property name="findbugs.output.format" value="xml"/> |