You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "jieryn (JIRA)" <ji...@codehaus.org> on 2008/12/19 16:08:19 UTC

[jira] Created: (MNG-3928) Maven Integration with Bash

Maven Integration with Bash
---------------------------

                 Key: MNG-3928
                 URL: http://jira.codehaus.org/browse/MNG-3928
             Project: Maven 2
          Issue Type: Improvement
          Components: Documentation: Guides
    Affects Versions: 2.0.9
         Environment: POSIX (e.g. Linux, FreeBSD)
            Reporter: jieryn
            Priority: Trivial
         Attachments: m2

Maven already has a mini guide on this located here: http://maven.apache.org/guides/mini/guide-bash-m2-completion.html

However, I have significantly enhanced the bash completion for Maven using mostly automated means. Please review the attached m2 script and if it is found to be a worthy update, then simply use the contents of the script as a drop in replacement for the current one.

Thanks!

-- 
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

        

[jira] Commented: (MNG-3928) Maven Integration with Bash

Posted by "jieryn (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=171194#action_171194 ] 

jieryn commented on MNG-3928:
-----------------------------

A discussion on the internals of Bash's auto complete support is beyond my skills. I merely want to enhance the current http://maven.apache.org/guides/mini/guide-bash-m2-completion.html documentation to use the attached m2 script. The script has several advantages over its predecessor, namely that it helps automate the tedious process of figuring out all of the Maven plugins to possibly auto-complete, including their goals.

jieryn ~$ mvn help:eff<tab><tab>
help:effective-pom       help:effective-settings  

Where the help plugin was discovered automatically, as well as all the goals for that plugin. Allowing me to type just a partial match for both the plugin and the goal, letting Bash do the hard work.

> Maven Integration with Bash
> ---------------------------
>
>                 Key: MNG-3928
>                 URL: http://jira.codehaus.org/browse/MNG-3928
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Documentation: Guides
>    Affects Versions: 2.0.9
>         Environment: POSIX (e.g. Linux, FreeBSD)
>            Reporter: jieryn
>            Priority: Trivial
>             Fix For: Documentation Deficit
>
>         Attachments: m2
>
>
> Maven already has a mini guide on this located here: http://maven.apache.org/guides/mini/guide-bash-m2-completion.html
> However, I have significantly enhanced the bash completion for Maven using mostly automated means. Please review the attached m2 script and if it is found to be a worthy update, then simply use the contents of the script as a drop in replacement for the current one.
> Thanks!

-- 
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

        

[jira] Updated: (MNG-3928) Maven Integration with Bash

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3928:
------------------------------

    Fix Version/s: Documentation Deficit

can you explain a bit more how to use this? it seems like calling the "update" only updates it for the current shell?

> Maven Integration with Bash
> ---------------------------
>
>                 Key: MNG-3928
>                 URL: http://jira.codehaus.org/browse/MNG-3928
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Documentation: Guides
>    Affects Versions: 2.0.9
>         Environment: POSIX (e.g. Linux, FreeBSD)
>            Reporter: jieryn
>            Priority: Trivial
>             Fix For: Documentation Deficit
>
>         Attachments: m2
>
>
> Maven already has a mini guide on this located here: http://maven.apache.org/guides/mini/guide-bash-m2-completion.html
> However, I have significantly enhanced the bash completion for Maven using mostly automated means. Please review the attached m2 script and if it is found to be a worthy update, then simply use the contents of the script as a drop in replacement for the current one.
> Thanks!

-- 
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