File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 14
14
<property name =" lib.dir" location =" ${ basedir } /build/ant/lib" />
15
15
<property name =" start-class" value =" smoketest.ant.SampleAntApplication" />
16
16
17
- <target name =" resolve" description =" --> retrieve dependencies with ivy" >
17
+ <target name =" clean-ivy-cache" >
18
+ <ivy : cleancache />
19
+ </target >
20
+
21
+ <target name =" resolve" depends =" clean-ivy-cache" description =" --> retrieve dependencies with ivy" >
18
22
<ivy : retrieve pattern =" ${ lib.dir } /[conf]/[artifact]-[type]-[revision].[ext]" />
19
23
</target >
20
24
37
41
</target >
38
42
39
43
<target name =" build" depends =" compile" >
44
+ <delete file =" build/ant/libs/${ ant.project.name } .jar" />
40
45
<spring-boot : exejar destfile =" build/ant/libs/${ ant.project.name } .jar" classes =" build/ant/classes" >
41
46
<spring-boot : lib >
42
47
<fileset dir =" ${ lib.dir } /runtime" />
Original file line number Diff line number Diff line change 1
1
<ivysettings >
2
2
<settings defaultResolver =" chain" />
3
+ <caches defaultCacheDir =" ${projectDir}/build/ivy-cache" />
3
4
<resolvers >
4
5
<chain name =" chain" returnFirst =" true" >
5
6
<!-- NOTE: You should declare only repositories that you need here -->
You can’t perform that action at this time.
0 commit comments