poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r1698143 - /poi/trunk/build.xml
Date Thu, 27 Aug 2015 13:07:37 GMT
Author: nick
Date: Thu Aug 27 13:07:36 2015
New Revision: 1698143

URL: http://svn.apache.org/r1698143
Log:
Stub a call to the Forbidden APIs check

Modified:
    poi/trunk/build.xml

Modified: poi/trunk/build.xml
URL: http://svn.apache.org/viewvc/poi/trunk/build.xml?rev=1698143&r1=1698142&r2=1698143&view=diff
==============================================================================
--- poi/trunk/build.xml (original)
+++ poi/trunk/build.xml Thu Aug 27 13:07:36 2015
@@ -1647,12 +1647,12 @@ under the License.
        </mvn:mvn>
     </target>
 
-    <target name="dist" depends="clean, compile-all, test-all, site, jar, release-notes,
assemble"
+    <target name="dist" depends="clean, compile-all, test-all, rat-check, forbidden-apis-check,
site, jar, release-notes, assemble"
             description="Creates the entire distribution into build/dist, from scratch">
     </target>
 
     <target name="gump" depends="compile-all, test-all, jar"/>
-    <target name="jenkins" depends="compile-all, test-all, test-integration, jar, javadocs,
assemble, findbugs, release-notes, rat-check"/>
+    <target name="jenkins" depends="compile-all, test-all, test-integration, jar, javadocs,
assemble, findbugs, release-notes, rat-check, forbidden-apis-check"/>
 
     <available property="maven.ant.tasks.present" classname="org.apache.maven.artifact.ant.Pom"/>
     <target name="maven.ant.tasks-check">
@@ -1720,6 +1720,14 @@ under the License.
        <fail><condition><matches pattern="[1-9][0-9]* Unknown Licens" string="${rat.reportcontent}"/></condition></fail>
     </target>
 
+    <!-- Runs the Forbiddens APIs checker against the source code, to -->
+    <!--  spot any cases where we've accidently used methods we shouldn't -->
+    <!-- See https://github.com/policeman-tools/forbidden-apis for details -->
+    <!--  of the checks that this can do -->
+    <target name="forbidden-apis-check" depends="init">
+       <fail message="TODO" />
+    </target>
+
     <target name="findbugs"><!-- depends="assemble" -->
         <antcall target="downloadfile">
             <param name="sourcefile" value="http://prdownloads.sourceforge.net/findbugs/findbugs-noUpdateChecks-2.0.3.zip?download"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message