org.apache.maven.plugins.site
Class SiteStageDeployMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.site.AbstractSiteMojo
org.apache.maven.plugins.site.AbstractDeployMojo
org.apache.maven.plugins.site.AbstractStagingMojo
org.apache.maven.plugins.site.SiteStageDeployMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
@Mojo(name="stage-deploy",
requiresDependencyResolution=TEST)
public class SiteStageDeployMojo- extends AbstractStagingMojo
Deploys the generated site to a staging or mock URL to the site URL
specified in the <distributionManagement> section of the
POM, using wagon supported protocols
- Version:
- $Id: SiteStageDeployMojo.java 1480813 2013-05-09 22:21:37Z hboutemy $
- Author:
- Vincent Siveton
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SiteStageDeployMojo
public SiteStageDeployMojo()
isDeploy
protected boolean isDeploy()
- Description copied from class:
AbstractDeployMojo
- Detect if the mojo is staging or deploying.
- Specified by:
isDeploy in class AbstractDeployMojo
- Returns:
true if the mojo is for deploy and not staging (local or deploy)
determineTopDistributionManagementSiteUrl
protected String determineTopDistributionManagementSiteUrl()
throws org.apache.maven.plugin.MojoExecutionException
- If
stagingSiteURL is configured, top most parent with same staging site url
will be used.
- Overrides:
determineTopDistributionManagementSiteUrl in class AbstractStagingMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
determineDeploySite
protected org.apache.maven.model.Site determineDeploySite()
throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
determineDeploySite in class AbstractDeployMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.