Hi Olivier, Thank you for the link.
I will make a patch for this. -- Voronetskyy Yevgen On Feb 3, 2012, at 11:47 AM, Olivier Lamy wrote: > Hello, > The reponse is simply now it's not possible to change the cli used. > All is in maven scm component see: > http://svn.apache.org/repos/asf/maven/scm/trunk/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/info/GitInfoCommand.java > > What you can do is to propose a patch (note the command as a parameter > called CommandParameters maybe we could add some parameter here to say > shortRevNumber or something similar). > > Patch welcome :-) > > 2012/2/3 Voronetskyy Yevgen <[email protected]>: >> Hi, >> >> Is there any way to configure the buildNumber plugin with git as SCM >> provider in order to get the short commit id. Actually, this plugin work >> fine, but the id is too long :b0c1c69be579175e63eeb1c056d607f01ab61e96 >> >> I would like to have the shorter version : b0c1c69 With git command line it >> can be done with >> >> git rev-parse --short HEAD >> >> I'm using the 1.0 version of the plugin >> >> Thanks in advance, >> -- >> Yev >> >> >> >> > > > > -- > Olivier Lamy > Talend: http://coders.talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > >
