You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by J Aaron Farr <fa...@apache.org> on 2003/10/31 19:46:15 UTC
maven snapshot-version file
Hello.
Just wanted to clarify some things on snapshot versioning.
It looks like deploying a snapshot results in three files being created and
deployed:
1. the actual artifact snapshot. e.g.: myproject-20031030-120000.jar
2. an artifact link.
e.g.: myproject-SNAPSHOT.jar --> myproject-20031030-120000.jar
3. a snapshot-version file which contains the current version number
e.g.: myproject-snapshot-version
Is this correct?
So when maven goes to download a snapshot, does it use the snapshot-version file
or just the link?
---
jaaron <http://jadetower.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: maven snapshot-version file
Posted by Jason van Zyl <jv...@maven.org>.
On Fri, 2003-10-31 at 13:46, J Aaron Farr wrote:
> Hello.
>
> Just wanted to clarify some things on snapshot versioning.
>
> It looks like deploying a snapshot results in three files being created and
> deployed:
>
> 1. the actual artifact snapshot. e.g.: myproject-20031030-120000.jar
> 2. an artifact link.
> e.g.: myproject-SNAPSHOT.jar --> myproject-20031030-120000.jar
> 3. a snapshot-version file which contains the current version number
> e.g.: myproject-snapshot-version
>
> Is this correct?
>
> So when maven goes to download a snapshot, does it use the snapshot-version file
> or just the link?
It simply tries to download myproject-SNAPSHOT.jar.
You can specify a timestamped version in your POM if you wish. The
snapshot-version file is used by tools like the release plugin to
convert snapshots to timestamped versions during a release.
> ---
> jaaron <http://jadetower.org>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
--
jvz.
Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org
In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
-- Jacques Ellul, The Technological Society
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org