The problem is the usetimestamp="false" which disables the local check.
And because its hard written in the (generated) code you can't "overwrite"
that with a .
I did a test with this buildfile:
- usetimestamp=false: loads everytime all artifacts (just the mkdir will run
once)
- usetimestamp=true:
Thanks for the help.
I manually change the maven-build.xml file
usetimestamp="false"
to
usetimestamp="true"
but running ant still goes to every Maven repository to download the jar.
e.g.
[get] Getting:
http://192.168.1.124:8081/nexus/content/groups/public//javassist/javassist/3.12.1.GA/java
Don't be confused by Ants output: the start of does not mean that Ant
wants to open the connection:
[get] Getting:
http://192.168.1.124:8081/nexus/content/groups/public//javassist/javassist/3.12.1.GA/javassist-3.12.1.GA.jar
[get] To: /home/usera/.m2/repository/javassist/javassist/
3.1