spring-boot:build-info

Full name:

org.springframework.boot:spring-boot-maven-plugin:1.5.15.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.
  • The goal is thread-safe and supports parallel builds.
  • 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.

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