@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.
DEFAULT_STAGING_DIRECTORY, mavenSession
i18n, locales, localRepository, project, reactorProjects, siteDirectory, siteTool
Constructor and Description |
---|
SiteDeployMojo() |
Modifier and Type | Method and Description |
---|---|
String |
getDeployRepositoryID()
Specifies the id to look up credential settings.
|
String |
getDeployRepositoryURL()
Specifies the target URL for the deploy.
|
appendSlash, contextualize, execute, getDeployModuleDirectory, getProxyInfo, getRootSite, getSite, getTopLevelBuildDirectory, isDeploy
getInputEncoding, getMavenVersion, getOutputEncoding, isMaven3OrMore
public String getDeployRepositoryID() throws org.apache.maven.plugin.MojoExecutionException
AbstractDeployMojo
getDeployRepositoryID
in class AbstractDeployMojo
org.apache.maven.plugin.MojoExecutionException
- if the ID cannot be determinedpublic String getDeployRepositoryURL() throws org.apache.maven.plugin.MojoExecutionException
AbstractDeployMojo
getDeployRepositoryURL
in class AbstractDeployMojo
org.apache.maven.plugin.MojoExecutionException
- if the URL cannot be constructedCopyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.