@Mojo(name="javadoc",
      requiresDependencyResolution=COMPILE,
      threadSafe=true)
 @Execute(phase=GENERATE_SOURCES)
public class JavadocReport
extends AbstractJavadocMojo
implements org.apache.maven.reporting.MavenMultiPageReport
Java code in an NON aggregator project using the standard
 Javadoc Tool.ARGFILE_FILE_NAME, DEBUG_JAVADOC_SCRIPT_NAME, failOnError, failOnWarnings, FILES_FILE_NAME, JAVADOC_RESOURCES_ATTACHMENT_CLASSIFIER, links, OPTIONS_FILE_NAME, outputDirectory, outputTimestamp, PACKAGES_FILE_NAME, project, session, skip, TEST_JAVADOC_RESOURCES_ATTACHMENT_CLASSIFIER, useStandardDocletOptions| Constructor and Description | 
|---|
JavadocReport()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canGenerateReport()
The logic is the following: Can-generate-report Matrix isAggregator hasSourceFiles isRootProject Generate Report True True True True True True False False True False True False True False False False False True True True False True False True False False True False False False False False  | 
void | 
doExecute() | 
void | 
generate(org.codehaus.doxia.sink.Sink sink,
        Locale locale) | 
void | 
generate(org.apache.maven.doxia.sink.Sink sink,
        Locale locale)  | 
void | 
generate(org.apache.maven.doxia.sink.Sink sink,
        org.apache.maven.doxia.sink.SinkFactory sinkFactory,
        Locale locale) | 
String | 
getCategoryName() | 
String | 
getDescription(Locale locale) | 
String | 
getName(Locale locale) | 
String | 
getOutputName() | 
File | 
getReportOutputDirectory() | 
boolean | 
isExternalReport() | 
void | 
setDestDir(String theDestDir)  | 
void | 
setReportOutputDirectory(File reportOutputDirectory)
Method to set the directory where the generated reports will be put 
 | 
buildJavadocOptions, canGenerateReport, configureDependencySourceResolution, execute, executeReport, failOnError, getAttachmentClassifier, getClassesFile, getDefaultJavadocApiLink, getDependencyScopeFilter, getDependencySourcePaths, getDoclint, getDoctitle, getExecutionProjectSourceRoots, getFiles, getJavadocDirectory, getJavadocOptionsFile, getOutputDirectory, getOverview, getProject, getProjectBuildOutputDirs, getProjectSourceRoots, getSourcePaths, getToolchain, getWindowtitle, isAggregator, isSkippedJavadoc, isSkippedModule, isTest, isValidJavadocLink, logError, resolveDependency, verifyRemovedParameterpublic String getName(Locale locale)
getName in interface org.apache.maven.reporting.MavenReportpublic String getDescription(Locale locale)
getDescription in interface org.apache.maven.reporting.MavenReportpublic void generate(org.codehaus.doxia.sink.Sink sink,
                     Locale locale)
              throws org.apache.maven.reporting.MavenReportException
generate in interface org.apache.maven.reporting.MavenReportorg.apache.maven.reporting.MavenReportExceptionpublic void generate(org.apache.maven.doxia.sink.Sink sink,
                     Locale locale)
              throws org.apache.maven.reporting.MavenReportException
org.apache.maven.reporting.MavenReportExceptionpublic void generate(org.apache.maven.doxia.sink.Sink sink,
                     org.apache.maven.doxia.sink.SinkFactory sinkFactory,
                     Locale locale)
              throws org.apache.maven.reporting.MavenReportException
generate in interface org.apache.maven.reporting.MavenMultiPageReportorg.apache.maven.reporting.MavenReportExceptionpublic String getOutputName()
getOutputName in interface org.apache.maven.reporting.MavenReportpublic boolean isExternalReport()
isExternalReport in interface org.apache.maven.reporting.MavenReportpublic boolean canGenerateReport()
| isAggregator | hasSourceFiles | isRootProject | Generate Report | 
|---|---|---|---|
| True | True | True | True | 
| True | True | False | False | 
| True | False | True | False | 
| True | False | False | False | 
| False | True | True | True | 
| False | True | False | True | 
| False | False | True | False | 
| False | False | False | False | 
canGenerateReport in interface org.apache.maven.reporting.MavenReportpublic String getCategoryName()
getCategoryName in interface org.apache.maven.reporting.MavenReportpublic File getReportOutputDirectory()
getReportOutputDirectory in interface org.apache.maven.reporting.MavenReportpublic void setReportOutputDirectory(File reportOutputDirectory)
setReportOutputDirectory in interface org.apache.maven.reporting.MavenReportreportOutputDirectory - the directory file to be setpublic void setDestDir(String theDestDir)
theDestDir - The destination directory.public void doExecute()
               throws org.apache.maven.plugin.MojoExecutionException,
                      org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2004–2023 The Apache Software Foundation. All rights reserved.