Package org.apache.maven.plugins.javadoc
Class AggregatorJavadocJar
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.maven.plugins.javadoc.AbstractJavadocMojo
-
- org.apache.maven.plugins.javadoc.JavadocJar
-
- org.apache.maven.plugins.javadoc.AggregatorJavadocJar
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="aggregate-jar", defaultPhase=PACKAGE, aggregator=true, requiresDependencyResolution=COMPILE) @Execute(phase=COMPILE) public class AggregatorJavadocJar extends JavadocJarBundles the Javadoc documentation for main
Java codein an aggregator project into a jar using the standard Javadoc Tool.Since version 3.1.0 an aggregated jar is created for every module of a Maven multimodule project.
- Since:
- 2.6
-
-
Field Summary
-
Fields inherited from class org.apache.maven.plugins.javadoc.AbstractJavadocMojo
ARGFILE_FILE_NAME, DEBUG_JAVADOC_SCRIPT_NAME, failOnError, failOnWarnings, FILES_FILE_NAME, JAVADOC_RESOURCES_ATTACHMENT_CLASSIFIER, links, mojoExecution, OPTIONS_FILE_NAME, outputDirectory, outputTimestamp, PACKAGES_FILE_NAME, project, reactorProjects, session, skip, TEST_JAVADOC_RESOURCES_ATTACHMENT_CLASSIFIER, useStandardDocletOptions
-
-
Constructor Summary
Constructors Constructor Description AggregatorJavadocJar()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisAggregator()Indicates whether this goal is flagged with@aggregator.-
Methods inherited from class org.apache.maven.plugins.javadoc.JavadocJar
doExecute, getClassifier
-
Methods inherited from class org.apache.maven.plugins.javadoc.AbstractJavadocMojo
buildJavadocOptions, canGenerateReport, configureDependencySourceResolution, execute, executeReport, failOnError, getAttachmentClassifier, getClassesFile, getDefaultJavadocApiLink, getDependencyScopeFilter, getDependencySourcePaths, getDoclint, getDoctitle, getExecutionProjectSourceRoots, getFiles, getJavadocDirectory, getJavadocOptionsFile, getOutputDirectory, getOverview, getProject, getProjectBuildOutputDirs, getProjectSourceRoots, getReactorProjects, getSourcePaths, getToolchain, getWindowtitle, isSkippedJavadoc, isSkippedModule, isTest, isValidJavadocLink, logError, resolveDependency, verifyRemovedParameter
-
-
-
-
Method Detail
-
isAggregator
protected boolean isAggregator()
Description copied from class:AbstractJavadocMojoIndicates whether this goal is flagged with@aggregator.- Overrides:
isAggregatorin classAbstractJavadocMojo- Returns:
trueif the goal is designed as an aggregator,falseotherwise.- See Also:
AggregatorJavadocReport,AggregatorTestJavadocReport
-
-