org.apache.maven.plugins.site
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, stagingDirectory
outputDirectory
artifactFactory, artifactResolver, assembler, attributes, generatedSiteDirectory, moduleExcludes, reports, repositories, siteRenderer
i18n, 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 java.lang.String |
getStagingSiteURL(org.apache.maven.project.MavenProject currentProject,
java.util.List reactorProjects,
java.lang.String usersStagingSiteURL)
Find the URL where staging will take place.
|
getStagingDirectory, getStructure, getTopLevelProject
categoriseReports, createSiteRenderingContext, filterReports, locateDocuments, locateReports
getInputEncoding, getOutputEncoding, populateReportItems, toRelative
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class SiteStageMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Mojo.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.Contextualizable
org.codehaus.plexus.context.ContextException
protected java.lang.String getStagingSiteURL(org.apache.maven.project.MavenProject currentProject, java.util.List reactorProjects, java.lang.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.