Revert upgrade of findbugs as it requires Java 7, but we still allow to compile using Java 6.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710196 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2015-10-23 12:18:22 +00:00
parent 8ffcf64585
commit ba1f3bb24a
1 changed files with 5 additions and 5 deletions

View File

@ -458,7 +458,6 @@ under the License.
<include name="xercesImpl-*.jar"/>
<include name="junit-3*"/>
<include name="junit-4.11*"/>
<include name="findbugs-noUpdateChecks-2.0.3.zip"/>
</fileset>
<fileset dir="${ooxml.lib}">
<include name="ooxml-schemas-1.1-sources.jar"/>
@ -1784,15 +1783,16 @@ under the License.
</target>
<target name="findbugs">
<!-- NOTE: we did not update to 3.x yet because it requires Java 7, but we are still supporting Java 6 currently! -->
<antcall target="downloadfile">
<param name="sourcefile" value="http://prdownloads.sourceforge.net/findbugs/findbugs-noUpdateChecks-3.0.1.zip?download"/>
<param name="destfile" value="${main.lib}/findbugs-noUpdateChecks-3.0.1.zip"/>
<param name="sourcefile" value="http://prdownloads.sourceforge.net/findbugs/findbugs-noUpdateChecks-2.0.3.zip?download"/>
<param name="destfile" value="${main.lib}/findbugs-noUpdateChecks-2.0.3.zip"/>
</antcall>
<unzip src="${main.lib}/findbugs-noUpdateChecks-3.0.1.zip"
<unzip src="${main.lib}/findbugs-noUpdateChecks-2.0.3.zip"
dest="build/findbugs/lib">
<patternset>
<include name="findbugs-3.0.1/lib/**"/>
<include name="findbugs-2.0.3/lib/**"/>
</patternset>
<mapper type="flatten"/>
</unzip>