On Mon, Oct 6, 2008 at 6:51 PM, Marco Villalobos
<[EMAIL PROTECTED]> wrote:

> I have  a repository called Red, and a build machine called Ark.
> Naturally, when you do a build, Ark has its own local repository.
> Somebody deployed artifact widget-1.1 to Red.
> Ark already has widget-1.1 in its local repository.  But it is an older
> version.  You can tell by its date timestamp.  The version of widget-1.1
> in Red is newer, and correct.
> Is there a way to tell maven to analyze the date, and update the local
> repository with the newer version?
> We tried mvn -U, but that did not work.

A released version should never change.   If widget is under
development, its version number should be 1.1-SNAPSHOT.  Then Maven
will behave as you expect, checking for newer versions and updating
the local repository.

-- 
Wendy

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

Reply via email to