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

前端 未结 3 1872
深忆病人
深忆病人 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:28

    when you will get https://repo.spring.io/milestone was cached in the local repository, resolution will not be reattempted until the update interval of spring-milestones has elapsed or updates are forced

    in that case you have to use mvn clean package -U

提交回复
热议问题