public class SiteStageDeployMojo extends SiteStageMojo implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
<distributionManagement> section of the
POM. It supports scp and file protocols for
deployment.DEFAULT_STAGING_DIRECTORY, stagingDirectoryoutputDirectoryartifactFactory, artifactResolver, assembler, attributes, generatedSiteDirectory, moduleExcludes, reports, repositories, siteRendereri18n, locales, localRepository, project, reactorProjects, siteDirectory, siteTool| Constructor and Description |
|---|
SiteStageDeployMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextualize(org.codehaus.plexus.context.Context context) |
void |
execute()
Generate the project site
throws MojoExecutionException if any
|
protected String |
getStagingSiteURL(org.apache.maven.project.MavenProject currentProject,
List reactorProjects,
String usersStagingSiteURL)
Find the URL where staging will take place.
|
getStagingDirectory, getStructure, getTopLevelProjectcategoriseReports, createSiteRenderingContext, filterReports, locateDocuments, locateReportsgetInputEncoding, getOutputEncoding, populateReportItems, toRelativepublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class SiteStageMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionMojo.execute()public void contextualize(org.codehaus.plexus.context.Context context)
throws org.codehaus.plexus.context.ContextException
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizableorg.codehaus.plexus.context.ContextExceptionprotected String getStagingSiteURL(org.apache.maven.project.MavenProject currentProject, List reactorProjects, String usersStagingSiteURL)
currentProject - The currently executing projectreactorProjects - The projects in the reactorusersStagingSiteURL - The staging site URL as suggested by the user's configurationCopyright © 2014. All rights reserved.