jxr:test-jxr

Note:

This goal should be used as a Maven report.

Full name:

org.apache.maven.plugins:maven-jxr-plugin:3.4.0:test-jxr

Description:

Creates an html-based, cross referenced version of Java source code for a project's test sources.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is not marked as thread-safe and thus does not support parallel builds.
  • Since version: 2.0.
  • Invokes the execution of the following lifecycle phase prior to executing itself: generate-test-sources.

Optional Parameters

Name Type Since Description
<bottom> String - String used at the bottom of the Xref HTML files.
Default: Copyright © {inceptionYear}–{currentYear} {organizationName}. All rights reserved.
User Property: bottom
<destDir> String - Directory where the Xref files will be copied to.
Default: ${project.reporting.outputDirectory}/xref-test
<docTitle> String - Title of main page of the Xref HTML files.
Default: ${project.name} ${project.version} Reference
<excludes> ArrayList<String> 2.1 A list of exclude patterns to use. By default no files are excluded.
<includes> ArrayList<String> 2.1 A list of include patterns to use. By default all .java files are included.
<javadocVersion> String - Version of the Javadoc templates to use. The value should reflect `java.specification.version`, "1.4", "1.8", "9", "10", by default this system property is used.
User Property: javadocVersion
<linkJavadoc> boolean - Link the Javadoc from the Source XRef. Defaults to true and will link automatically if javadoc plugin is being used.
Default: true
<skip> boolean 2.3 Whether to skip this execution.
Default: false
User Property: maven.jxr.skip
<stylesheet> String - Style sheet used for the Xref HTML files. Should not be used. If used, should be an absolute path, like "${basedir/myStyles.css"}.
<templateDir> String - Directory where Velocity templates can be found to generate overviews, frames and summaries. Should not be used. If used, should be an absolute path, like "${basedir/myTemplates"}.
<testJavadocDir> File - Directory where Test Javadoc is generated for this project.
Default: ${project.reporting.outputDirectory}/testapidocs
<windowTitle> String - Title of window of the Xref HTML files.
Default: ${project.name} ${project.version} Reference

Parameter Details

<bottom>

String used at the bottom of the Xref HTML files.
  • Type: java.lang.String
  • Required: No
  • User Property: bottom
  • Default: Copyright © {inceptionYear}–{currentYear} {organizationName}. All rights reserved.

<destDir>

Directory where the Xref files will be copied to.
  • Type: java.lang.String
  • Required: No
  • Default: ${project.reporting.outputDirectory}/xref-test

<docTitle>

Title of main page of the Xref HTML files.
  • Type: java.lang.String
  • Required: No
  • Default: ${project.name} ${project.version} Reference

<excludes>

A list of exclude patterns to use. By default no files are excluded.
  • Type: java.util.ArrayList<java.lang.String>
  • Since: 2.1
  • Required: No

<includes>

A list of include patterns to use. By default all .java files are included.
  • Type: java.util.ArrayList<java.lang.String>
  • Since: 2.1
  • Required: No

<javadocVersion>

Version of the Javadoc templates to use. The value should reflect `java.specification.version`, "1.4", "1.8", "9", "10", by default this system property is used.
  • Type: java.lang.String
  • Required: No
  • User Property: javadocVersion

<linkJavadoc>

Link the Javadoc from the Source XRef. Defaults to true and will link automatically if javadoc plugin is being used.
  • Type: boolean
  • Required: No
  • Default: true

<skip>

Whether to skip this execution.
  • Type: boolean
  • Since: 2.3
  • Required: No
  • User Property: maven.jxr.skip
  • Default: false

<stylesheet>

Style sheet used for the Xref HTML files. Should not be used. If used, should be an absolute path, like "${basedir/myStyles.css"}.
  • Type: java.lang.String
  • Required: No

<templateDir>

Directory where Velocity templates can be found to generate overviews, frames and summaries. Should not be used. If used, should be an absolute path, like "${basedir/myTemplates"}.
  • Type: java.lang.String
  • Required: No

<testJavadocDir>

Directory where Test Javadoc is generated for this project.
  • Type: java.io.File
  • Required: No
  • Default: ${project.reporting.outputDirectory}/testapidocs

<windowTitle>

Title of window of the Xref HTML files.
  • Type: java.lang.String
  • Required: No
  • Default: ${project.name} ${project.version} Reference