Package org.apache.maven.plugins.site
Class AbstractSiteMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.site.AbstractSiteMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
AbstractDeployMojo
,AbstractSiteDescriptorMojo
public abstract class AbstractSiteMojo
extends org.apache.maven.plugin.AbstractMojo
Base class for site mojos.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.codehaus.plexus.i18n.I18N
Internationalization.private String
A comma separated list of locales to render.protected org.apache.maven.project.MavenProject
The Maven project.protected org.apache.maven.doxia.tools.SiteTool
SiteTool.protected boolean
Set this to 'true' to skip site generation and staging.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.plugin.Mojo
execute
-
Field Details
-
locales
A comma separated list of locales to render. The first valid token will be the default Locale for this site.- Since:
- 2.3
-
skip
@Parameter(property="maven.site.skip", defaultValue="false") protected boolean skipSet this to 'true' to skip site generation and staging.- Since:
- 3.0
-
siteTool
@Component protected org.apache.maven.doxia.tools.SiteTool siteToolSiteTool. -
i18n
@Component protected org.codehaus.plexus.i18n.I18N i18nInternationalization. -
project
@Parameter(defaultValue="${project}", readonly=true) protected org.apache.maven.project.MavenProject projectThe Maven project.
-
-
Constructor Details
-
AbstractSiteMojo
public AbstractSiteMojo()
-
-
Method Details
-
getLocales
-