maven: what does ` -U,--update-snapshots` really do?

前端 未结 3 1922
深忆病人
深忆病人 2021-02-05 09:09

In the command line help, I see that maven \"checks\" for updates:

-U,--update-snapshots                  Forces a check for updated
                                     


        
3条回答
  •  难免孤独
    2021-02-05 09:23

    It's important to add that executing mvn -U will override your local SNAPSHOT jars with remote SNAPSHOT jars.

    Without -U argument, local SNAPSHOTS won't be override.

提交回复
热议问题