diff options
author | Dominik Stadler <centic@apache.org> | 2014-08-03 21:30:30 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2014-08-03 21:30:30 +0000 |
commit | 6dea78adb353c9e0cf8ac01facec34d84dfb5fe0 (patch) | |
tree | 2b69b1791e6d885ac9b31679b00cb9c74eebeeb4 /build.xml | |
parent | bacc106cb7cb5c7c3b841271cdc5f2f7a9f7b823 (diff) | |
download | poi-6dea78adb353c9e0cf8ac01facec34d84dfb5fe0.tar.gz poi-6dea78adb353c9e0cf8ac01facec34d84dfb5fe0.zip |
* Ensure that some older versions of third-party libraries are removed when we do the jar-check, we saw some strange and hard-to-find build-errors lately, e.g. CI fails to run JaCoCo because of outdated asm-all-4.jar being still available.
* Include new "release-notes" target in jenkins-target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615453 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 20 |
1 files changed, 17 insertions, 3 deletions
@@ -339,7 +339,21 @@ under the License. </target> <target name="check-jars"> - <condition property="jars.present"> + <!-- remove previous versions of third-party jars to prevent them from lingering around, + we often had hard-to-find build/CI-problems because of these! --> + <delete verbose="true"> + <fileset dir="${main.lib}"> + <include name="ant-1.8*"/> + <include name="asm-all-4*"/> + <include name="commons-codec-1.5*"/> + <include name="commons-logging-1.1.jar"/> + <include name="jacoco-0.6*"/> + <include name="log4j-1.2.13*"/> + <include name="org.jacoco.*-0.6.*"/> + </fileset> + </delete> + + <condition property="jars.present"> <or> <and> <available file="${main.commons-logging.jar}"/> @@ -1328,8 +1342,8 @@ under the License. </target> <target name="gump" depends="compile-all, test-all, jar"/> - <target name="jenkins" depends="compile-all, test-all, jar, javadocs, assemble, findbugs, rat-check"/> - + <target name="jenkins" depends="compile-all, test-all, jar, javadocs, assemble, findbugs, release-notes, rat-check"/> + <available property="maven.ant.tasks.present" classname="org.apache.maven.artifact.ant.Pom"/> <target name="maven.ant.tasks-check"> <fail unless="maven.ant.tasks.present"> |