capint
5/25/2016 - 9:38 AM

Maven >> Phases of the maven default lifecycle

Maven >> Phases of the maven default lifecycle

validate
generate-sources
process-sources
generate-resources
process-resources
compile
process-classes
generate-test-sources
process-test-sources
generate-test-resources
process-test-resources
test-compile
test
prepare-package (maven 2.1+)
package
pre-integration-test
integration-test
post-integration-test
verify
install
deploy
>> If we call a particular phase via a maven command, such as "mvn compile", 
all phases up to and including that phase will be executed
>> Based on the packaging of a project (jar, war, ear, etc), different maven 
goals will be bound to different phases of the maven lifecycle