Comments (7)
I'm really interested in this feature, and I think it would be easy to implement (just ask some well-known packages what their version is, like in SpringVersion
). Testing it and making sure that it is robust against changes on the classpath is potentially a big job - but maybe not, so if you want to try a pull request, try and make it extensible and provide some tests.
from spring-boot.
Dave, it is probably easier to just iterate over all spring-***.jar jars in the lib folder and read the MANFEST.MF Implementation-Version. Would need to check how that could work if Boot is not being ran from an fat jar.
Do you want me to take a run at that?
from spring-boot.
I agree that might be a valid approach (make an assumption about jar file names and locations). As long as it doesn't add anything to startup time I think we could do it. Feel free to contribute.
from spring-boot.
Is this still an open issue?
from spring-boot.
It is yes. There is an "open" icon on the top left. If you don't mind my asking, why do you ask?
from spring-boot.
We discussed this recently. For some people, a VCS tag would be sufficient to tell them all they needed to know about their application. For others, details of all of the dependencies and their versions would be useful. The consensus seemed to be that collecting the dependencies and their versions was best done at build time. The information could, perhaps, then be exposed via a plugin to the /info endpoint. Logging it, as suggested in this issue, is another option.
from spring-boot.
After some consideration we don't think this is such a good idea, it's hard to know where we'd stop. The /info
endpoint + version control is our recommended solution.
from spring-boot.
Related Issues (20)
- Rework fix for #21992 to avoid polluting Gradle Module Metadata with mavenOptional… variants
- Update Kotlin DSL examples that configure the environment of bootBuildImage to be additive
- Update Kotlin DSL examples that configure the environment of bootBuildImage to be additive
- Make buildSrc's custom tasks consistently abstract
- Make buildSrc's custom tasks consistently abstract
- Make buildSrc's custom tasks consistently abstract
- TransactionalOperator is not configured in Data Neo4j HOT 9
- OtlpMetricsExportAutoConfiguration uses default OTLP metrics url when value comes from Dynamic Properties HOT 2
- Spring Boot 3.X Upgrade: Custom Health Indicator Not Recognized in Actuator Liveness Group HOT 3
- Review auto-configuration that accepts both a URI and separate properties
- @NewSpan/@SpanTag not working on interface methods HOT 3
- PaketoBuilderTests fail due to deprecation warning from the ca-certificates buildpack
- PaketoBuilderTests fail due to deprecation warning from the ca-certificates buildpack
- PaketoBuilderTests fail due to deprecation warning from the ca-certificates buildpack
- Enable eclipse ignoreUnnamedModuleForSplitPackage setting in buildSrc
- Not able to use actuator WriteOperation annotation with parameters HOT 3
- Springboot connection database password acquisition error HOT 3
- Springboot connection database password acquisition error HOT 1
- [Feature Request]: Introduce a property to set the server time HOT 1
- Spring Boot Webflux, cannot get PreAuthorize to work on Spring Security (in Kotlin) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-boot.