|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.AbstractMojo org.apache.maven.plugin.javadoc.AbstractJavadocMojo
public abstract class AbstractJavadocMojo
Base class with majority of Javadoc functionalities.
Field Summary | |
---|---|
protected boolean |
aggregate
Deprecated. As of version 2.5, use the goals javadoc:aggregate and
javadoc:test-aggregate instead. |
protected static java.lang.String |
ARGFILE_FILE_NAME
The argfile file name in the output directory when calling:
javadoc.exe(or .sh) @options @packages | @argfile | @files |
protected static java.lang.String |
DEBUG_JAVADOC_SCRIPT_NAME
The Javadoc script file name when debug parameter is on, i.e. javadoc.bat or javadoc.sh |
protected boolean |
failOnError
Specifies whether the build will continue even if there are errors. |
protected static java.lang.String |
FILES_FILE_NAME
The files file name in the output directory when calling:
javadoc.exe(or .sh) @options @packages | @argfile | @files |
protected java.util.ArrayList |
links
Creates links to existing javadoc-generated documentation of external referenced classes. |
protected static java.lang.String |
OPTIONS_FILE_NAME
The options file name in the output directory when calling:
javadoc.exe(or .sh) @options @packages | @argfile | @files |
protected java.io.File |
outputDirectory
Specifies the destination directory where javadoc saves the generated HTML files. |
protected static java.lang.String |
PACKAGES_FILE_NAME
The packages file name in the output directory when calling:
javadoc.exe(or .sh) @options @packages | @argfile | @files |
protected org.apache.maven.project.MavenProject |
project
The Maven Project Object |
protected boolean |
skip
Specifies whether the Javadoc generation should be skipped. |
protected boolean |
useStandardDocletOptions
Specifies to use the options provided by the Standard Doclet for a custom doclet. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractJavadocMojo()
|
Method Summary | |
---|---|
protected boolean |
canGenerateReport(java.util.List files)
Method that indicates whether the javadoc can be generated or not. |
protected void |
executeReport(java.util.Locale unusedLocale)
The package documentation details the Javadoc Options used by this Plugin. |
protected java.util.List |
getCompileArtifacts(org.apache.maven.artifact.resolver.ArtifactResolutionResult result)
|
protected java.lang.String |
getDoctitle()
|
protected java.util.List |
getExecutionProjectSourceRoots(org.apache.maven.project.MavenProject p)
|
protected java.util.List |
getFiles(java.util.List sourcePaths)
Method to get the files on the specified source paths |
protected java.io.File |
getJavadocDirectory()
|
protected java.lang.String |
getOutputDirectory()
|
protected java.io.File |
getOverview()
|
protected java.util.List |
getProjectArtifacts(org.apache.maven.project.MavenProject p)
|
protected java.util.List |
getProjectBuildOutputDirs(org.apache.maven.project.MavenProject p)
|
protected java.util.List |
getProjectSourceRoots(org.apache.maven.project.MavenProject p)
|
protected java.util.List |
getSourcePaths()
Method to get the source paths. |
protected java.lang.String |
getWindowtitle()
|
protected boolean |
isAggregator()
Indicates whether this goal is flagged with @aggregator . |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.maven.plugin.Mojo |
---|
execute |
Field Detail |
---|
protected static final java.lang.String DEBUG_JAVADOC_SCRIPT_NAME
debug
parameter is on, i.e. javadoc.bat or javadoc.sh
protected static final java.lang.String OPTIONS_FILE_NAME
options
file name in the output directory when calling:
javadoc.exe(or .sh) @options @packages | @argfile | @files
protected static final java.lang.String PACKAGES_FILE_NAME
packages
file name in the output directory when calling:
javadoc.exe(or .sh) @options @packages | @argfile | @files
protected static final java.lang.String ARGFILE_FILE_NAME
argfile
file name in the output directory when calling:
javadoc.exe(or .sh) @options @packages | @argfile | @files
protected static final java.lang.String FILES_FILE_NAME
files
file name in the output directory when calling:
javadoc.exe(or .sh) @options @packages | @argfile | @files
protected org.apache.maven.project.MavenProject project
protected boolean aggregate
javadoc:aggregate
and
javadoc:test-aggregate
instead.
protected boolean skip
protected boolean failOnError
protected boolean useStandardDocletOptions
<docletArtifacts> <docletArtifact> <groupId>com.sun.tools.doclets</groupId> <artifactId>doccheck</artifactId> <version>1.2b2</version> </docletArtifact> </docletArtifacts> <useStandardDocletOptions>true</useStandardDocletOptions>
protected java.util.ArrayList links
protected java.io.File outputDirectory
Constructor Detail |
---|
public AbstractJavadocMojo()
Method Detail |
---|
protected boolean isAggregator()
@aggregator
.
true
if the goal is designed as an aggregator, false
otherwise.AggregatorJavadocReport
,
AggregatorTestJavadocReport
protected java.lang.String getOutputDirectory()
protected java.util.List getProjectBuildOutputDirs(org.apache.maven.project.MavenProject p)
p
- not null maven project
protected java.util.List getProjectSourceRoots(org.apache.maven.project.MavenProject p)
p
- not null maven project
protected java.util.List getExecutionProjectSourceRoots(org.apache.maven.project.MavenProject p)
p
- not null maven project
protected java.util.List getProjectArtifacts(org.apache.maven.project.MavenProject p)
p
- not null maven project
protected java.io.File getJavadocDirectory()
protected java.lang.String getDoctitle()
protected java.io.File getOverview()
javadocdirectory
protected java.lang.String getWindowtitle()
protected void executeReport(java.util.Locale unusedLocale) throws org.apache.maven.reporting.MavenReportException
unusedLocale
- the wanted locale (actually unused).
org.apache.maven.reporting.MavenReportException
- if anyprotected java.util.List getFiles(java.util.List sourcePaths)
sourcePaths
- a List that contains the paths to the source files
protected java.util.List getSourcePaths()
String
JavadocUtil.pruneDirs(MavenProject, List)
protected boolean canGenerateReport(java.util.List files)
files
- the project files
protected java.util.List getCompileArtifacts(org.apache.maven.artifact.resolver.ArtifactResolutionResult result)
result
- not null
JavadocUtil.getCompileArtifacts(Set, boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |