question: @ Bean public BuildInformation buildInformation ( ) { BuildInformation buildInformation = new BuildInformation ( ) ; buildInformation . setBuildDate ( environment . getProperty ( "build.date" ) ) ; buildInformation . setBuildNumber ( environment . getProperty ( "build.number" ) ) ; buildInformation . setBuildOs ( environment . getProperty ( "build.os" ) ) ; buildInformation . setBuildUser ( environment . getProperty ( "build.user" ) ) ; LOGGER . info ( String . format ( "Build Information: {buildNumber=%s, buildDate=%s, buildUser=%s, buildOs=%s}" , buildInformation . getBuildNumber ( ) , buildInformation . getBuildDate ( ) , buildInformation . getBuildUser ( ) , buildInformation . getBuildOs ( ) ) ) ; LOGGER . info ( "System Properties: " + getSystemPropertyMap ( "java.version" , "java.runtime.version" , "java.vm.version" , "java.vm.name" , "java.vendor" , "java.vendor.url" , "java.home" , "java.class.path" , "os.name" , "os.version" , "os.arch" , "user.name" , "user.dir" , "user.home" , "file.separator" , "path.separator" ) ) ; return buildInformation ; }
target:  Gets the build information.