kaz 02/05/15 14:38:24
Modified: src/templates/build Control.vm
Added: src/templates/build build-docs.xml build-iutest.xml
build-maven.xml build-metrics.xml build-reactor.xml
build-test.xml
Log:
This is a TEMPORARY change so that users of Maven's HEAD can still build
projects that use the old-style of delegators (i.e. they haven't updated
them yet to use the new style). This will go away in the next release.
In the meantime, this change places the old build-files: bulid-docs.xml,
build-metrics.xml, build-test.xml, build-iutest.xml, build-docs.xml,
and build-reactor.xml back in ${maven.home} directory of the user's
install. However, these files are simply delegators themselves to the
new stuff in ${maven.home}/plugins directory.
Thanks to Kurt for the idea.
Revision Changes Path
1.22 +18 -1 jakarta-turbine-maven/src/templates/build/Control.vm
Index: Control.vm
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/templates/build/Control.vm,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- Control.vm 15 May 2002 19:17:44 -0000 1.21
+++ Control.vm 15 May 2002 21:38:24 -0000 1.22
@@ -27,7 +27,19 @@
## Make our list of build system elements
## -------------------------------------------------------
-## This is now done in the plugin directories.
+## This is now done in the plugin directories; however we
+## provide a temporary solution to enable users of the new
+## versions of Maven to continue working with old projects
+## that have not updated their delegators yet. These files
+## are simply indirections that point to the plugins dir.
+## Note: when we remove these, there is a #else block below that should
+## be removed as well.
+$buildElements.add("build-maven.xml")
+$buildElements.add("build-docs.xml")
+$buildElements.add("build-metrics.xml")
+$buildElements.add("build-test.xml")
+$buildElements.add("build-iutest.xml")
+$buildElements.add("build-reactor.xml")
## -------------------------------------------------------
## Create the output directory
@@ -61,6 +73,11 @@
#if ($buildElement.startsWith("plugins/"))
#parsePluginName( $buildElement )
$generator.parse($buildElement,"$outputDir/$buildElement","plugin",$plugin)
+
+ ## This block should be removed when the indirection build-xxx.xml
+ ## files are removed.
+ #else
+ $generator.parse($buildElement,"$outputDir/$buildElement")
#end
#end
1.72 +17 -503 jakarta-turbine-maven/src/templates/build/build-docs.xml
1.10 +3 -276 jakarta-turbine-maven/src/templates/build/build-iutest.xml
1.51 +57 -791 jakarta-turbine-maven/src/templates/build/build-maven.xml
1.23 +3 -117 jakarta-turbine-maven/src/templates/build/build-metrics.xml
1.4 +4 -30 jakarta-turbine-maven/src/templates/build/build-reactor.xml
1.32 +5 -176 jakarta-turbine-maven/src/templates/build/build-test.xml
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>