Question: Configure Maven to execute the Build lifecyle phases in sequential order. Configure each of the Build lifecycle phases to print the respective message during each
Configure Maven to execute the Build lifecyle phases in sequential order.
Configure each of the Build lifecycle phases to print the respective message during each phase execution
$mvn validate -> Executing the VALIDATE phase of Build lifecycle for Artifact ID :
$mvn compile -> Executing the COMPILE phase of Build lifecycle for Artifact ID :
$mvn test -> Executing the TEST phase of Build lifecycle for Artifact ID :
$mvn package -> Executing the PACKAGE phase of Build lifecycle for Artifact ID :
$mvn install -> Executing the INSTALL phase of Build lifecycle for Artifact ID :
Note:
General Instructions
1. Select 'Run -> Install' to install Maven
2. Select 'Run -> Run' to execute maven install phase
2. Select 'Run -> Test' to execute test cases and view the test results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
