0Pricing
Java Academy · Lesson

Maven Plugins and Goals

Customize the build.

Maven Plugins and Goals

Maven itself does almost nothing — all real work is done by plugins. A plugin contributes goals, and goals are bound to lifecycle phases. This lesson shows how plugins customize a build.

Plugins vs Goals

A plugin is a packaged collection of related capabilities. A goal is one specific task within a plugin. For example the Compiler Plugin provides the compile and testCompile goals.

All lessons in this course

  1. Maven Project Structure
  2. Maven Plugins and Goals
  3. Gradle Basics
  4. Choosing a Build Tool
← Back to Java Academy