Skip to content

Commit

Permalink
Merge branch '2.6.x' into 2.7.x
Browse files Browse the repository at this point in the history
Closes gh-33296
  • Loading branch information
wilkinsona committed Nov 22, 2022
2 parents 2848593 + 673d301 commit f638c00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Expand Up @@ -14,7 +14,11 @@
<property name="lib.dir" location="${basedir}/build/ant/lib" />
<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]" />
</target>

Expand All @@ -37,6 +41,7 @@
</target>

<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:lib>
<fileset dir="${lib.dir}/runtime" />
Expand Down
@@ -1,5 +1,6 @@
<ivysettings>
<settings defaultResolver="chain" />
<caches defaultCacheDir="${projectDir}/build/ivy-cache"/>
<resolvers>
<chain name="chain" returnFirst="true">
<!-- NOTE: You should declare only repositories that you need here -->
Expand Down

0 comments on commit f638c00

Please sign in to comment.