1.

What are Maven plugins used for? What are the types of Maven plugins?

Answer»

MAVEN Plugins are used for:

  • Creating JAR files.
  • Creating WAR files.
  • Compiling the SOURCE code files.
  • Unit TESTING of the code.
  • Creating the project documentation.
  • Creating project reports.

Maven plugins are DIVIDED into two categories:

  • Build plugins:  These plugins are used throughout the build process and are configured in the pom.xml file's <build/> element.
  • Reporting plugins: These plugins are configured in the pom.xml's <reporting/> element and run during stage GENERATION.


Discussion

No Comment Found