plugin:report

Note:This goal should be used as a Maven report.

Full name:

org.apache.maven.plugins:maven-plugin-plugin:3.1:report

Description:

Generates the Plugin's documentation report.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.
  • Requires dependency collection of artifacts in scope: runtime.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 2.0.
  • Invokes the execution of the lifecycle phase process-classes prior to executing itself.

Optional Parameters

Name Type Since Description
encoding String 2.7 The file encoding of the source files.
Default value is: ${project.build.sourceEncoding}.
User property is: encoding.
goalPrefix String 2.4 The goal prefix that will appear before the ":". By default, this plugin applies a heuristic to derive a heuristic from the plugin's artifactId. It removes any occurrences of the regular expression -?maven-?, and then removes any occurrences of -?plugin-?.

For example, horsefeature-maven-plugin becomes horsefeature.

(There is a special for maven-plugin-plugin; it is mapped to 'plugin'.


User property is: goalPrefix.
outputDirectory File 2.0 Report output directory.
Default value is: ${project.build.directory}/generated-site/xdoc.
requirements Requirements 2.0 Specify some requirements to execute this plugin. Example:
<requirements>
  <maven>2.0</maven>
  <jdk>1.4</jdk>
  <memory>256m</memory>
  <diskSpace>1m</diskSpace>
  <others>
    <property>
      <name>SVN</name>
      <value>1.4.6</value>
    </property>
  </others>
</requirements>

skip boolean 2.8 Set this to "true" to skip invoking any goals or reports of the plugin.
Default value is: false.
User property is: maven.plugin.skip.
skipReport boolean 2.8 Set this to "true" to skip generating the report.
Default value is: false.
User property is: maven.plugin.report.skip.

Parameter Details

encoding:

The file encoding of the source files.
  • Type: java.lang.String
  • Since: 2.7
  • Required: No
  • User Property: encoding
  • Default: ${project.build.sourceEncoding}

goalPrefix:

The goal prefix that will appear before the ":". By default, this plugin applies a heuristic to derive a heuristic from the plugin's artifactId. It removes any occurrences of the regular expression -?maven-?, and then removes any occurrences of -?plugin-?.

For example, horsefeature-maven-plugin becomes horsefeature.

(There is a special for maven-plugin-plugin; it is mapped to 'plugin'.

  • Type: java.lang.String
  • Since: 2.4
  • Required: No
  • User Property: goalPrefix

outputDirectory:

Report output directory.
  • Type: java.io.File
  • Since: 2.0
  • Required: No
  • Default: ${project.build.directory}/generated-site/xdoc

requirements:

Specify some requirements to execute this plugin. Example:
<requirements>
  <maven>2.0</maven>
  <jdk>1.4</jdk>
  <memory>256m</memory>
  <diskSpace>1m</diskSpace>
  <others>
    <property>
      <name>SVN</name>
      <value>1.4.6</value>
    </property>
  </others>
</requirements>
  • Type: org.apache.maven.plugin.plugin.Requirements
  • Since: 2.0
  • Required: No

skip:

Set this to "true" to skip invoking any goals or reports of the plugin.
  • Type: boolean
  • Since: 2.8
  • Required: No
  • User Property: maven.plugin.skip
  • Default: false

skipReport:

Set this to "true" to skip generating the report.
  • Type: boolean
  • Since: 2.8
  • Required: No
  • User Property: maven.plugin.report.skip
  • Default: false