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
Vampire
08/10/2024, 4:16 PM
Maybe try to remove spring boot bom, then add Jakarta bom and then readd spring boot bom?
c
Caleb Cushing
08/10/2024, 4:19 PM
but a platform bom also has to be added before other dependencies... right?
v
Vampire
08/10/2024, 5:07 PM
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
Caleb Cushing
08/10/2024, 5:09 PM
I suppose I can test it later after I solve the other problem.
👌 1
Caleb Cushing
08/13/2024, 3:42 PM
obviously see other thread, component metadata doesn't work