Hi,

This command creates a vanilla project using Spring Cloud that has a
hierarchy of BOMs

curl https://start.spring.io/starter.zip -d
dependencies=cloud-config-client -o demo.zip

extract and run and you'll get plenty of warnings[1]

I am trying to make sense of this message:

To resolve this conflict, either declare the dependency directly in the
dependency management of model
'org.springframework.cloud:spring-cloud-consul-dependencies:pom:1.0.2.RELEASE'
to override what gets imported or, as of Maven 3.4, rearrange the causing
imports in the inheritance hierarchy to apply standard override logic based
on artifact coordinates. Without resolving this conflict, your build relies
on indeterministic behaviour

Spring Cloud is formed of various projects that have different release
cycles. They are aggregated in a "release train BOM" that imports other
boms to provide a global dependency management to the user. It looks like
something is wrong in that setup but I fail to see why.

Can someone help me with this?

Thanks!
S.

[1] https://gist.github.com/snicoll/cef801932814a15f35180cc8c173f2a8

Reply via email to