Package org.apache.maven.plugins.pdf
Klasse PdfMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.pdf.AbstractPdfMojo
org.apache.maven.plugins.pdf.PdfMojo
- Alle implementierten Schnittstellen:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
,org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- Bekannte direkte Unterklassen:
PdfAggregateMojo
@Mojo(name="pdf",
requiresDependencyResolution=TEST,
threadSafe=true)
public class PdfMojo
extends AbstractPdfMojo
implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Generates a PDF document for a project documentation usually published as web site (with maven-site-plugin).
- Autor:
- ltheussl
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected org.apache.maven.project.MavenProject
The Maven Project Object.Von Schnittstelle geerbte Felder org.apache.maven.plugin.Mojo
ROLE
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected void
appendGeneratedReports
(org.apache.maven.doxia.document.DocumentModel model, Locale locale) Append generated reports to the toc only ifgenerateReports
is enabled, for instance:void
contextualize
(org.codehaus.plexus.context.Context context) void
execute()
protected File
protected List
<org.apache.maven.reporting.exec.MavenReportExecution> protected File
protected boolean
protected void
prepareTempSiteDirectory
(File tmpSiteDir) Copy all site and generated-site files in the tmpSiteDirectory.Von Klasse geerbte Methoden org.apache.maven.plugins.pdf.AbstractPdfMojo
getSiteDirectoryTmp
Von Klasse geerbte Methoden org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Felddetails
-
project
@Parameter(defaultValue="${project}", readonly=true, required=true) protected org.apache.maven.project.MavenProject projectThe Maven Project Object.
-
-
Konstruktordetails
-
PdfMojo
public PdfMojo()
-
-
Methodendetails
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Angegeben von:
execute
in Schnittstelleorg.apache.maven.plugin.Mojo
- Löst aus:
org.apache.maven.plugin.MojoExecutionException
-
contextualize
public void contextualize(org.codehaus.plexus.context.Context context) throws org.codehaus.plexus.context.ContextException - Angegeben von:
contextualize
in Schnittstelleorg.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
- Löst aus:
org.codehaus.plexus.context.ContextException
-
getOutputDirectory
- Angegeben von:
getOutputDirectory
in KlasseAbstractPdfMojo
-
getWorkingDirectory
- Angegeben von:
getWorkingDirectory
in KlasseAbstractPdfMojo
-
isIncludeReports
protected boolean isIncludeReports()- Angegeben von:
isIncludeReports
in KlasseAbstractPdfMojo
-
prepareTempSiteDirectory
Copy all site and generated-site files in the tmpSiteDirectory.
Note: ignore copying ofgenerated-site
files if they already exist in thesite
dir.- Angegeben von:
prepareTempSiteDirectory
in KlasseAbstractPdfMojo
- Parameter:
tmpSiteDir
- not null- Löst aus:
IOException
- if any- Seit:
- 1.1
-
appendGeneratedReports
protected void appendGeneratedReports(org.apache.maven.doxia.document.DocumentModel model, Locale locale) 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>
- Parameter:
model
- not nulllocale
- not null- Seit:
- 1.1
- Siehe auch:
-
getReports
protected List<org.apache.maven.reporting.exec.MavenReportExecution> getReports() throws org.apache.maven.plugin.MojoExecutionException- Löst aus:
org.apache.maven.plugin.MojoExecutionException
-