03 January 2021

Maven Lifecycle

  • prepare-resources -Resource copying can be customized in this phase.
  • validate - Validates if the project is correct and if all necessary information is available.
  • compile - Source code compilation is done in this phase.
  • Test - Tests the compiled source code suitable for testing framework.
  • package - This phase creates the JAR/WAR package as mentioned in the packaging in POM.xml.
  • install - This phase installs the package in local/remote maven repository.
  • Deploy - Copies the final package to the remote repository.

No comments:

Post a Comment

Most views on this month