Merge branch '2.7.x'

Closes gh-33297
pull/33335/head
Andy Wilkinson 2 years ago
commit 5a3972fee7

@ -14,7 +14,11 @@
<property name="lib.dir" location="${basedir}/build/ant/lib" /> <property name="lib.dir" location="${basedir}/build/ant/lib" />
<property name="start-class" value="smoketest.ant.SampleAntApplication" /> <property name="start-class" value="smoketest.ant.SampleAntApplication" />
<target name="resolve" description="--> retrieve dependencies with ivy"> <target name="clean-ivy-cache">
<ivy:cleancache />
</target>
<target name="resolve" depends="clean-ivy-cache" description="--> retrieve dependencies with ivy">
<ivy:retrieve pattern="${lib.dir}/[conf]/[artifact]-[type]-[revision].[ext]" /> <ivy:retrieve pattern="${lib.dir}/[conf]/[artifact]-[type]-[revision].[ext]" />
</target> </target>
@ -37,6 +41,7 @@
</target> </target>
<target name="build" depends="compile"> <target name="build" depends="compile">
<delete file="build/ant/libs/${ant.project.name}.jar"/>
<spring-boot:exejar destfile="build/ant/libs/${ant.project.name}.jar" classes="build/ant/classes"> <spring-boot:exejar destfile="build/ant/libs/${ant.project.name}.jar" classes="build/ant/classes">
<spring-boot:lib> <spring-boot:lib>
<fileset dir="${lib.dir}/runtime" /> <fileset dir="${lib.dir}/runtime" />

@ -1,5 +1,6 @@
<ivysettings> <ivysettings>
<settings defaultResolver="chain" /> <settings defaultResolver="chain" />
<caches defaultCacheDir="${projectDir}/build/ivy-cache"/>
<resolvers> <resolvers>
<chain name="chain" returnFirst="true"> <chain name="chain" returnFirst="true">
<!-- NOTE: You should declare only repositories that you need here --> <!-- NOTE: You should declare only repositories that you need here -->

Loading…
Cancel
Save