From 3bf75dc1aca03a3d96a9ea10ebb204c7e38c349e Mon Sep 17 00:00:00 2001 From: aheritier Date: Sun, 27 Feb 2005 21:32:53 +0000 Subject: [PATCH] MPANT-24 : Ant script looks for dependencies in several remote repositories. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@155643 13f79535-47bb-0310-9956-ffa450edef68 --- ant/plugin.properties | 3 +- .../plugin-resources/templates/build.jelly | 164 ++++++++------ ant/src/plugin-test/LICENSE.txt | 202 ++++++++++++++++++ ant/src/plugin-test/maven.xml | 8 +- ant/src/plugin-test/project.properties | 8 +- ant/xdocs/ant-settings.xml | 4 +- ant/xdocs/changes.xml | 3 +- ant/xdocs/properties.xml | 8 + 8 files changed, 320 insertions(+), 80 deletions(-) create mode 100644 ant/src/plugin-test/LICENSE.txt 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]} - + - + - +