Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
__
|/ | o / /
|___| ___ ___ ___ ___ ___ ___ ___ ___ (___ ( ___ ___
| )| )| )| )|___)| ) \ )| )| )| | )| )| |___)|___
|__/ |__/|| / | / |__ | \/ |__/|| | |__/||__/ | |__ __/
-----
pom.xml variables
-----
${spring-boot.version} = simply prints un-formatted value of the Spring Boot <version> found for your project
${spring-boot.formatted-version} = prints Spring Boot version as in the previous variable, but it surrounds it with parentheses and adds a 'v' in front of the version
-----
MANIFEST.MF variables
-----
${application.version} = prints value of the key Implementation-Version in the MANIFEST.MF file
${application.formatted-version} = prints value of the key Implementation-Version as in the previous variable, but it surrounds it with parentheses and adds a 'v' in front of the version
${application.title} = prints valyu of the key Implementation-Title in the MANIFEST.MF file
-----
Ansi variables
-----
${AnsiColor.COLOR_HERE} = colors all characters after this string with the color specified; available values here: https://docs.spring.io/spring-boot/docs/current/api/org/springframework/boot/ansi/AnsiColor.html
${AnsiBackground.COLOR_HERE} = colors all empty space after this string with the color specified; available values same as link in previous line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment