A Maven project site is the foundation for the end users and the developers alike. End users look to the site for user guides, API docs, and mailing list archives; and developers look to the site for design documents, reports, issue tracking, and release road-maps.
A Maven project site can consist of everything from unit test failures to code quality reports. It makes them available in a simple HTML or "website" format. HTML pages are rendered using a consistent project template.
Additionally it can be presented as a PDF as well.
Maven project sites often contain the project Javadocs and binary releases. They can be published to a remote server for distributed access.
A Maven site exists for a given Maven project. Our first step is, therefore, to create a new Maven project if we don’t have one for the site. Executing the following command in the terminal will create a sample Maven project.
$ mvn archetype:create -DgroupId=org.sonatype.mavenbook -DartifactId...