-SNAPSHOT is a required part of the name for it to work.

-----Original Message-----
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 29, 2008 8:15 PM
To: Maven Users List
Subject: Re: issue with snapshot getting old jar..

I believe the file must be named #.#.#-SNAPSHOT.jar for it to be
considered a snapshot version of an artifact.

Otherwise the ".snapshot" will be considered just another alphanumeric
tag in the version and you won't get proper snapshot handling etc.

Give it a try and report back. I could be wrong -- I've never tried
#.#.#.snapshot.jar, so I don't know how it is handled.

Wayne

On 4/29/08, bhanujirao <[EMAIL PROTECTED]> wrote:
>
> Guys,
> i have an issue with one of the jar is not getting the latest
snapshot.. the
> issue is we are uploading
> the 1.0.1.snapshot.jar to tomcat/webapps/repository directory.
basically
> they upload the new jar
> everytime with the same snapshot  1.0.1.snapshot.jar
> But some how it is getting the old jar (1.0.1.snapshot.jar) which was
in
> .m2/repository..directory.
> is there anyway we can say that .m2 has to  have the latest that was
in
> tomcat/webapps/repository
>
> this works if we delete snapshot folder .m2/repositry... any
suggestions
> would be appreciated.
>
> Thanks
> Venkat
> --
> View this message in context:
http://www.nabble.com/issue-with-snapshot-getting-old-jar..-tp16971766s1
77p16971766.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to