diff --git a/ant/plugin.properties b/ant/plugin.properties
index 7abf9a5b..fb7c356a 100644
--- a/ant/plugin.properties
+++ b/ant/plugin.properties
@@ -23,4 +23,5 @@
maven.ant.generatebuild.file = ${basedir}/build.xml
maven.ant.use.properties = true
-maven.ant.compatibility = 1.6
\ No newline at end of file
+maven.ant.compatibility = 1.6
+maven.ant.use.multirepo = true
\ No newline at end of file
diff --git a/ant/src/plugin-resources/templates/build.jelly b/ant/src/plugin-resources/templates/build.jelly
index d5b48e2b..f29d613f 100644
--- a/ant/src/plugin-resources/templates/build.jelly
+++ b/ant/src/plugin-resources/templates/build.jelly
@@ -25,19 +25,23 @@
xmlns="dummy">
-
- ${maven.repo.remote}
- ${repos[0]}
-
-
-
-
-
-
Compatibility : Ant ${antComp}
+
+
+
+
+
+
+
+
+
+
+
+
+
build.xml generated by maven from project.xml version ${pom.currentVersion}
on date ${TODAY}, time ${TSTAMP}
@@ -46,33 +50,23 @@
-
+ Load local and user build preferences
-
-
-
-
-
-
-
-
-
+ Build properties
+
+
+
-
-
-
-
-
-
-
+
+
-
-
+
+
@@ -122,7 +116,7 @@
deprecation="true"
optimize="false">
-
+
@@ -146,13 +140,13 @@
-
+
-
-
+
+
-
+
@@ -166,11 +160,10 @@
- ${maven.license.licenseFile}
-
-
+
+
@@ -224,7 +217,7 @@
haltonerror="true"
failureproperty="test.failure"
fork="true"
- dir="./">
+ dir="$${basedir}">
@@ -235,7 +228,7 @@
-
+
@@ -278,7 +271,7 @@
deprecation="true"
optimize="false">
-
+
@@ -313,7 +306,7 @@
-
+
@@ -351,7 +344,7 @@
/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${maven.repo.remote}
+
+
+
+
+
+
+
+
+
+
+
+ This dependency is overriden in maven project.
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ depends="${dependencies}"
+ unless="noget"/>
+
+ ${maven.repo.remote}
+ ${repos[0]}
-
+
-
+
-
+