@Mojo(name="stage",
requiresDependencyResolution=TEST)
public class SiteStageMojo
extends AbstractDeployMojo
<distributionManagement> section of the
POM.
It can be used to test that links between module sites in a multi-module build works.
DEFAULT_STAGING_DIRECTORY, mavenSessioni18n, locales, localRepository, project, reactorProjects, siteDirectory, siteTool| Constructor and Description |
|---|
SiteStageMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected String |
getDeployRepositoryID()
Specifies the id to look up credential settings.
|
protected String |
getDeployRepositoryURL()
Specifies the target URL for the deploy.
|
protected boolean |
isDeploy()
Detect if the mojo is staging or deploying.
|
appendSlash, contextualize, getDeployModuleDirectory, getProxyInfo, getRootSite, getSite, getTopLevelBuildDirectorygetInputEncoding, getMavenVersion, getOutputEncoding, isMaven3OrMoreprotected String getDeployRepositoryID() throws org.apache.maven.plugin.MojoExecutionException
AbstractDeployMojogetDeployRepositoryID in class AbstractDeployMojoorg.apache.maven.plugin.MojoExecutionException - if the ID cannot be determinedprotected String getDeployRepositoryURL() throws org.apache.maven.plugin.MojoExecutionException
AbstractDeployMojogetDeployRepositoryURL in class AbstractDeployMojoorg.apache.maven.plugin.MojoExecutionException - if the URL cannot be constructedpublic void execute()
throws org.apache.maven.plugin.MojoExecutionException
AbstractDeployMojoexecute in interface org.apache.maven.plugin.Mojoexecute in class AbstractDeployMojoorg.apache.maven.plugin.MojoExecutionExceptionprotected boolean isDeploy()
AbstractDeployMojoisDeploy in class AbstractDeployMojoCopyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.