org.apache.maven.plugin.javadoc
Class TestJavadocJar
java.lang.Object
   org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.AbstractMojo
       org.apache.maven.plugin.javadoc.AbstractJavadocMojo
org.apache.maven.plugin.javadoc.AbstractJavadocMojo
           org.apache.maven.plugin.javadoc.JavadocJar
org.apache.maven.plugin.javadoc.JavadocJar
               org.apache.maven.plugin.javadoc.TestJavadocJar
org.apache.maven.plugin.javadoc.TestJavadocJar
- All Implemented Interfaces: 
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses: 
- AggregatorTestJavadocJar
- public class TestJavadocJar 
- extends JavadocJar
Bundles the Javadoc documentation for test Java code in an NON aggregator project into
 a jar using the standard Javadoc Tool.
- Since:
- 2.5
- Version:
- $Id: TestJavadocJar.html 829394 2012-08-19 17:31:42Z hboutemy $
- Author:
- Vincent Siveton
- Is defined by the goal name:
- test-jar
- Is bound to the specified phase of the standard build lifecycle:
- package
- Requires the dependencies in this specified scope:
- test
 
| Fields inherited from class org.apache.maven.plugin.javadoc.AbstractJavadocMojo | 
| aggregate, ARGFILE_FILE_NAME, DEBUG_JAVADOC_SCRIPT_NAME, DEFAULT_JAVA_API_LINKS, failOnError, FILES_FILE_NAME, links, OPTIONS_FILE_NAME, PACKAGES_FILE_NAME, project, skip, useStandardDocletOptions | 
 
| Fields inherited from interface org.apache.maven.plugin.Mojo | 
| ROLE | 
 
 
 
 
 
| 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 | 
 
TestJavadocJar
public TestJavadocJar()
getClassifier
protected java.lang.String getClassifier()
- 
 
- 
- Overrides:
- getClassifierin class- JavadocJar
 
- 
- Returns:
- the wanted classifier, i.e. javadocortest-javadoc
 
getOutputDirectory
protected java.lang.String getOutputDirectory()
- 
 
- 
- Overrides:
- getOutputDirectoryin class- AbstractJavadocMojo
 
- 
- Returns:
- the output directory
 
getJavadocDirectory
protected java.io.File getJavadocDirectory()
- 
 
- 
- Overrides:
- getJavadocDirectoryin class- AbstractJavadocMojo
 
- 
- Returns:
- the current javadoc directory
 
getDoctitle
protected java.lang.String getDoctitle()
- 
 
- 
- Overrides:
- getDoctitlein class- AbstractJavadocMojo
 
- 
- Returns:
- the title to be placed near the top of the overview summary file
 
getOverview
protected java.io.File getOverview()
- 
 
- 
- Overrides:
- getOverviewin class- AbstractJavadocMojo
 
- 
- Returns:
- the overview documentation file from the user parameter or from the javadocdirectory
 
getWindowtitle
protected java.lang.String getWindowtitle()
- 
 
- 
- Overrides:
- getWindowtitlein class- AbstractJavadocMojo
 
- 
- Returns:
- the title to be placed in the HTML title tag
 
getProjectBuildOutputDirs
protected java.util.List getProjectBuildOutputDirs(org.apache.maven.project.MavenProject p)
- 
 
- 
- Overrides:
- getProjectBuildOutputDirsin class- AbstractJavadocMojo
 
- 
- Parameters:
- p- not null maven project
- Returns:
- the list of directories where compiled classes are placed for the given project. These dirs are
 added in the javadoc classpath.
 
getProjectSourceRoots
protected java.util.List getProjectSourceRoots(org.apache.maven.project.MavenProject p)
- 
 
- 
- Overrides:
- getProjectSourceRootsin class- AbstractJavadocMojo
 
- 
- Parameters:
- p- not null maven project
- Returns:
- the list of source paths for the given project
 
getExecutionProjectSourceRoots
protected java.util.List getExecutionProjectSourceRoots(org.apache.maven.project.MavenProject p)
- 
 
- 
- Overrides:
- getExecutionProjectSourceRootsin class- AbstractJavadocMojo
 
- 
- Parameters:
- p- not null maven project
- Returns:
- the list of source paths for the execution project of the given project
 
getProjectArtifacts
protected java.util.List getProjectArtifacts(org.apache.maven.project.MavenProject p)
- 
 
- 
- Overrides:
- getProjectArtifactsin class- AbstractJavadocMojo
 
- 
- Parameters:
- p- not null maven project
- Returns:
- the list of artifacts for the given project
 
getCompileArtifacts
protected java.util.List getCompileArtifacts(org.apache.maven.artifact.resolver.ArtifactResolutionResult result)
- 
 
- 
- Overrides:
- getCompileArtifactsin class- AbstractJavadocMojo
 
- 
- Parameters:
- result- not null
- Returns:
- the compile artifacts from the result
- See Also:
- JavadocUtil.getCompileArtifacts(Set, boolean)
 
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.