Package org.apache.maven.plugins.pdf
Class PdfAggregateMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.maven.plugins.pdf.AbstractPdfMojo
-
- org.apache.maven.plugins.pdf.PdfMojo
-
- org.apache.maven.plugins.pdf.PdfAggregateMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
,org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
@Mojo(name="aggregate", aggregator=true, requiresDependencyResolution=TEST, threadSafe=true) @Execute(goal="pdf") public class PdfAggregateMojo extends PdfMojo
Forkspdf
goal then aggregates PDF content from all modules in the reactor.- Since:
- 1.5
- Author:
- anthony-beurive
-
-
Constructor Summary
Constructors Constructor Description PdfAggregateMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
appendGeneratedReports(org.apache.maven.doxia.document.DocumentModel model, Locale locale)
Append generated reports to the toc only ifgenerateReports
is enabled, for instance:protected File
getOutputDirectory()
protected File
getWorkingDirectory()
protected boolean
isIncludeReports()
protected void
prepareTempSiteDirectory(File tmpSiteDir)
Copy all site and generated-site files in the tmpSiteDirectory.-
Methods inherited from class org.apache.maven.plugins.pdf.PdfMojo
contextualize, execute, getReports
-
Methods inherited from class org.apache.maven.plugins.pdf.AbstractPdfMojo
getSiteDirectoryTmp
-
-
-
-
Method Detail
-
getOutputDirectory
protected File getOutputDirectory()
- Overrides:
getOutputDirectory
in classPdfMojo
-
getWorkingDirectory
protected File getWorkingDirectory()
- Overrides:
getWorkingDirectory
in classPdfMojo
-
isIncludeReports
protected boolean isIncludeReports()
- Overrides:
isIncludeReports
in classPdfMojo
-
prepareTempSiteDirectory
protected void prepareTempSiteDirectory(File tmpSiteDir)
Description copied from class:PdfMojo
Copy all site and generated-site files in the tmpSiteDirectory.
Note: ignore copying ofgenerated-site
files if they already exist in thesite
dir.- Overrides:
prepareTempSiteDirectory
in classPdfMojo
- Parameters:
tmpSiteDir
- not null
-
appendGeneratedReports
protected void appendGeneratedReports(org.apache.maven.doxia.document.DocumentModel model, Locale locale)
Description copied from class:PdfMojo
Append generated reports to the toc only ifgenerateReports
is enabled, for instance:<item name="Project Reports" ref="project-info"> <item name="Project License" ref="license" /> <item name="Project Team" ref="team-list" /> <item name="Continuous Integration" ref="integration" /> ... </item>
- Overrides:
appendGeneratedReports
in classPdfMojo
- Parameters:
model
- not nulllocale
- not null- See Also:
PdfMojo.generateMavenReports(Locale)
-
-