Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

It all starts with a project model

Image Added

The project model describes your project. Specifically it defines

Image AddedThe reactor of modules that will be built when building your project
Image AddedThe packaging of each module
Image AddedThe dependencies of each module
Image AddedAny additional plugins that are needed to build each module

Each module's packaging has an associated lifecycle

Image Added

The lifecycle defines the default plugins that are used to build a specific packaging.

The list of modules in the reactor is sorted in order to ensure that any dependencies that will be created by the reactor will be built before they are needed by other modules in the reactor

The build plan is then populated for each module using the lifecycle and the plugin information from the model

Image Added

Maven then starts executing the build plan and building your project, downloading dependencies that are not produced by the reactor.