[ 
https://jira.codehaus.org/browse/MBUILDNUM-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Voronetskyy Yevgen updated MBUILDNUM-86:
----------------------------------------

    Attachment: patch-MBuild-GitShortRev-Documentation.txt

In order to finalize the improvement for short Git id, I send a patched 
usage.apt.vm file for the accuracy in the plugin documentation page.
                
> Short Revision Id for Git SCM
> -----------------------------
>
>                 Key: MBUILDNUM-86
>                 URL: https://jira.codehaus.org/browse/MBUILDNUM-86
>             Project: Mojo Build Number Maven Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.1
>         Environment: only Git support
>            Reporter: Voronetskyy Yevgen
>            Assignee: Olivier Lamy
>            Priority: Minor
>             Fix For: 1.1
>
>         Attachments: patchBuildNumber-ShortRevisionLength.txt, 
> patch-MBuild-GitShortRev-Documentation.txt
>
>
> The main idea of this feature is to provide an additional parameter to 
> buildNumeber plugin to get out from SCM the short revision number. 
> Exemple - the git 'normal' commit ID is something like this : 
> b0c1c69be579175e63eeb1c056d607f01ab61e96
> What the improvement should do is to take the parameter 
> <shortRevisionLength>5</shortRevisionLength> from the config and ask the 
> command git rev-parse --short=5 to give a short id. The result should be 
> b0c1c.
> The work I made consists of 2 separate patches:
> 1. BuildNumberPlugin
> 2. maven-scm-plugin 1.7-SNAPSHOT

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to