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.
I would have expected that if you put asm
before jparsec
in your POM, no exclusion would be required. The Maven "nearest definition" behaviour would kick in to ensure only 4.1
is used.
As per my comment, you have 2 options to solve this issue:
cglib
from jparsec
and add cglib
with asm
excluded.asm
dependency above the jparsec
dependency.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With