@Mojo(name="effective-site") 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, siteRenderer
i18n, locales, localRepository, project, reactorProjects, siteDirectory, siteTool
Constructor and Description |
---|
EffectiveSiteMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected static void |
writeComment(org.codehaus.plexus.util.xml.XMLWriter writer,
String comment)
Write comments in a normalize way.
|
protected static void |
writeHeader(org.codehaus.plexus.util.xml.XMLWriter writer)
Write comments in the Effective POM/settings header.
|
protected static void |
writeXmlFile(File output,
String content) |
categoriseReports, contextualize, createSiteRenderingContext, getReports, locateDocuments, locateReports, populateReportItems
getInputEncoding, getMavenVersion, getOutputEncoding, isMaven3OrMore
@Parameter(property="output") protected File output
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected static void writeHeader(org.codehaus.plexus.util.xml.XMLWriter writer)
writer
- not nullprotected static void writeComment(org.codehaus.plexus.util.xml.XMLWriter writer, String comment)
writer
- not nullcomment
- not nullprotected static void writeXmlFile(File output, String content) throws IOException
IOException
Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.