Class AbstractStagingMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.site.AbstractSiteMojo
org.apache.maven.plugins.site.deploy.AbstractDeployMojo
org.apache.maven.plugins.site.deploy.AbstractStagingMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
SiteStageDeployMojo,SiteStageMojo
Abstract base class for staging mojos.
- Since:
- 3.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringThe String "staging/".protected StringTop distribution management site url, for manual configuration when auto-calculated value doesn't match expectations.Fields inherited from class org.apache.maven.plugins.site.deploy.AbstractDeployMojo
mavenSession, settingsDecrypterFields inherited from class org.apache.maven.plugins.site.AbstractSiteMojo
i18n, project, siteTool, skipFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringBy default, staging mojos will get their top distribution management site url by getting top parent with the same site, which is a good heuristics.Methods inherited from class org.apache.maven.plugins.site.deploy.AbstractDeployMojo
appendSlash, determineDeploySite, execute, getAuthenticationInfo, getDeployModuleDirectory, getDeploySite, getSite, getTopDistributionManagementSiteUrl, getTopLevelProject, isDeployMethods inherited from class org.apache.maven.plugins.site.AbstractSiteMojo
getLocalesMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
topSiteURL
Top distribution management site url, for manual configuration when auto-calculated value doesn't match expectations. Relative module directory will be calculated from this url.- Since:
- 3.3
-
DEFAULT_STAGING_DIRECTORY
The String "staging/".- See Also:
-
-
Constructor Details
-
AbstractStagingMojo
public AbstractStagingMojo()
-
-
Method Details
-
determineTopDistributionManagementSiteUrl
protected String determineTopDistributionManagementSiteUrl() throws org.apache.maven.plugin.MojoExecutionExceptionBy default, staging mojos will get their top distribution management site url by getting top parent with the same site, which is a good heuristics. But in case the default value doesn't match expectations,topSiteURLcan be configured: it will be used instead.- Specified by:
determineTopDistributionManagementSiteUrlin classAbstractDeployMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-