public abstract class AbstractSiteMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected org.codehaus.plexus.i18n.I18N |
i18n
Internationalization.
|
protected String |
locales
A comma separated list of locales supported by Maven.
|
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
The local repository.
|
protected org.apache.maven.project.MavenProject |
project
The maven project.
|
protected List<org.apache.maven.project.MavenProject> |
reactorProjects
The reactor projects.
|
protected File |
siteDirectory
Directory containing the site.xml file and the source for apt, fml and xdoc docs.
|
protected org.apache.maven.doxia.tools.SiteTool |
siteTool
SiteTool.
|
Constructor and Description |
---|
AbstractSiteMojo() |
Modifier and Type | Method and Description |
---|---|
protected String |
getInputEncoding()
Gets the input files encoding.
|
protected static String |
getMavenVersion() |
protected String |
getOutputEncoding()
Gets the effective reporting output files encoding.
|
protected static boolean |
isMaven3OrMore()
Check the current Maven version to see if it's Maven 3.0 or newer.
|
getLog, getPluginContext, setLog, setPluginContext
@Parameter(property="locales") protected String locales
@Component protected org.apache.maven.doxia.tools.SiteTool siteTool
@Component protected org.codehaus.plexus.i18n.I18N i18n
@Parameter(defaultValue="${basedir}/src/site") protected File siteDirectory
@Component protected org.apache.maven.project.MavenProject project
@Parameter(defaultValue="${localRepository}", readonly=true) protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
@Parameter(defaultValue="${reactorProjects}", required=true, readonly=true) protected List<org.apache.maven.project.MavenProject> reactorProjects
protected String getInputEncoding()
null
.protected String getOutputEncoding()
null
.protected static boolean isMaven3OrMore()
protected static String getMavenVersion()
Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.