[ 
https://jira.codehaus.org/browse/MBUILDNUM-93?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=296712#comment-296712
 ] 

TomᚠProcházka commented on MBUILDNUM-93:
------------------------------------------

I vote for integrate this patch. I use this plugin together with 
com.google.code.maven-replacer-plugin to auto generate versionCode in Android 
manifest file and this allow use it also on GIT.
                
> Generate buildnumber as a commit sequence number for Git
> --------------------------------------------------------
>
>                 Key: MBUILDNUM-93
>                 URL: https://jira.codehaus.org/browse/MBUILDNUM-93
>             Project: Mojo Build Number Maven Plugin
>          Issue Type: Improvement
>            Reporter: Frantisek Mantlik
>            Priority: Minor
>         Attachments: CreateMojo.java.patch
>
>
> New feature is offered to compute Subversion-style build numbers for Git 
> repositories.
> Build number increasing sequence is desired e.g. for correct updates 
> recognition of Netbeans modules.
> Proposed patch providing this functionality is attached.
> When new parameter gitCountCommits is set to true, patched info method in 
> CreateMojo counts all existing commits in the repository and assigns the 
> result as new build number. In addition, when useLastCommittedRevision is set 
> to true, HEAD revision of the working directory is found and commit sequence 
> number of it is found and assigned as build number instead.
> The patch works fine with my projects - when Subversion repository was 
> converted to Git, plugin created identical build numbers for all modules.

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