-
Notifications
You must be signed in to change notification settings - Fork 41.1k
spring-boot-dependencies should not define a spring-boot.version property #23174
New issue
Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “No 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? No Sign in to your account
Comments
Is there any other property (or technique) that we should use to retrieve the current version of spring-boot? this issue broke our build since we were relying on this property to reconfigure some spring dependencies. Here's a snippet of our corporate-wide parent-pom
The first dependency is declared by With this technique all our projects can just declare a dependency to devtools and starter-web that are pre-configured while leaving the version number managed in the spring pom by you guys. Now we will have to duplicate the spring-boot version in the |
@wilkinsona please undo the work of removing |
Sorry for the inconvenience. Unfortunately, we won't be reinstating |
But is there a proposed workaround? i.e. other official, more reliable, read-only way to know in the maven build what version of spring-boot a |
@theHilikus It depends on what you are trying to do. Where you want to exclude Tomcat in favour of Jetty, I'd provide your own starter that depends on
We're limited by Maven's capabilities here. We can suggest alternatives like the one above, but any feature request would have to be raised against Maven. |
The migration of the build to Gradle and the usage of our bom plugin has resulted in a
spring-boot.version
property inspring-boot-dependencies
being introduced unintentionally. We should remove it for the reasons described in the following issues:The text was updated successfully, but these errors were encountered: