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 4ce73544a7
commit 63cb78d416

View File

@ -458,7 +458,6 @@ under the License.
<include name="xercesImpl-*.jar"/> <include name="xercesImpl-*.jar"/>
<include name="junit-3*"/> <include name="junit-3*"/>
<include name="junit-4.11*"/> <include name="junit-4.11*"/>
<include name="findbugs-noUpdateChecks-2.0.3.zip"/>
</fileset> </fileset>
<fileset dir="${ooxml.lib}"> <fileset dir="${ooxml.lib}">
<include name="ooxml-schemas-1.1-sources.jar"/> <include name="ooxml-schemas-1.1-sources.jar"/>
@ -1784,15 +1783,16 @@ under the License.
</target> </target>
<target name="findbugs"> <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"> <antcall target="downloadfile">
<param name="sourcefile" value="http://prdownloads.sourceforge.net/findbugs/findbugs-noUpdateChecks-3.0.1.zip?download"/> <param name="sourcefile" value="http://prdownloads.sourceforge.net/findbugs/findbugs-noUpdateChecks-2.0.3.zip?download"/>
<param name="destfile" value="${main.lib}/findbugs-noUpdateChecks-3.0.1.zip"/> <param name="destfile" value="${main.lib}/findbugs-noUpdateChecks-2.0.3.zip"/>
</antcall> </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"> dest="build/findbugs/lib">
<patternset> <patternset>
<include name="findbugs-3.0.1/lib/**"/> <include name="findbugs-2.0.3/lib/**"/>
</patternset> </patternset>
<mapper type="flatten"/> <mapper type="flatten"/>
</unzip> </unzip>