@Mojo(name="effective-site", requiresReports=true) public class EffectiveSiteMojo extends AbstractSiteRenderingMojo
site.xml.| 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.
|
generatedSiteDirectory, mavenSession, reports, siteRendereri18n, locales, localRepository, project, reactorProjects, siteDirectory, siteTool| 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) |
categoriseReports, contextualize, createSiteRenderingContext, getReports, locateDocuments, locateReports, populateReportItemsgetInputEncoding, getMavenVersion, getOutputEncoding, 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–2014 The Apache Software Foundation. All rights reserved.