My project depends on jparsec, which depends on cglib, which depends on asm. My project also directly depends on asm, but a newer version than the one cglib depends on:

It seems I cannot exclude asm from my jparsec dependency. When I attempt to exclude it with Eclipse, it makes no change to my pom. If I manually exlude it, it has no effect.
Is my only option here to exclude cglib from jparsec and then to manually add a dependency on cglib with asm excluded? This seems a bit convoluted to me, but it does work.
As per my comment, you have 2 options to solve this issue:
cglibfromjparsecand addcglibwithasmexcluded.asmdependency above thejparsecdependency.