You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by di...@apache.org on 2003/10/08 18:49:14 UTC

cvs commit: maven-plugins/shell plugin.jelly project.xml plugin.properties

dion        2003/10/08 09:49:14

  Modified:    shell/xdocs goals.xml changes.xml
               shell    plugin.jelly project.xml plugin.properties
  Log:
  Apply MAVEN-850
  
  Revision  Changes    Path
  1.2       +1 -1      maven-plugins/shell/xdocs/goals.xml
  
  Index: goals.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/shell/xdocs/goals.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- goals.xml	10 Mar 2003 21:30:36 -0000	1.1
  +++ goals.xml	8 Oct 2003 16:49:14 -0000	1.2
  @@ -9,7 +9,7 @@
     <body>
       <goals>
         <goal>
  -        <name>sheel</name>
  +        <name>shell</name>
           <description>
               The default goal. This goal simply executes the 
               <a href="#shell:zsh">shell:zsh</a> goal for now
  
  
  
  1.2       +4 -0      maven-plugins/shell/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/shell/xdocs/changes.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- changes.xml	10 Mar 2003 21:30:36 -0000	1.1
  +++ changes.xml	8 Oct 2003 16:49:14 -0000	1.2
  @@ -6,6 +6,10 @@
     </properties>
   
     <body>
  +    <release version="1.1" date="in CVS">
  +      <action dev="dion" type="fix">Apply MAVEN-850</action>
  +    </release>
  +    
       <release version="1.0" date="2003-03-10">
         <action dev="knielsen" type="add">
           Initial release
  
  
  
  1.5       +5 -5      maven-plugins/shell/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/shell/plugin.jelly,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- plugin.jelly	29 Jul 2003 07:22:30 -0000	1.4
  +++ plugin.jelly	8 Oct 2003 16:49:14 -0000	1.5
  @@ -3,7 +3,7 @@
   <project xmlns:j="jelly:core"
     xmlns:test="test">
   
  -  <goal name="shell"
  +  <goal name="shell" prereqs="shell:zsh"
       description="Generate Zsh files"
       />
   
  @@ -61,18 +61,18 @@
   
   
         <j:choose>
  -        <j:when test="${maven.shell.zdh.nodesc == 'true'}">
  +        <j:when test="${context.getVariable('maven.shell.zsh.nodesc') == 'false'}">
              <j:set var="desc" value="${mavenSession.getGoalDescription(goal)}"/>
              <j:set var="escdesc" value='${desc.replaceAll(":","\\:")}'/>
              <j:set var="point" value="'"/>
              <j:set var="pointesc" value='"'/>
              <j:set var="escdesc" value='${escdesc.replaceAll(point,pointesc)}'/>
  -        '${escgoal}:${escdesc}'          
  +        '${escgoal}:${escdesc}'
           </j:when>
           <j:otherwise>
  -        '${escgoal}'          
  +        '${escgoal}'
           </j:otherwise>
  -      </j:choose></j:forEach>
  +      </j:choose><j:whitespace> </j:whitespace></j:forEach>
   
   
     <![CDATA[
  
  
  
  1.8       +1 -1      maven-plugins/shell/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/maven-plugins/shell/project.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- project.xml	2 Sep 2003 10:23:33 -0000	1.7
  +++ project.xml	8 Oct 2003 16:49:14 -0000	1.8
  @@ -5,7 +5,7 @@
     <pomVersion>3</pomVersion>
     <id>maven-shell-plugin</id>
     <name>Maven Shell Plug-in</name>
  -  <currentVersion>1.0</currentVersion>
  +  <currentVersion>1.1-SNAPSHOT</currentVersion>
     <description>A plugin to generate various files for different shells to allow tab completion for maven goals</description>
     <shortDescription>Shell Plugin for Maven</shortDescription>
     <url>http://maven.apache.org/reference/plugins/shell/</url>
  
  
  
  1.2       +3 -4      maven-plugins/shell/plugin.properties
  
  Index: plugin.properties
  ===================================================================
  RCS file: /home/cvs/maven-plugins/shell/plugin.properties,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- plugin.properties	10 Mar 2003 21:30:36 -0000	1.1
  +++ plugin.properties	8 Oct 2003 16:49:14 -0000	1.2
  @@ -4,8 +4,7 @@
   # Shell plugin.
   # -------------------------------------------------------------------
   
  -# Generate Eclipse external tools mappings for the specified goals.
  -# This accepts two values: 'all' for all the goals, 
  -# and 'plugins' to generate only the plugins' default goals.
  +# Generate zsh completion function for maven.
  +
   # maven.shell.zsh.dir= /usr/zsh/functions
  -maven.shell.zsh.nodesc = true
  \ No newline at end of file
  +maven.shell.zsh.nodesc = true
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org