github/maven-plugins — Issue #6: Consider renaming site goal to be site-deploy goal
Author: awhitford
Created: 2011-10-23 07:42:31+00:00
State: open

Presently, the SiteMojo is linked to the **site** phase, but it is really acting much more like site-deploy.

Please see the Maven Build Lifecycle: http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference

One should be able to build the site locally, and not run the risk of uploading it. If one wants to upload the site, the user can say: mvn site:deploy.

I recommend not only changing the @phase from site to site-deploy, but also renaming the Mojo to SiteDeployMojo and changing the goal to be site-deploy.

Please also document the recommendation for distributionManagement/site in a project's pom.