Following are the default phases of each build life cycle:
validate - checks if the project is correct and all information is available.
compile - compiles the source code in binary artifacts.
test - executes the tests.
package - takes the compiled code and packages it as, a war
or jar
or an ear
file.
integration-test - takes the packaged result and executes additional tests required for packaging.
verify - checks if the package is valid.
install - installs the result of the package phase into the local Maven repository.
deploy - deploys the package to a target, i.e. a remote repository.