Skip to content

Instantly share code, notes, and snippets.

@tremaineeto
Created June 4, 2019 21:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tremaineeto/b3918287ed3128ac1d4f1a2f1ef6c39d to your computer and use it in GitHub Desktop.
Save tremaineeto/b3918287ed3128ac1d4f1a2f1ef6c39d to your computer and use it in GitHub Desktop.
__
|/ | 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