Maven build life cycle

Below are maven build phrases.

validate – checks if the project is correct and all information is available.
clean: deletes all artifacts and targets folder which are created already.
compile: used to compile the source code of the project.
test: test the compiled code and these tests do not require to be packaged or deployed.
package: package is used to convert your project into a jar or war etc.
install: install the package into the local repository for use of another project.

integration-test – It takes the packaged result and executes additional tests, which require the packaging