spring-boot:build-info

Full name:

org.springframework.boot:spring-boot-maven-plugin:2.2.3.RELEASE:build-info

Description:

Generate a build-info.properties file based the content of the current MavenProject.

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 1.4.0.
  • Binds by default to the lifecycle phase: generate-resources.

Optional Parameters

Name Type Since Description
<additionalProperties> Map 1.4.0 Additional properties to store in the build-info.properties. Each entry is prefixed by build. in the generated build-info.properties.
<outputFile> File 1.4.0 The location of the generated build-info.properties.
Default value is: ${project.build.outputDirectory}/META-INF/build-info.properties.
<time> String 2.2.0 The value used for the build.time property in a form suitable for Instant.parse(). Defaults to session.request.startTime. To disable the build.time property entirely, use 'off'.

Parameter Details

<additionalProperties>

Additional properties to store in the build-info.properties. Each entry is prefixed by build. in the generated build-info.properties.
  • Type: java.util.Map
  • Since: 1.4.0
  • Required: No

<outputFile>

The location of the generated build-info.properties.
  • Type: java.io.File
  • Since: 1.4.0
  • Required: No
  • Default: ${project.build.outputDirectory}/META-INF/build-info.properties

<time>

The value used for the build.time property in a form suitable for Instant.parse(). Defaults to session.request.startTime. To disable the build.time property entirely, use 'off'.
  • Type: java.lang.String
  • Since: 2.2.0
  • Required: No