Maven 使用 -U 参数强制获取最新版本的依赖库
Maven About 399 words-U
强制刷新不存在的release
版本,强制更新远程仓库中的snapshot
版本。
PS C:\Users\fendoudebb> mvn --help
usage: mvn [options] [<goal(s)>] [<phase(s)>]
Options:
-U,--update-snapshots Forces a check for missing
releases and updated snapshots on
remote repositories
示例
mvn -U clean package -Dmaven.skip.test=true
Views: 2,218 · Posted: 2023-04-02
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓

Loading...