@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, project, siteTool, skip| Constructor and Description |
|---|
SiteStageMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.maven.model.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, getAuthenticationInfo, getDeployModuleDirectory, getDeploySite, getSite, getTopDistributionManagementSiteUrl, getTopLevelProjectgetLocalespublic 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 AbstractDeployMojotrue if the mojo is for deploy and not staging (local or deploy)protected org.apache.maven.model.Site determineDeploySite()
throws org.apache.maven.plugin.MojoExecutionException
determineDeploySite in class AbstractDeployMojoorg.apache.maven.plugin.MojoExecutionExceptionprotected File getExecutionRootBuildDirectory()
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.