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]

Reply via email to