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]

Reply via email to