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
Short answer
mvn install
- adds all artifact (dependencies) specified in pom, to the local repository (from remote sources).
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