maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kohsuke Kawaguchi (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MPSHELL-2) Read target names from maven.xml
Date Thu, 19 Jan 2006 05:35:40 GMT
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


Mime
View raw message