@Mojo(name="aggregate-jar", defaultPhase=PACKAGE, aggregator=true, requiresDependencyResolution=COMPILE) @Execute(phase=COMPILE) public class AggregatorJavadocJar extends JavadocJar
Bundles the Javadoc documentation for main Java code
in 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.
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 |
---|
AggregatorJavadocJar() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAggregator()
Indicates whether this goal is flagged with
@aggregator . |
doExecute, getClassifier
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, isSkippedJavadoc, isSkippedModule, isTest, isValidJavadocLink, logError, resolveDependency, verifyRemovedParameter
protected boolean isAggregator()
AbstractJavadocMojo
@aggregator
.isAggregator
in class AbstractJavadocMojo
true
if the goal is designed as an aggregator, false
otherwise.AggregatorJavadocReport
,
AggregatorTestJavadocReport
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.