You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Kohsuke Kawaguchi (JIRA)" <ji...@codehaus.org> on 2006/01/19 06:35:40 UTC

[jira] Created: (MPSHELL-2) Read target names from maven.xml

Read target names from maven.xml
--------------------------------

         Key: MPSHELL-2
         URL: http://jira.codehaus.org/browse/MPSHELL-2
     Project: maven-shell-plugin
        Type: Improvement

    Reporter: Kohsuke Kawaguchi


In zsh, adding the following lines to the generated script enables zsh to complete targets from maven.xml in the current directory. This improves the usability of maven with zsh.

  # read maven.xml
  tmp+=( $(sed -n "s/ *<target[^>]* name=[\"']\([^\"']*\)[\"'].*/\1/p" maven.xml) )


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (MPSHELL-2) Read target names from maven.xml

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPSHELL-2?page=comments#action_56304 ] 

Lukas Theussl commented on MPSHELL-2:
-------------------------------------

The shell plugin has been demoted from the core maven distribution, it is not developed anymore and will not be included in maven 1.1. 

> Read target names from maven.xml
> --------------------------------
>
>          Key: MPSHELL-2
>          URL: http://jira.codehaus.org/browse/MPSHELL-2
>      Project: maven-shell-plugin
>         Type: Improvement

>     Reporter: Kohsuke Kawaguchi

>
>
> In zsh, adding the following lines to the generated script enables zsh to complete targets from maven.xml in the current directory. This improves the usability of maven with zsh.
>   # read maven.xml
>   tmp+=( $(sed -n "s/ *<target[^>]* name=[\"']\([^\"']*\)[\"'].*/\1/p" maven.xml) )

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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