Voronetskyy Yevgen created MBUILDNUM-86:
-------------------------------------------

             Summary: 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
            Priority: Minor
         Attachments: patchBuildNumber-ShortRevisionLength.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