Co-Authored By:

Asked by: Leandra Djabruev
technology and computing programming languagesWhat does Maven compile do?
Also asked, what does Mvn compile do?
On a mvn install , it frames a dependency tree based on the project configuration pom. xml on all the sub projects under the super pom. xml (the root POM) and downloads/compiles all the needed components in a directory called .
Also to know, what does Maven verify do?
2 Answers. mvn verify - as said before - performs any integration tests that maven finds in the project. mvn install implicitly runs mvn verify and then copies the resulting artifact into your local maven repository which you usually can find under C:Usersusername. m2 epository if you are using windows.
Maven Build Lifecycle There are three built-in life cycles: default: the main life cycle as it's responsible for project deployment. clean: to clean the project and remove all files generated by the previous build. site: to create the project's site documentation.