public abstract class AbstractSiteMojo extends AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected I18N |
i18n
Internationalization.
|
protected String |
locales
A comma separated list of locales supported by Maven.
|
protected ArtifactRepository |
localRepository
The local repository.
|
protected MavenProject |
project
The maven project.
|
protected List<MavenProject> |
reactorProjects
The reactor projects.
|
protected File |
siteDirectory
Directory containing the site.xml file and the source for apt, fml and xdoc docs.
|
protected 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 SiteTool siteTool
@Component protected I18N i18n
@Parameter(defaultValue="${basedir}/src/site") protected File siteDirectory
@Parameter(defaultValue="${project}", readonly=true) protected MavenProject project
@Parameter(defaultValue="${localRepository}", readonly=true) protected ArtifactRepository localRepository
@Parameter(defaultValue="${reactorProjects}", required=true, readonly=true) protected List<MavenProject> reactorProjects
protected String getInputEncoding()
null
.protected String getOutputEncoding()
null
.protected static boolean isMaven3OrMore()
protected static String getMavenVersion()
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.