-
Notifications
You must be signed in to change notification settings - Fork 33
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
Duplicate spring-cloud-dependencies #165
Comments
I get a similar issue, Everytime I add a spring cloud related starter for my pom, ex cloud config, spring vault, etc, The below mentioned snippet gets adding again and again.
|
"boms": {
"spring-cloud": {
"groupId": "org.springframework.cloud",
"artifactId": "spring-cloud-dependencies",
"version": "2021.0.0",
"repositories": []
}, It's appending corresponding BOM when you add any "spring-cloud" starter. A potential fix would be: only to insert the BOM node when it doesn't exists in pom.xml. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The function Add starters... add another reference in
dependencyManagement
For example, first i create a pom with only Eureka Server and after i add Sleuth and Sleuth Zipkin
This is the result (left before and right after the commit)
![image](https://user-images.githubusercontent.com/55377336/101629059-0b215e00-3a21-11eb-9deb-78a444ce4747.png)
The project compile and run but maven send me warning about it
![image](https://user-images.githubusercontent.com/55377336/101629286-63586000-3a21-11eb-9119-5d52e5467b23.png)
The text was updated successfully, but these errors were encountered: