@Mojo(name="test-jar", defaultPhase=PACKAGE, requiresDependencyResolution=TEST, threadSafe=true) public class TestJavadocJar extends JavadocJar
test Java code in an NON aggregator project into
a jar using the standard Javadoc Tool.aggregate, ARGFILE_FILE_NAME, DEBUG_JAVADOC_SCRIPT_NAME, DEFAULT_JAVA_API_LINKS, failOnError, FILES_FILE_NAME, JAVADOC_RESOURCES_ATTACHMENT_CLASSIFIER, links, OPTIONS_FILE_NAME, PACKAGES_FILE_NAME, project, skip, TEST_JAVADOC_RESOURCES_ATTACHMENT_CLASSIFIER, useStandardDocletOptions| Constructor and Description |
|---|
TestJavadocJar() |
| Modifier and Type | Method and Description |
|---|---|
protected SourceResolverConfig |
configureDependencySourceResolution(SourceResolverConfig config)
Overriden to enable the resolution of -test-sources jar files.
|
protected String |
getClassifier() |
protected List<Artifact> |
getCompileArtifacts(ArtifactResolutionResult result) |
protected String |
getDoctitle() |
protected List<String> |
getExecutionProjectSourceRoots(MavenProject p) |
protected File |
getJavadocDirectory() |
protected String |
getOutputDirectory() |
protected File |
getOverview() |
protected List<Artifact> |
getProjectArtifacts(MavenProject p) |
protected List<String> |
getProjectBuildOutputDirs(MavenProject p) |
protected List<String> |
getProjectSourceRoots(MavenProject p) |
protected String |
getWindowtitle() |
executebuildJavadocOptions, canGenerateReport, executeReport, failOnError, getAttachmentClassifier, getDependencySourcePaths, getFiles, getJavadocOptionsFile, getProject, getSourcePaths, isAggregator, logError, resolveDependencygetLog, getPluginContext, setLog, setPluginContextprotected String getClassifier()
getClassifier in class JavadocJarjavadoc or test-javadocprotected String getOutputDirectory()
getOutputDirectory in class AbstractJavadocMojoprotected File getJavadocDirectory()
getJavadocDirectory in class AbstractJavadocMojoprotected String getDoctitle()
getDoctitle in class AbstractJavadocMojoprotected File getOverview()
getOverview in class AbstractJavadocMojojavadocdirectoryprotected String getWindowtitle()
getWindowtitle in class AbstractJavadocMojoprotected List<String> getProjectBuildOutputDirs(MavenProject p)
getProjectBuildOutputDirs in class AbstractJavadocMojop - not null maven projectprotected List<String> getProjectSourceRoots(MavenProject p)
getProjectSourceRoots in class AbstractJavadocMojop - not null maven projectprotected List<String> getExecutionProjectSourceRoots(MavenProject p)
getExecutionProjectSourceRoots in class AbstractJavadocMojop - not null maven projectprotected List<Artifact> getProjectArtifacts(MavenProject p)
getProjectArtifacts in class AbstractJavadocMojop - not null maven projectprotected List<Artifact> getCompileArtifacts(ArtifactResolutionResult result)
getCompileArtifacts in class AbstractJavadocMojoresult - not nullJavadocUtil.getCompileArtifacts(Set, boolean)protected SourceResolverConfig configureDependencySourceResolution(SourceResolverConfig config)
configureDependencySourceResolution in class AbstractJavadocMojoCopyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.