Difference between Maven Build and Maven install

后端 未结 3 1688
有刺的猬
有刺的猬 2021-01-03 23:12

I\'m using Maven in Eclipse and when I try to build my project I see the following options:

  1. Build
  2. Clean
  3. generated-sources
  4. Install
3条回答
  •  再見小時候
    2021-01-03 23:31

    Build is not a phase in the standard Maven life cycles, whereas install is one. mvn install
    It will invoke all the phases up to the phase install.
    It consists of compiling, packaging and installing it in the local repository.

提交回复
热议问题