+1 binding, buildScmBranch is set correctly to master on two projects using git. Regards Mirko -- http://illegalstateexception.blogspot.com/ https://github.com/mfriedenhagen/ (http://osrc.dfm.io/mfriedenhagen) https://bitbucket.org/mfriedenhagen/
On Mon, Apr 28, 2014 at 1:47 PM, Baptiste Mathus <bmat...@batmat.net> wrote: > +1. > > Just tested it on some of our projects. > > Side note : if you're using Git, you might be interested in using/testing > the fix coming with https://jira.codehaus.org/browse/MBUILDNUM-66 > Indeed, before 1.3, scmBranch for Git would answer UNKNOWN. It should now > report the right branch. > > Cheers > > > 2014-04-28 13:37 GMT+02:00 Olivier Lamy <ol...@apache.org>: > >> +1 >> >> On 28 April 2014 04:41, Baptiste Mathus <bapti...@codehaus.org> wrote: >> > Hi, >> > >> > I'd like to release version 1.3 of the buildnumber-maven-plugin >> > >> > This mojo is designed to get a unique build number for each time you >> > build >> > your project. So while your version may remain constant at 1.0-SNAPSHOT >> > for >> > many iterations until release, you will have a build number that can >> > uniquely identify each build during that time. The build number is >> > obtained >> > from scm. You can then place that build number in metadata, which can be >> > accessed from your app, if desired. >> > >> > We solved 9 issues: >> > >> > https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=12124&version=18855 >> > >> > There are still a couple of issues left in JIRA: >> > >> > https://jira.codehaus.org/browse/MBUILDNUM-9?jql=project%20%3D%20MBUILDNUM%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC >> > >> > Staging Repositories: >> > General: https://nexus.codehaus.org/content/groups/staging/ >> > Exclusive: >> > https://nexus.codehaus.org/content/repositories/orgcodehausmojo-1080 >> > >> > (Staging) Site: >> > http://mojo.codehaus.org/buildnumber-maven-plugin/ >> > >> > SCM Tag: >> > https://svn.codehaus.org/mojo/tags/buildnumber-maven-plugin-1.3 >> > >> > >> > [ ] +1 >> > [ ] +0 >> > [ ] -1 >> > >> > The vote is open for 72 hours and will succeed by lazy consensus. >> > >> > >> > Cheers >> > >> > Baptise >> >> >> >> -- >> Olivier Lamy >> Ecetera: http://ecetera.com.au >> http://twitter.com/olamy | http://linkedin.com/in/olamy >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> > > > > -- > Baptiste <Batmat> MATHUS - http://batmat.net > Sauvez un arbre, > Mangez un castor ! --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email