Maven Site Plugin is a very useful mechanism used to generate some basic information, such as the Javadoc, project and module descriptions, dependencies, and management tools, for the project.
Maven Site Plugin provides a fine-grained way to customize the final outcome using the APT language. In this section, we will learn how to produce a basic site, grabbing information from the
pom.xml file and the source code of our project and avoiding extra documentation. In the last paragraph, we will customize a module to provide more information.
To create a site easily, we first choose a directory for a sample project using the following archetype:
$ mvn archetype:create -DgroupId=org.sonatype.mavenbook -DartifactId=sample-project ...