Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Banner Properties #13

Open
andrewharmellaw opened this issue Mar 10, 2016 · 2 comments
Open

Banner Properties #13

andrewharmellaw opened this issue Mar 10, 2016 · 2 comments
Assignees

Comments

@andrewharmellaw
Copy link
Owner

The Spring-Boot banner (in banner.txt) can pull in gradle properties. Wire these in so that we know cool stuff like the project version, spring and camel versions, etc.

(Project (jar) version is a minimum.)

@santosh2020 santosh2020 self-assigned this Mar 17, 2016
@santosh2020
Copy link
Collaborator

I have followed spring boot documentation for displaying application version in banner but its not working in my local.
Added jar task in build.gradle for generating menifest.mf:
jar {
manifest {
attributes 'Main-Class': mainClassName,
'Implementation-Title': 'Brahma - A seed-project for spring-boot-camel apps',
'Implementation-Version': version
}
}
http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#boot-features-banner

@andrewharmellaw
Copy link
Owner Author

Sorry @santosh2020 , I'm not sure I understand. I'm guessing you can't get it to work? I think I had a similar issue. Or am I misunderstanding?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants