invoker:report

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

Full name:

org.apache.maven.plugins:maven-invoker-plugin:2.0.0:report

Description:

Generate a report based on the results of the Maven invocations. Note: This mojo doesn't fork any lifecycle, if you have a clean working copy, you have to use a command like mvn clean integration-test site to ensure the build results are present when this goal is invoked.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 1.4.

Required Parameters

Name Type Since Description
outputDirectory File 1.4 The output directory for the report. Note that this parameter is only evaluated if the goal is run directly from the command line. If the goal is run indirectly as part of a site generation, the output directory configured in the Maven Site Plugin is used instead.
Default value is: ${project.reporting.outputDirectory}.

Optional Parameters

Name Type Since Description
reportsDirectory File 1.4 Base directory where all build reports have been written to.
Default value is: ${project.build.directory}/invoker-reports.
User property is: invoker.reportsDirectory.

Parameter Details

outputDirectory:

The output directory for the report. Note that this parameter is only evaluated if the goal is run directly from the command line. If the goal is run indirectly as part of a site generation, the output directory configured in the Maven Site Plugin is used instead.
  • Type: java.io.File
  • Since: 1.4
  • Required: Yes
  • Default: ${project.reporting.outputDirectory}

reportsDirectory:

Base directory where all build reports have been written to.
  • Type: java.io.File
  • Since: 1.4
  • Required: No
  • User Property: invoker.reportsDirectory
  • Default: ${project.build.directory}/invoker-reports