@Mojo(name="stage-deploy",
requiresDependencyResolution=TEST)
public class SiteStageDeployMojo
extends AbstractStagingMojo
<distributionManagement> section of the
POM, using wagon supported protocolsDEFAULT_STAGING_DIRECTORY, topSiteURLmavenSessioni18n, project, siteTool, skip| Constructor and Description |
|---|
SiteStageDeployMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.maven.model.Site |
determineDeploySite() |
protected String |
determineTopDistributionManagementSiteUrl()
If
stagingSiteURL is configured, top most parent with same staging site url
will be used. |
protected boolean |
isDeploy()
Detect if the mojo is staging or deploying.
|
appendSlash, contextualize, execute, getDeployModuleDirectory, getDeploySite, getProxyInfo, getSite, getTopDistributionManagementSiteUrl, getTopLevelProjectgetLocalesprotected boolean isDeploy()
AbstractDeployMojoisDeploy in class AbstractDeployMojotrue if the mojo is for deploy and not staging (local or deploy)protected String determineTopDistributionManagementSiteUrl() throws org.apache.maven.plugin.MojoExecutionException
stagingSiteURL is configured, top most parent with same staging site url
will be used.determineTopDistributionManagementSiteUrl in class AbstractStagingMojoorg.apache.maven.plugin.MojoExecutionExceptionprotected org.apache.maven.model.Site determineDeploySite()
throws org.apache.maven.plugin.MojoExecutionException
determineDeploySite in class AbstractDeployMojoorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2002–2023 The Apache Software Foundation. All rights reserved.