@Mojo(name="effective-site", requiresReports=true) public class EffectiveSiteMojo extends AbstractSiteDescriptorMojo
site.xml, for the first locale.| Modifier and Type | Field and Description |
|---|---|
protected File |
output
Optional parameter to write the output of this help in a given file, instead of writing to the console.
|
repositories, siteDirectoryi18n, localRepository, project, reactorProjects, siteTool, skip| Constructor and Description |
|---|
EffectiveSiteMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected static void |
writeComment(XMLWriter writer,
String comment)
Write comments in a normalize way.
|
protected static void |
writeHeader(XMLWriter writer)
Write comments in the Effective POM/settings header.
|
protected static void |
writeXmlFile(File output,
String content) |
prepareDecorationModelgetLocales, getMavenVersion, isMaven3OrMoregetLog, getPluginContext, setLog, setPluginContext@Parameter(property="output") protected File output
public void execute()
throws MojoExecutionException,
MojoFailureException
protected static void writeHeader(XMLWriter writer)
writer - not nullprotected static void writeComment(XMLWriter writer, String comment)
writer - not nullcomment - not nullprotected static void writeXmlFile(File output, String content) throws IOException
IOExceptionCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.