命令 | 执行的命令 | 功能及区别 |
---|---|---|
package | resources、compile、testResources、testCompile、test、jar | 项目编译、单元测试、打包功能,但没有布署到本地maven仓库和远程maven私服仓库 |
install | resources、compile、testResources、testCompile、test、jar、install | 项目编译、单元测试、打包功能,并布署到本地仓库,但没有布署到远程仓库 |
deploy | resources、compile、testResources、testCompile、test、jar(打包)、install、deploy | 项目编译、单元测试、打包功能,并布署到本地仓库和远程仓库 |
Maven package、install、deploy的区别
最新推荐文章于 2024-05-05 13:57:09 发布