Class TestJavadocJarMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AggregatorTestJavadocJarMojo

@Mojo(name="test-jar", defaultPhase=PACKAGE, requiresDependencyResolution=TEST, threadSafe=true) public class TestJavadocJarMojo extends JavadocJarMojo
Bundles the Javadoc documentation for test Java code in a NON aggregator project into a jar using the standard Javadoc Tool.
Since:
2.5
  • Field Details

    • testDoctitle

      @Parameter(property="testDoctitle", alias="doctitle", defaultValue="${project.name} ${project.version} Test API") private String testDoctitle
      Specifies the Test title to be placed near the top of the overview summary file.
      Since:
      2.5
      See Also:
    • testOverview

      @Parameter(property="testOverview", alias="overview", defaultValue="${basedir}/src/test/javadoc/overview.html") private File testOverview
      Specifies that Javadoc should retrieve the text for the Test overview documentation from the "source" file specified by path/filename and place it on the Overview page (overview-summary.html).
      Since:
      2.5
      See Also:
    • testWindowtitle

      @Parameter(property="testWindowtitle", alias="windowtitle", defaultValue="${project.name} ${project.version} Test API") private String testWindowtitle
      Specifies the Test title to be placed in the HTML title tag.
      Since:
      2.5
      See Also:
    • testJavadocDirectory

      @Parameter(alias="javadocDirectory", defaultValue="${basedir}/src/test/javadoc") private File testJavadocDirectory
      Specifies the Test Javadoc resources directory to be included in the Javadoc (i.e. package.html, images...).
      Since:
      2.5
    • testClassifier

      @Parameter(property="maven.javadoc.testClassifier", defaultValue="test-javadoc", required=true) private String testClassifier
      Since:
      2.10
  • Constructor Details

    • TestJavadocJarMojo

      @Inject public TestJavadocJarMojo(org.apache.maven.project.MavenProjectHelper projectHelper, org.codehaus.plexus.archiver.jar.JarArchiver jarArchiver, org.apache.maven.doxia.tools.SiteTool siteTool, org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager, ResourceResolver resourceResolver, org.eclipse.aether.RepositorySystem repoSystem, org.apache.maven.artifact.handler.manager.ArtifactHandlerManager artifactHandlerManager, org.apache.maven.project.ProjectBuilder mavenProjectBuilder, org.apache.maven.toolchain.ToolchainManager toolchainManager)
  • Method Details