You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/02/20 20:45:00 UTC

[jira] [Comment Edited] (MPH-124) Show parameter aliases in describe goal

    [ https://issues.apache.org/jira/browse/MPH-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16245928#comment-16245928 ] 

Michael Osipov edited comment on MPH-124 at 2/20/18 8:44 PM:
-------------------------------------------------------------

GitHub user bentatham opened a pull request:

    https://github.com/apache/maven-plugins/pull/134

    MPH-124: add alias to describe detail

    Simply add the alias to the detail output, if it exists.
    
    Sample output from one of our custom plugins:
{noformat}
    [INFO] 'helios-dev:deploy-apollo' is a plugin goal (aka mojo).
    Mojo: 'helios-dev:deploy-apollo'
    helios-dev:deploy-apollo
      Description: (no description available)
      Implementation: ca.nanometrics.maven.helios.development.DeployApolloMojo
      Language: java
    
      Available parameters:
    
        m_bboverlay (Default:
        ${project.build.directory}/bboverlay-tmp/${project.artifactId})
          Alias: bboverlay
          Required: true
          User property: bboverlay-tmp
          (no description available)
    
        m_host
          Alias: host
          Required: true
          User property: sshhost
          (no description available)
    
        m_keyFile (Default: ${user.home}/.ssh/id_rsa.helios)
          Alias: keyfile
          User property: keyfile
          (no description available)
{noformat}

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bentatham/maven-plugins feature/MPH-124-add-alias

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven-plugins/pull/134.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #134
    
----
commit 22aac4cb1934dc5999e614fe863fe15ffb722f52
Author: Ben Tatham <be...@nanometrics.ca>
Date:   2017-11-09T16:10:20Z

    MPH-124: add alias to describe detail

----



was (Author: githubbot):
GitHub user bentatham opened a pull request:

    https://github.com/apache/maven-plugins/pull/134

    MPH-124: add alias to describe detail

    Simply add the alias to the detail output, if it exists.
    
    Sample output from one of our custom plugins:
    ```
    [INFO] 'helios-dev:deploy-apollo' is a plugin goal (aka mojo).
    Mojo: 'helios-dev:deploy-apollo'
    helios-dev:deploy-apollo
      Description: (no description available)
      Implementation: ca.nanometrics.maven.helios.development.DeployApolloMojo
      Language: java
    
      Available parameters:
    
        m_bboverlay (Default:
        ${project.build.directory}/bboverlay-tmp/${project.artifactId})
          Alias: bboverlay
          Required: true
          User property: bboverlay-tmp
          (no description available)
    
        m_host
          Alias: host
          Required: true
          User property: sshhost
          (no description available)
    
        m_keyFile (Default: ${user.home}/.ssh/id_rsa.helios)
          Alias: keyfile
          User property: keyfile
          (no description available)
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bentatham/maven-plugins feature/MPH-124-add-alias

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven-plugins/pull/134.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #134
    
----
commit 22aac4cb1934dc5999e614fe863fe15ffb722f52
Author: Ben Tatham <be...@nanometrics.ca>
Date:   2017-11-09T16:10:20Z

    MPH-124: add alias to describe detail

----


> Show parameter aliases in describe goal
> ---------------------------------------
>
>                 Key: MPH-124
>                 URL: https://issues.apache.org/jira/browse/MPH-124
>             Project: Maven Help Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.2
>            Reporter: Ben Tatham
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 3.0.0
>
>
> {{mvn help:describe -Ddetail}} should show the alias as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)