Maven is a plugin execution framework, which means that plugins handle all the work. Plugins for Maven are commonly used to
make a jar file
make a war file
unit testing of code compile code files
make documentation for the project
composing project reports
A plugin usually comes with a list of goals that can be implemented using the following
mvn [plugin-name]:[goal-name]
For example, the following command can compile a Java project using the maven-compiler-compile-goal. plugin's
compiler mvn:compile
The following two types of Maven plugins are available:
|