You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by sm...@apache.org on 2002/12/08 18:18:16 UTC

cvs commit: jakarta-turbine-maven/src/plugins-build/console plugin.properties plugin.jelly

smor        2002/12/08 09:18:16

  Modified:    src/plugins-build/console plugin.jelly
  Added:       src/plugins-build/console plugin.properties
  Log:
  Added a "maven.console.first" property.
  It's the first default goal that is displayed when entering the
  console.
  It default to "help".
  The help is displayed first in any case.
  
  Revision  Changes    Path
  1.10      +1 -1      jakarta-turbine-maven/src/plugins-build/console/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/console/plugin.jelly,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- plugin.jelly	6 Nov 2002 13:50:13 -0000	1.9
  +++ plugin.jelly	8 Dec 2002 17:18:16 -0000	1.10
  @@ -9,7 +9,7 @@
   
     <goal name="console" description="Run the Maven console">
       <attainGoal name="console:help"/>
  -    <j:set var="lastGoal" value="help"/>
  +    <j:set var="lastGoal" value="${maven.console.first}"/>
       <j:set var="followOn" value="true"/>
       <j:while test="${followOn}">
         <i:ask question="${pom.id} ${pom.currentVersion} >" answer="goal" default="${lastGoal}"/>
  
  
  
  1.1                  jakarta-turbine-maven/src/plugins-build/console/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  # -------------------------------------------------------------------
  # P L U G I N  P R O P E R T I E S
  # -------------------------------------------------------------------
  # Xdoc plugin.
  # -------------------------------------------------------------------
  
  # The name of the first goal that is displayed when entering the
  # console (defaults to "help"). The usage section is displayed in
  # any case).
  maven.console.first = help