Question: what are build phases in maven?
Answer: validate: check if all information necessary for the build is available.
compile: compile the source code.
test-compile: compile the test source code.
test: run unit tests.
package: package compiled source code into the distributable format (jar, war, …)