]> source.dussan.org Git - poi.git/commitdiff
Also write findbugs.xml file for reading the results in ^Cnkins builds
authorDominik Stadler <centic@apache.org>
Sat, 14 Mar 2015 11:52:59 +0000 (11:52 +0000)
committerDominik Stadler <centic@apache.org>
Sat, 14 Mar 2015 11:52:59 +0000 (11:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666657 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index f29aa8d3726ca9f4555f13e62df4f940cb76ebb9..b8f7a66a4892962979a13d171332b5259cd0ea98 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -1709,7 +1709,30 @@ under the License.
                        <sourcePath path="src/java" />
                        <sourcePath path="src/ooxml/java" />
                        <sourcePath path="src/scratchpad/src" />
-               </findbugs>             
+               </findbugs>
+               <findbugs home="${findbugs.home}" output="xml" outputFile="build/findbugs.xml"
+                       excludeFilter="src/resources/devtools/findbugs-filters.xml">
+                       <fileset dir="${dist.dir}">
+                               <include name="poi-${version.id}-*.jar"/>
+                               <include name="poi-scratchpad-${version.id}-*.jar"/>
+                               <include name="poi-ooxml-${version.id}-*.jar"/>
+                               <exclude name="poi-*${version.id}-sources-*.jar"/>
+                               <exclude name="poi-*${version.id}-javadocs-*.jar"/>
+                       </fileset>
+                       <auxClasspath path="${compile.lib}/bcpkix-jdk15on-1.51.jar" />
+                       <auxClasspath path="${compile.lib}/bcprov-ext-jdk15on-1.51.jar" />
+                       <auxClasspath path="${compile.lib}/slf4j-api-1.7.7.jar" />
+                       <auxClasspath path="${compile.lib}/xmlsec-2.0.1.jar" />
+                       <auxClasspath path="ooxml-lib/ooxml-schemas-1.1.jar" />
+                       <auxClasspath path="ooxml-lib/ooxml-security-1.0.jar" />
+                       <auxClasspath path="ooxml-lib/xmlbeans-2.6.0.jar" />
+                       <auxClasspath path="lib/commons-codec-1.9.jar" />
+                       <auxClasspath path="lib/commons-logging-1.1.3.jar" />
+                       <auxClasspath path="lib/junit-4.12.jar" />
+                       <sourcePath path="src/java" />
+                       <sourcePath path="src/ooxml/java" />
+                       <sourcePath path="src/scratchpad/src" />
+               </findbugs>
        </target>
 
        <target name="test-scratchpad-download-resources">