project-info-reports:dependency-info

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

Full name:

org.apache.maven.plugins:maven-project-info-reports-plugin:2.9:dependency-info

Description:

Generates code snippets to be added to build tools.

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 2.5.

Required Parameters

Name Type Since Description
artifactId String 2.5 (no description)
Default value is: ${project.artifactId}.
groupId String 2.5 (no description)
Default value is: ${project.groupId}.
outputDirectory File 2.5 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.
User property is: project.reporting.outputDirectory.
packaging String 2.5 (no description)
Default value is: ${project.packaging}.
version String 2.5 (no description)
Default value is: ${project.version}.

Optional Parameters

Name Type Since Description
customBundle String 2.3 Path for a custom bundle instead of using the default one.
Using this field, you could change the texts in the generated reports.
Default value is: ${project.basedir}/src/site/custom/project-info-reports.properties.
remoteRepositories List 2.1 Remote repositories used for the project.
User property is: project.remoteArtifactRepositories.
skip boolean 2.8 Skip report.
Default value is: false.
User property is: mpir.skip.
skipEmptyReport boolean 2.8 Skip the project info report generation if a report-specific section of the POM is empty. Defaults to true.
Default value is: true.

Parameter Details

artifactId:

(no description)
  • Type: java.lang.String
  • Since: 2.5
  • Required: Yes
  • Default: ${project.artifactId}

customBundle:

Path for a custom bundle instead of using the default one.
Using this field, you could change the texts in the generated reports.
  • Type: java.lang.String
  • Since: 2.3
  • Required: No
  • Default: ${project.basedir}/src/site/custom/project-info-reports.properties

groupId:

(no description)
  • Type: java.lang.String
  • Since: 2.5
  • Required: Yes
  • Default: ${project.groupId}

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: 2.5
  • Required: Yes
  • User Property: project.reporting.outputDirectory

packaging:

(no description)
  • Type: java.lang.String
  • Since: 2.5
  • Required: Yes
  • Default: ${project.packaging}

remoteRepositories:

Remote repositories used for the project.
  • Type: java.util.List
  • Since: 2.1
  • Required: No
  • User Property: project.remoteArtifactRepositories

skip:

Skip report.
  • Type: boolean
  • Since: 2.8
  • Required: No
  • User Property: mpir.skip
  • Default: false

skipEmptyReport:

Skip the project info report generation if a report-specific section of the POM is empty. Defaults to true.
  • Type: boolean
  • Since: 2.8
  • Required: No
  • Default: true

version:

(no description)
  • Type: java.lang.String
  • Since: 2.5
  • Required: Yes
  • Default: ${project.version}