Re: Maven releases using Git

2013-01-30 Thread Baptiste MATHUS
I don't know all commands by heart :-).
And it also depends a bit on your project.
should be something like:
mvn release:branch -DbranchName=thatNewBranchYouWereDreamingAbout

But fortunately, the doc is quite complete:
http://maven.apache.org/maven-release/maven-release-plugin/branch-mojo.html

But once again, if you what you want is releasing a product, then you
already do the right thing.

Doing a branch won't create a release, it's different.

Cheers


2013/1/30 stadelma stade...@datazug.ch

 and what is the proper maven command?
 there are so many maven goals, and its
 hard to know em all. Josef



 --
 View this message in context:
 http://maven.40175.n5.nabble.com/Maven-releases-using-Git-tp5744976p5745077.html
 Sent from the Maven - Users mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org




-- 
Baptiste Batmat MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !


Re: Maven releases using Git

2013-01-29 Thread Baptiste MATHUS
Hi,
It is expected behaviour.
A release is actually like storing the state of your code for a precise
event (often represented with a version).

Maybe what you (also?) want is the release:branch goal.

Cheers
Le 29 janv. 2013 18:35, Jeff predato...@gmail.com a écrit :

 I've got my first GIT project to release using the maven release plugin,
 but it didn't create a branch like I would have expected, it simply
 tagged the current branch (master in my case) with the release version.

 Is this expected or am I missing something in my job config to make this
 happen?

 Thanks!!

 --
 Jeff Vincent
 predato...@gmail.com
 See my LinkedIn profile at:
 http://www.linkedin.com/in/rjeffreyvincent
 I ♥ DropBox http://db.tt/9O6LfBX !!



Re: Maven releases using Git

2013-01-29 Thread stadelma
and what is the proper maven command?
there are so many maven goals, and its
hard to know em all. Josef



--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-releases-using-Git-tp5744976p5745077.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org