Quite new in maven. By reading document of maven at official website, I know in the default lifeCycle, there are 21 phases including validate
, initialize
, 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
, package
, pre-integration-test
, integration-test
, post-integration-test
, verify
, install
and deploy
.
But when I see Built-in Lifecycle Bindings, I found that there is no plugin goals binding to phases like validate
, initialize
, verify
, etc.
So if I run command mvn package
, are phases without plugin goals going to be executed?
Or plugins goals for these phases are fixed and we do not have control of them so there is no need to write them in the document. Every time these phases like validate
, initialize
, verify
, etc. will be executed automatically.