From b2d872ac2239921d3b6cc25bf1d69566255e89e6 Mon Sep 17 00:00:00 2001 From: aheritier Date: Thu, 13 Jan 2005 23:55:45 +0000 Subject: [PATCH] MPANT-20 : Allow URL substitutions in generated build.xml files. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@125119 13f79535-47bb-0310-9956-ffa450edef68 --- .../plugin-resources/templates/build.jelly | 19 ++++++---- ant/src/plugin-test/build.properties | 2 + ant/src/plugin-test/maven.xml | 37 +++++-------------- ant/src/plugin-test/project.xml | 10 ++++- ant/xdocs/changes.xml | 1 + 5 files changed, 33 insertions(+), 36 deletions(-) create mode 100644 ant/src/plugin-test/build.properties diff --git a/ant/src/plugin-resources/templates/build.jelly b/ant/src/plugin-resources/templates/build.jelly index c9e55e33..807f12e9 100644 --- a/ant/src/plugin-resources/templates/build.jelly +++ b/ant/src/plugin-resources/templates/build.jelly @@ -67,6 +67,8 @@ + + @@ -355,13 +357,16 @@ - - + + + + + diff --git a/ant/src/plugin-test/build.properties b/ant/src/plugin-test/build.properties new file mode 100644 index 00000000..b742c2db --- /dev/null +++ b/ant/src/plugin-test/build.properties @@ -0,0 +1,2 @@ +# Test MPANT-20 +maven-jaxb-plugin.jar=http://ovh.dl.sourceforge.net/sourceforge/maven-plugins/maven-jaxb-plugin-1.0.jar \ No newline at end of file diff --git a/ant/src/plugin-test/maven.xml b/ant/src/plugin-test/maven.xml index f96a5ab8..dd466f1c 100644 --- a/ant/src/plugin-test/maven.xml +++ b/ant/src/plugin-test/maven.xml @@ -15,55 +15,36 @@ * limitations under the License. */ --> - - + - - - - + - - + - - - - - + + + - + - - + - - + - diff --git a/ant/src/plugin-test/project.xml b/ant/src/plugin-test/project.xml index da24bfff..821a3d04 100644 --- a/ant/src/plugin-test/project.xml +++ b/ant/src/plugin-test/project.xml @@ -61,7 +61,15 @@ jar - + + + maven-plugins + maven-jaxb-plugin + 1.0 + jar + + + junit junit diff --git a/ant/xdocs/changes.xml b/ant/xdocs/changes.xml index 4b3117e5..aacd8b5a 100644 --- a/ant/xdocs/changes.xml +++ b/ant/xdocs/changes.xml @@ -27,6 +27,7 @@ Obey jar override and not attempt to download relative jars. + Allow URL substitutions in generated build.xml files. Use relative paths in test resources filesets.