The install plugin updates your local repo and not the remote ones. You
should use the deploy plugin if you want.

Jeff


On Jan 26, 2008 6:11 PM, DCVer <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> Why Maven doesn't update snapshot dependencies, although all of my
> repositories have defined update policy to always? I try adding -U while
> building, but it looks, like only Maven plugins are updated - snapshots
> not.
>
> I have added new class to one of the dependency jar, installed the jar
> with
> mvn install on the remote repository (from where my snapshots are
> downloaded). So the jar has definitely changed, but Maven hasn't updated
> my
> local repository...
>
> I was thinking a lot, but haven't found any solution. How Maven decides
> whether to update or not the snapshot jar? If it compares dates, what if
> the
> remote repository has earlier hour (other time region), as it is in my
> situation?
>
> Hope there is simple solution for that...
> --
> View this message in context:
> http://www.nabble.com/Snapshots-aren%27t-updated%21-tp15110146s177p15110146.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]
>
>


-- 
La mélancolie c'est communiste
Tout le monde y a droit de temps en temps
La mélancolie n'est pas capitaliste
C'est même gratuit pour les perdants
La mélancolie c'est pacifiste
On ne lui rentre jamais dedans
La mélancolie oh tu sais ça existe
Elle se prend même avec des gants
La mélancolie c'est pour les syndicalistes
Il faut juste sa carte de permanent

Miossec (2006)

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com

Reply via email to