====Eclipse======
Maven Clean
Run as -> Maven Build – clean (mvn clean) -. Deletes traget dir
Maven Build… – compile (mvn compile) – Creates class files
Maven Build… – test-compile
Maven Build… – test
Maven Install -> creates jar
Maven Build… – install (jar or war will be created)
======mvn cmd========
mvn clean
mvn compile
mvn test-compile
mvn test
mvn install -> jar file
====================
Maven Build cycle (command)
validate
compile (validate, compile)
test (validate, compile)
package
integration-test
verify
install (validate, compile, test, package, integration-test,verify,install)
deploy (all the above)
clean