We are using a horrible tool called MKS Source Integrity. Believe you me -- I have opined for SVN many times.
Building an SCM plugin is not gonna happen soon enough to solve our needs. So, unless someone on the list has any other insight, it appears the only way for a team/developer to do a release of a module is to manually edit <version> FROM: <version>1.0-SNAPSHOT</version> TO: <version>1.3</version> C:\myproject>mvn deploy Then, manually change it back or ensure that the pom.xml does not get checked in with 1.3. I want to have 1.0-SNAPSHOT checked into version control, so our nightly build will do the following: 1) suck out the latest from this MKS thing 2) do a deploy (to the snapshot repo) 3) run all integration tests On 5/16/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
I'd install SVN. ;-) No really, I'm not aware of any way to utilize the release plugin without an SCM. So you'll probably need to build an SCM plugin for your specific SCM tool and integrate it into M2 to properly use the release plugin. Or write a new plugin that works similar to release but does not do the SCM steps first. What are you using, if not CVS or SVN? Starteam? Clear <something>? Wayne On 5/16/06, Davis Ford <[EMAIL PROTECTED]> wrote: > Hi Wayne, > > I looked at mvn release, but it seems tied to SCM system. > Unfortunately, we don't use svn or cvs -- and I have no clue how to > integrate it with the thing we are using (I really wish we were using > svn). > > Is there a simple example of using "mvn release" that does not depend > on the scm system? > > Thx, > Davis > > On 5/16/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > You're looking for "mvn release" not deploy. Release will update the > > <version> tags and install the artifact properly in the specified > > repositories. > > > > However its a little more complex than simply "mvn release" so check > > out the m2 book (better builds with maven), the user list archive, the > > maven website, etc for details. > > > > Wayne > > > > On 5/16/06, Davis Ford <[EMAIL PROTECTED]> wrote: > > > Hi, if I have pom.xml for a project that has > > > > > > <version>1.0-SNAPSHOT</version> > > > > > > and I do: > > > > > > mvn deploy > > > > > > It sends up a release with the timestamp in the 1.0-SNAPSHOT/ dir. > > > > > > However, what if a developer wants to do a release, not a snapshot? > > > > > > If I try > > > > > > mvn -Dversion=1.2 deploy > > > > > > It uploads a new SNAPSHOT with a timestamp into the 1.0-SNAPSHOT dir. > > > > > > Is there some way to override this? > > > > > > --------------------------------------------------------------------- > > > 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] > > > > > > > -- > Zeno Consulting, Inc. > (248) 894-4922 (p) > (206) 202-4077 (f) > > --------------------------------------------------------------------- > 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]
-- Zeno Consulting, Inc. (248) 894-4922 (p) (206) 202-4077 (f) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
