is it possible with component metadata to add a de...
# dependency-management
c
is it possible with component metadata to add a dependency before another dependency? I want to add the platform jakarta bom before spring boot dependencies (bom) dynamically. Spring boot dependencies would override some of its versions, but doesn't provide all of the same versions. So I can't simply add (append) the dependency since it needs to be applied in a certain order. I suppose spring boot would treat this as an import
v
Maybe try to remove spring boot bom, then add Jakarta bom and then readd spring boot bom?
c
but a platform bom also has to be added before other dependencies... right?
v
No, why? I also don't think the order is the boms is relevant. They just add two constraints and higher version will win, order should not matter, this is not Maven, where it is relevant. :-)
c
I suppose I can test it later after I solve the other problem.
👌 1
obviously see other thread, component metadata doesn't work