{"action":"created","issue":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1048","labels_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1048/labels{/name}","comments_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1048/comments","events_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1048/events","html_url":"https://github.com/jhipster/generator-jhipster/issues/1048","id":55741506,"number":1048,"title":"add version number in the server logs at application start","user":{"login":"andidev","id":571389,"avatar_url":"https://avatars.githubusercontent.com/u/571389?v=3","gravatar_id":"","url":"https://api.github.com/users/andidev","html_url":"https://github.com/andidev","followers_url":"https://api.github.com/users/andidev/followers","following_url":"https://api.github.com/users/andidev/following{/other_user}","gists_url":"https://api.github.com/users/andidev/gists{/gist_id}","starred_url":"https://api.github.com/users/andidev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andidev/subscriptions","organizations_url":"https://api.github.com/users/andidev/orgs","repos_url":"https://api.github.com/users/andidev/repos","events_url":"https://api.github.com/users/andidev/events{/privacy}","received_events_url":"https://api.github.com/users/andidev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-28T10:57:21Z","updated_at":"2015-01-30T08:38:25Z","closed_at":null,"body":"@gmarziou mentioned this in #1046. Creating a separate issue for this.\r\n\r\nThe best way to do this according to [StackOverflow](http://stackoverflow.com/questions/3697449/retrieve-version-from-maven-pom-xml-in-code) is to inject the version number in a property file via resource filtering. And then load this property file and print the version number from `Application.java`.\r\n"},"comment":{"url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/comments/72169881","html_url":"https://github.com/jhipster/generator-jhipster/issues/1048#issuecomment-72169881","issue_url":"https://api.github.com/repos/jhipster/generator-jhipster/issues/1048","id":72169881,"user":{"login":"andidev","id":571389,"avatar_url":"https://avatars.githubusercontent.com/u/571389?v=3","gravatar_id":"","url":"https://api.github.com/users/andidev","html_url":"https://github.com/andidev","followers_url":"https://api.github.com/users/andidev/followers","following_url":"https://api.github.com/users/andidev/following{/other_user}","gists_url":"https://api.github.com/users/andidev/gists{/gist_id}","starred_url":"https://api.github.com/users/andidev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andidev/subscriptions","organizations_url":"https://api.github.com/users/andidev/orgs","repos_url":"https://api.github.com/users/andidev/repos","events_url":"https://api.github.com/users/andidev/events{/privacy}","received_events_url":"https://api.github.com/users/andidev/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T08:38:25Z","updated_at":"2015-01-30T08:38:25Z","body":"@atomfrede, Thanks, but it looks like it's probably not needed. \r\nAccording to @philweb's answer in issue [#749](https://github.com/spring-projects/spring-boot/issues/749) this is not supported by the Spring Boot Gradle Plugin.\r\nA feature request issue spring-projects/spring-boot#2431 is created and is a direct blocker for this case. I'll finish this case once this issue is solved in Spring Boot Gradle Plugin.\r\n"}}