artifact:buildinfo

Full name:

org.apache.maven.plugins:maven-artifact-plugin:3.1.0:buildinfo

Description:

Creates a buildinfo file recording build environment and output, as specified in Reproducible Builds for the JVM for mono-module build, and extended for multi-module build. Then if a remote repository is configured, check against reference content in it.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: verify.

Optional Parameters

Name Type Since Description
<attach> boolean - Specifies whether to attach the generated buildinfo file to the project.
Default value is: true.
User property is: buildinfo.attach.
<detectSkip> boolean - Detect projects/modules with install or deploy skipped: avoid taking fingerprinting.
Default value is: true.
User property is: buildinfo.detect.skip.
<ignore> Set - Artifacts to ignore, specified as extension or classifier.extension.
User property is: buildinfo.ignore.
<ignoreJavadoc> boolean - Ignore javadoc attached artifacts from buildinfo generation.
Default value is: true.
User property is: buildinfo.ignoreJavadoc.
<referenceCompareSave> boolean - Specifies if reference comparison output file should be saved. This is expected to be a temporary feature to ease Central Repository rebuild results display.
Default value is: false.
User property is: reference.compare.save.
<referenceRepo> String - Repository for reference build, containing either reference buildinfo file or reference artifacts.
Format: id or url or id::url
id
The repository id
url
The url of the repository

User property is: reference.repo.
<reproducible> boolean 3.1.0 Makes the generated .buildinfo file reproducible, by dropping detailed environment recording: OS will be recorded as "Windows" or "Unix", JVM version only as major version.
Default value is: false.
User property is: buildinfo.reproducible.

Parameter Details

<attach>

Specifies whether to attach the generated buildinfo file to the project.
  • Type: boolean
  • Required: No
  • User Property: buildinfo.attach
  • Default: true

<detectSkip>

Detect projects/modules with install or deploy skipped: avoid taking fingerprinting.
  • Type: boolean
  • Required: No
  • User Property: buildinfo.detect.skip
  • Default: true

<ignore>

Artifacts to ignore, specified as extension or classifier.extension.
  • Type: java.util.Set
  • Required: No
  • User Property: buildinfo.ignore

<ignoreJavadoc>

Ignore javadoc attached artifacts from buildinfo generation.
  • Type: boolean
  • Required: No
  • User Property: buildinfo.ignoreJavadoc
  • Default: true

<referenceCompareSave>

Specifies if reference comparison output file should be saved. This is expected to be a temporary feature to ease Central Repository rebuild results display.
  • Type: boolean
  • Required: No
  • User Property: reference.compare.save
  • Default: false

<referenceRepo>

Repository for reference build, containing either reference buildinfo file or reference artifacts.
Format: id or url or id::url
id
The repository id
url
The url of the repository
  • Type: java.lang.String
  • Required: No
  • User Property: reference.repo

<reproducible>

Makes the generated .buildinfo file reproducible, by dropping detailed environment recording: OS will be recorded as "Windows" or "Unix", JVM version only as major version.
  • Type: boolean
  • Since: 3.1.0
  • Required: No
  • User Property: buildinfo.reproducible
  • Default: false