0 votes
in Maven - Coalescing Pipeline by
What are the different phases of a Maven Build Lifecycle?

1 Answer

0 votes
by

Following are the phases of Maven build lifecycle -

  • validate - validate the project and check if everything is correct and all necessary information is available.
  • Instructor-led SessionsReal-life Case StudiesAssignmentsLifetime Access
  • compile - this phase compiles the source code of your project.
  • test - tests the compiled source code by using a suitable unit testing framework. These tests should not require the code to be packaged or deployed
  • package - takes the compiled code and packages it in its distributable format.
  • integration-test - processes and deploys the package if possible into an environment where integration tests can be run.
  • verify - runs any checks to verify the package is valid and meets the required quality criteria.
  • install - installation of the package into the local repository. This is done to use it as a dependency in other projects locally.
  • deploy - done in an integration environment or release environment. Here the final package is copied to the remote repository for sharing with other developers and projects.

Related questions

0 votes
asked Apr 6, 2021 in Maven - Coalescing Pipeline by SakshiSharma
0 votes
asked Apr 6, 2021 in Maven - Coalescing Pipeline by SakshiSharma
...