dion        2003/07/08 19:54:08

  Modified:    src/plugins-build/multiproject plugin.jelly
  Log:
  use new param-check tag
  
  Revision  Changes    Path
  1.7       +5 -6      maven/src/plugins-build/multiproject/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven/src/plugins-build/multiproject/plugin.jelly,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- plugin.jelly      9 Jul 2003 00:08:51 -0000       1.6
  +++ plugin.jelly      9 Jul 2003 02:54:08 -0000       1.7
  @@ -2,6 +2,7 @@
   
   <project 
     xmlns:j="jelly:core"
  +  xmlns:m="maven"
     xmlns:maven="jelly:maven"
     xmlns:ant="jelly:ant"
     xmlns:doc="doc"
  @@ -104,12 +105,10 @@
     <!-- Run specific sets of goals for all subprojects                   -->
     <!--==================================================================-->
     <goal name="multiproject:goal" description="Run a given goal on all projects">
  -      <!-- FIXME: This should be a tag somewhere else as it's common to do tag 
param checking -->
  -      <j:if test="${empty(goal)}">
  -          <ant:fail>A goal to run must be specified, e.g.
  -maven -Dgoal=clean multiproject:goal
  -          </ant:fail>
  -      </j:if>
  +      <m:param-check value="${goal}" fail="true">
  +A goal to run must be specified, e.g.
  +maven -Dgoal=clean multiproject:goal" fail="true"</m:param-check>
  +
         <ant:echo>Executing ${goal} on all projects</ant:echo>
         <maven:reactor
           basedir="${maven.multiproject.basedir}"
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to