public class ScalaDocMojo extends ScalaSourceMojoSupport implements org.apache.maven.reporting.MavenReport
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
aggregateDirectOnly
If you want to aggregate only direct sub modules.
|
protected String |
bottom
Specifies the text to be placed at the bottom of each output file.
|
protected String |
charset
Charset for cross-platform viewing of generated documentation.
|
protected String |
doctitle
Include title for the overview page.
|
protected String |
footer
Include footer text for each page.
|
protected boolean |
forceAggregate
To allow running aggregation only from command line use "-DforceAggregate=true" (avoid using in pom.xml).
|
protected String |
header
Include header text for each page
[scaladoc, vscaladoc]
|
protected boolean |
linksource
Generate source in HTML
[scaladoc, vscaladoc]
|
protected boolean |
nocomment
Suppress description and tags, generate only declarations
[scaladoc, vscaladoc]
|
protected String |
outputDirectory
Specifies the destination directory where scalaDoc saves the generated
HTML files.
|
protected File |
reportOutputDirectory
Specifies the destination directory where javadoc saves the generated HTML files.
|
protected String |
scaladocClassName
className (FQN) of the main scaladoc to use, if not define, the the scalaClassName is used
|
protected File |
sourceDir
The directory which contains scala/java source files
|
protected File |
stylesheetfile
File to change style of the generated documentation
[scaladoc, vscaladoc]
|
protected String |
top
Include top text for each page
[scaladoc, vscaladoc]
|
protected String |
vscaladocVersion
If you want to use vscaladoc to generate api instead of regular scaladoc, set the version of vscaladoc you want to use.
|
protected String |
windowtitle
Specify window title of generated HTML documentation.
|
excludes, includes, sendJavaToScalacaddJavacArgs, addScalacArgs, args, checkMultipleScalaVersions, compilerPlugins, dependencies, displayCmd, encoding, factory, failOnMultipleScalaVersions, forceUseArgFile, fork, javacArgs, javacGenerateDebugSymbols, jvmArgs, localRepo, mavenProjectBuilder, project, reactorProjects, remoteRepos, resolver, SCALA_COMPILER_ARTIFACTID, SCALA_LIBRARY_ARTIFACTID, scalaClassName, session, source, target, toolchainManager, useCanonicalPath| Constructor and Description |
|---|
ScalaDocMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
aggregate(org.apache.maven.project.MavenProject parent) |
boolean |
canGenerateReport() |
void |
doExecute() |
void |
generate(org.codehaus.doxia.sink.Sink sink,
Locale locale) |
String |
getCategoryName() |
String |
getDescription(Locale locale) |
String |
getName(Locale locale) |
String |
getOutputName() |
File |
getReportOutputDirectory() |
protected JavaMainCaller |
getScalaCommand() |
protected List<File> |
getSourceDirectories()
Retrieves the list of *all* root source directories.
|
boolean |
isExternalReport() |
void |
setReportOutputDirectory(File v) |
protected void |
tryAggregateUpper(org.apache.maven.project.MavenProject prj) |
findSourceWithFilters, findSourceWithFilters, initFilters, normalizeaddCompilerPluginOptions, addCompilerToClasspath, addLibraryToClasspath, addToClasspath, addToClasspath, addToClasspath, addToClasspath, checkScalaVersion, execute, findScalaVersion, findVersionFromDependencies, findVersionFromPluginArtifacts, getAllDependencies, getArtifactJar, getArtifactJar, getCompilerDependencies, getCompilerJar, getCompilerPluginOptions, getDependencies, getEmptyScalaCommand, getJavacOptions, getLibraryJar, getPluginArtifactJar, getPluginArtifactJar, getScalaOptions, getScalaOrganization, isJavaSupportedByCompiler, resolveArtifactDependencies, resolveDependencyArtifactsprotected String windowtitle
protected String bottom
protected String charset
protected String doctitle
protected String footer
protected String header
protected boolean linksource
protected boolean nocomment
protected File stylesheetfile
protected String top
protected String outputDirectory
protected File reportOutputDirectory
protected String scaladocClassName
protected String vscaladocVersion
protected boolean forceAggregate
protected boolean aggregateDirectOnly
protected File sourceDir
protected List<File> getSourceDirectories() throws Exception
ScalaSourceMojoSupportgetSourceDirectories in class ScalaSourceMojoSupportExceptionpublic boolean canGenerateReport()
canGenerateReport in interface org.apache.maven.reporting.MavenReportpublic boolean isExternalReport()
isExternalReport in interface org.apache.maven.reporting.MavenReportpublic String getCategoryName()
getCategoryName in interface org.apache.maven.reporting.MavenReportpublic String getDescription(Locale locale)
getDescription in interface org.apache.maven.reporting.MavenReportpublic String getName(Locale locale)
getName in interface org.apache.maven.reporting.MavenReportpublic String getOutputName()
getOutputName in interface org.apache.maven.reporting.MavenReportpublic File getReportOutputDirectory()
getReportOutputDirectory in interface org.apache.maven.reporting.MavenReportpublic void setReportOutputDirectory(File v)
setReportOutputDirectory in interface org.apache.maven.reporting.MavenReportpublic void doExecute()
throws Exception
doExecute in class ScalaMojoSupportExceptionprotected JavaMainCaller getScalaCommand() throws Exception
getScalaCommand in class ScalaMojoSupportExceptionpublic 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.MavenReportExceptionprotected void tryAggregateUpper(org.apache.maven.project.MavenProject prj)
throws Exception
ExceptionCopyright © 2012–2015. All rights reserved.