What does mvn install in maven exactly do

前端 未结 8 471
离开以前
离开以前 2020-12-04 06:37

I just started using Maven and I was told to do mvn install in a specific directory.

What does mvn install do, exactly?

I think i

相关标签:
8条回答
  • 2020-12-04 07:23

    Short answer

    mvn install

    • adds all artifact (dependencies) specified in pom, to the local repository (from remote sources).
    0 讨论(0)
  • 2020-12-04 07:25

    It will run all goals of all configured plugins associated with any phase of the default lifecycle up to the "install" phase:

    https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference

    0 讨论(0)
提交回复
热议问题