maven中clean,compile,test,package,install的用处。

1.maven clean。

清理项目的target目录

2.maven compile

编译项目

3.maven test

编译项目后,再执行Junit测试方法

4.maven package

编译项目后,再执行Junit测试方法,再把项目打包到target目录

5.maven install

编译项目后,再执行Junit测试方法,再把项目打包到target目录,再安装到本地仓库。

原文:https://blog.csdn.net/weixin_40288413/article/details/80718475

相关文章:

  • 2021-09-06
  • 2021-09-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
  • 2022-02-08
猜你喜欢
  • 2021-07-15
  • 2021-07-08
  • 2021-12-05
  • 2021-11-27
  • 2022-01-07
  • 2022-12-23
相关资源
相似解决方案