Hi Björn, 
 
As far as I can judge, the maven-release-plugin IS exactly what you need. There 
is even some documentation on it. 
http://maven.apache.org/plugins/maven-release-plugin/
http://maven.apache.org/guides/mini/guide-releasing.html
 
quote from the mini-guide:
-----------------------------
The release:prepare goal will:

1.      Verify that there are no uncommitted changes in the workspace. 
2.      Prompt the user for the desired tag, release and development version 
names. 
3.      Modify and commit release information into the pom.xml file. 
4.      Tag the entire project source tree with the new tag name.

-------------------------------------------

Note that it requires that you don't have snapshot dependencies in your pom. 
The plugin has some minor issues, but it satisfied our needs and works quite 
good.

Kay


________________________________

Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Verzonden: vr 1-12-2006 14:53

Aan: [email protected]
Onderwerp: Release a project



What I'm trying to do is the following:



I want to checkout the most recent version of my project from Subversion.  When 
that's done, I want to create a build from this version and after that, tag 
those two.  This way, we have a version in Subversion from our project and a 
build, created from that version, both with the same tag.



Is this even possible in Maven2?  What I'm doing now is scm:bootstrap, which 
checks out the most recent version from Subversion, then build the whole thing 
and then tag the whole thing.  Everything from command line.  I don't know if 
this is possible with Maven, all-in-one-command.



I already read something about maven-release-plugin, but it has poor 
documentation and it's not exactly what I'm looking for.



If my explanation isn't clearly enough, please ask for more text.



Sincerely



Björn De Bakker







This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to