maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kohsuke Kawaguchi (JIRA)" <>
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
     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:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message