| Variable | Description |
|---|
|
${application.version}
|
The version number of your application, as declared in MANIFEST.MF. For example, Implementation-Version: 1.0 is printed as 1.0.
|
|
${application.formatted-version}
|
The version number of your application, as declared in MANIFEST.MF and formatted for display (surrounded with brackets and prefixed with v). For example (v1.0).
|
|
${spring-boot.version}
|
The Spring Boot version that you are using. For example 2.2.1.RELEASE.
|
|
${spring-boot.formatted-version}
|
The Spring Boot version that you are using, formatted for display (surrounded with brackets and prefixed with v). For example (v2.2.1.RELEASE).
|
|
${Ansi.NAME} (or ${AnsiColor.NAME}, ${AnsiBackground.NAME}, ${AnsiStyle.NAME})
|
Where NAME is the name of an ANSI escape code. See AnsiPropertySource for details.
|
|
${application.title}
|
The title of your application, as declared in MANIFEST.MF. For example Implementation-Title: MyApp is printed as MyApp.
|
来源:https://www.cnblogs.com/mihasha/p/11882617.html