Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to determine where a bom has been depended(imported) in maven? [duplicate]

I have a project with lots of dependencies. There is a conflicting dependency in my pom, IDEA shows the dependency was imported from a bom that I did't use. I want to exclude it, but I can't find where the bom(not the jar) has been imported. I have tried dependency:tree, it does not show boms, only jars. Is there any way to show where boms have been imported?

like image 543
两极化 Avatar asked Oct 28 '25 05:10

两极化


1 Answers

mvn help:effective-pom -Dverbose will annotate all dependencies with their sources.

like image 168
talex Avatar answered Oct 29 '25 19:10

talex



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!