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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to