Life-cycle and Phases

This lesson explains the lifecycle in the context of Maven. We also discuss phases that make up a lifecycle.

We'll cover the following

Build lifecycle

Maven supports the concept of a build lifecycle which can be loosely defined as an ordered set of actions Maven takes for building and distributing a particular artifact or project.

A build life cycle consists of build phases where each phase has plugin goals attached to it. The plugin goals are executed when the phase executes as part of the life cycle.

Get hands-on with 1200+ tech skills courses.