@Mojo(name="stage", requiresDependencyResolution=TEST) public class SiteStageMojo extends AbstractStagingMojo
<distributionManagement> section of the
POM.
It can be used to test that links between module sites in a multi-module build work.
This goal requires the site to already have been generated using the site goal,
such as by calling mvn site.
DEFAULT_STAGING_DIRECTORY, topSiteURLmavenSessioni18n, localRepository, project, reactorProjects, siteTool, skip| Constructor and Description |
|---|
SiteStageMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected Site |
determineDeploySite() |
void |
execute() |
protected File |
getExecutionRootBuildDirectory()
Find the build directory of the execution root project in the reactor.
|
protected boolean |
isDeploy()
Detect if the mojo is staging or deploying.
|
determineTopDistributionManagementSiteUrlappendSlash, contextualize, getDeployModuleDirectory, getDeploySite, getProxyInfo, getSite, getTopDistributionManagementSiteUrl, getTopLevelProjectgetLocales, getMavenVersion, isMaven3OrMoregetLog, getPluginContext, setLog, setPluginContextpublic void execute()
throws MojoExecutionException
AbstractDeployMojoexecute in interface Mojoexecute in class AbstractDeployMojoMojoExecutionExceptionprotected boolean isDeploy()
AbstractDeployMojoisDeploy in class AbstractDeployMojotrue if the mojo is for deploy and not staging (local or deploy)protected Site determineDeploySite() throws MojoExecutionException
determineDeploySite in class AbstractDeployMojoMojoExecutionExceptionprotected File getExecutionRootBuildDirectory()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.