• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in DevOps by
Q:
What are Plugins In Maven?

1 Answer

0 votes
by

Most of Maven's functionality is in plugins. A plugin provides a set of goals that can be

executed using the following syntax:

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

For example, a Java project can be compiled with the compiler-plugin's compile-goal by

running mvn compiler:compile . There are Maven plugins for building, testing, source

control management, running a web server, generating Eclipse project files, and much

more. Plugins are introduced and configured in a <plugins>-section of a pom.xml file.

Some basic plugins are included in every project by default, and they have sensible default

settings.

Related questions

+1 vote
asked Aug 6, 2020 in Maven by Robindeniel
+1 vote
0 votes
asked Nov 12, 2019 in DevOps by Robindeniel
...