Maven: Common commands and life cycle

Maven commands

Compile – test – package – Install

Maven directive life cycle

  • Clean Lifecycle
  • Default Lifecycle
  • Lifecycle (not often used)

The default life cycle is sequential, with the last executing and the first definitely executing

Maven relies on scope management

The JAR packages we rely on are part of our Maven project lifecycle

The dependency ranges are as follows:

compile, provided, runtime, test, system

scope

Classification: [maven]