Jason,

I have read over your doco. Here are some things I think are worth
adding (in no particular order):

*** Both goals access an external SCM system (CVS in my case), which
must be installed and on your PATH.

All the work I did on this was on a Win2000 workstation running Cygwin.
I used CVS: (CVSNT) 2.0.51d

*** The project that you are releasing must be a snapshot version.

*** The release:prepare goal creates a release.properties file that is
used by release:perform goal. This file
doesn't seem to get deleted automatically.

*** The release:perform goal checks out the source code from the SCM
system (using the tag you gave in release:prepare goal);
the source is checked out to directory target/checkout and the artifact
is built from this directory.

*** After release:perform goal has checked out the source code, it runs
M2 again (against the checked out source) with a new goal (the default
is deploy). So if you use the default goal, your distribution repository
(as specifed in <distributionManagement>) will be updated with the
project's versioned artifact.

*** release:perform goal seems to need the M2_HOME environmental
variable set.

Hope this helps,

Michael



-----Original Message-----
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Thursday, 20 October 2005 3:15 AM
To: Maven Users List
Subject: RE: [M2 RC] release:prepare release:perform now working


On Wed, 2005-10-19 at 10:47 +1000, Michael McCrann wrote:
> Hi,
> 
> The release:prepare release:perform plugin/goals are working for me in
M2 RC.
> 
> Thanks everyone who gave me help.

You can pay us back by looking this over and correcting anything :-)

http://maven.apache.org/maven2/guides/mini/guide-releasing.html

> Michael
> 
> 
> NOTICE
> This e-mail and any attachments are confidential and may contain
copyright material of Macquarie Bank or third parties. If you are not
the intended recipient of this email you should not read, print,
re-transmit, store or act in reliance on this e-mail or any attachments,
and should destroy all copies of them. Macquarie Bank does not guarantee
the integrity of any emails or any attached files. The views or opinions
expressed are the author's own and may not reflect the views or opinions
of Macquarie Bank.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

Our achievements speak for themselves. What we have to keep track
of are our failures, discouragements and doubts. We tend to forget
the past difficulties, the many false starts, and the painful
groping. We see our past achievements as the end result of a
clean forward thrust, and our present difficulties as
signs of decline and decay.

 -- Eric Hoffer, Reflections on the Human Condition


---------------------------------------------------------------------
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