Apply MAVEN-850
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114177 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
82a8f7b1ef
commit
f7aaf20e27
5 files changed
+14
-11
No files matched your search
+5
-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 @@ case "$state" in
|
||||
|
||||
|
||||
<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[
|
||||
|
||||
@@ -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
|
||||
maven.shell.zsh.nodesc = true
|
||||
+1
-1
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user