Author: sebb Date: Tue Aug 13 08:12:12 2013 New Revision: 1513386 URL: http://svn.apache.org/r1513386 Log: Use properties for JUnit version and Maven repo
Modified: commons/sandbox/convert/trunk/build.xml Modified: commons/sandbox/convert/trunk/build.xml URL: http://svn.apache.org/viewvc/commons/sandbox/convert/trunk/build.xml?rev=1513386&r1=1513385&r2=1513386&view=diff ============================================================================== --- commons/sandbox/convert/trunk/build.xml (original) +++ commons/sandbox/convert/trunk/build.xml Tue Aug 13 08:12:12 2013 @@ -20,6 +20,8 @@ on date October 4 2004, time 2323--> <project default="jar" name="commons-convert" basedir="."> + <property name="junit.version" value="4.11"/> + <property name="maven2.repo" value="http://mirrors.ibiblio.org/maven2"/> <property name="defaulttargetdir" value="target"> </property> <property name="libdir" value="target/lib"> @@ -168,7 +170,7 @@ </javadoc> </target> <target name="get-deps" unless="noget" depends="init"> - <get dest="${libdir}/junit-4.10.jar" usetimestamp="true" ignoreerrors="true" src="http://mirrors.ibiblio.org/maven2/junit/junit/4.10/junit-4.10.jar"> + <get dest="${libdir}/junit-${junit.version}.jar" usetimestamp="true" ignoreerrors="true" src="${maven2.repo}/junit/junit/${junit.version}/junit-${junit.version}.jar"> </get> <!-- <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar">