You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by bhanujirao <du...@gmail.com> on 2008/04/30 00:19:28 UTC
issue with snapshot getting old jar..
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..-tp16971766s177p16971766.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: issue with snapshot getting old jar..
Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
-SNAPSHOT is a required part of the name for it to work.
-----Original Message-----
From: Wayne Fay [mailto:waynefay@gmail.com]
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 <du...@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: issue with snapshot getting old jar..
Posted by Wayne Fay <wa...@gmail.com>.
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 <du...@gmail.com> 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..-tp16971766s177p16971766.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org