mvn -U forces Maven to check for updates.

But lib1.jar is not a snapshot, so Maven will not look for updates to
it. Only if the name was lib1-SNAPSHOT.jar. Things that don't have
SNAPSHOT in the name are considered "final" and immutable, thus Maven
will never look for updates to those files as they cannot exist (if
you are doing things right).

Wayne

On 4/1/08, Stanley Lee <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Assume project A depends on lib1.jar. When I build project A, first time it
> will go to get the latest lib1.jar. After that, it only tries so if last
> check was 1 day ago or more.
>
> Is there any way to force the build to check out latest lib1.jar?
>
> I saw mvn command line has an option --update-snapshots, and tried it.
> However, on screen, I don't see any hint that Maven try to connect to
> repository and pull the latest lib1.jar.
>
> Your help is highly appreciated!
>
> Stan
>

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

Reply via email to