spring-boot:build-info

Full name:

org.springframework.boot:spring-boot-maven-plugin:2.0.0.M7: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.

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