For what maven plugins are used for?

Maven is actually a plugin execution framework where every task is actually done by plugins. Maven Plugins are generally used to −

create jar file
create war file
compile code files
unit testing of code
create project documentation
create project reports
A plugin generally provides a set of goals, which can be executed using the following syntax −

mvn [plugin-name]:[goal-name]

Leave a Reply