Plugins

Figure 556. Plugin architecture Slide presentation Create comment in forum
  • Tiny core

  • Plugin extensible

Hint: mvn help:effective-pom lists included plugins.


Figure 557. Sample plugins Slide presentation Create comment in forum
  • Testing: maven-surefire-plugin

  • Library dependencies: maven-dependency-plugin

  • Packaging: maven-jar-plugin

  • Documentation: maven-javadoc-plugin


Figure 558. Example: The maven-javadoc-plugin Slide presentation Create comment in forum
first> jar -tf ~/.m2/repository/org/apache/maven/plugins/\
        maven-javadoc-plugin/3.0.0/maven-javadoc-plugin-3.0.0.jar
...
META-INF/LICENSE
META-INF/maven/org.apache.maven.plugins/maven-javadoc-plugin/plugin-help.xml
javadoc-report.properties
META-INF/maven/plugin.xml
log4j.properties
META-INF/NOTICE
org/apache/maven/plugins/javadoc/AbstractFixJavadocMojo$JavaEntityTags.class
org/apache/maven/plugins/javadoc/AggregatorTestJavadocReport.class
...