Many scm's don't let you commit changes to tags, which is why it commits
to trunk first and then tags.

-----Original Message-----
From: Todd Thiessen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 04, 2008 6:18 AM
To: Maven Users List
Subject: RE: Limitation of the release plugin?

Have anyone considered changing the release plugin such that it does not
commit the changes to the POM which removes SNAPSHOT from the version?
The only negative I can see is that you don't see a history of this
change in your trunk.  But this shouldn't matter since you have a copy
of this POM in your tags.  In fact, this makes more sense to me anyway.
I don't like seeing a released version of my POM in my trunk history.

So to be clear, the steps would be changed to this (roughly):

1. Make changes to the POM in your working copy to remove "SNAPSHOT"
from the version and make changes to your SCM entries to point to your
tags instead of your trunk. (Same)
2. DO NOT commit this change back to trunk. (Different).
3. Do an svn copy of your working directory to your tags, just as it
does today. (Same)
4. ... continue as normal

Are there any negatives to this that I have overlooked?

---
Todd Thiessen


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


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

Reply via email to