On Tue, May 17, 2016 at 11:29 AM Adam Mitchell <[email protected]>
wrote:

> -U is force update, it tells maven to ignore locally cached artifacts and
> to download them afresh, what behaviour were you expecting?
>

-U stands for "update-snapshots" and aims at downloading only "missing
releases" (and "updated snapshots", of course).

$ mvn -h

usage: mvn [options] [<goal(s)>] [<phase(s)>]

Options:
[…]
 -U,--update-snapshots                  Forces a check for missing
                                        releases and updated snapshots on
                                        remote repositories
$ mvn -v
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T17:41:47+01:00)
Maven home: /mnt/ssd/tbr/tools/maven
Java version: 1.8.0_91, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: fr_FR, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-22-generic", arch: "amd64", family: "unix"

Reply via email to