8.6. Checking the Site by Deploying it Locally

To check any changes to the site it is necessary to build and deploy it locally.

8.6.1. Prerequisites

See Appendix A, Deployment Prerequisites, which describes prerequisite configuration needed prior to performing any deployment.

8.6.2. Performing the Local Deploy

To build a site and deploy it locally, use:

mvn site-deploy -D dist=local

The generated site can be browsed by navigating to the location specified in the corporate POM, namely /tmp/m2-sites/${distMgmtArtifactId}. For example, Star Objects' own site is deployed to /tmp/m2-sites/starobjects.

The screenshot below shows what a typical generated site looks like: