@Mojo(name="deploy") public class SiteDeployMojo extends AbstractDeployMojo
<distributionManagement> section of the POM.
For scp protocol, the website files are packaged by wagon into zip archive,
then the archive is transfered to the remote host, next it is un-archived which is much faster
than making a file by file copy.
mavenSessioni18n, project, siteTool, skip| Constructor and Description |
|---|
SiteDeployMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.maven.model.Site |
determineDeploySite()
Deploy directly to the current project's distribution management site.
|
protected String |
determineTopDistributionManagementSiteUrl()
Deploy distribution site url is directly the current project value.
|
protected boolean |
isDeploy()
Detect if the mojo is staging or deploying.
|
appendSlash, execute, getAuthenticationInfo, getDeployModuleDirectory, getDeploySite, 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
determineTopDistributionManagementSiteUrl in class AbstractDeployMojoorg.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–2024 The Apache Software Foundation. All rights reserved.