I have a maven project such that, at the time of running build
, a plugin A runs. This plugin A depends on a B plugin that is pulled, which in turn depends on a C plugin.
It turns out that this C plugin is in an X version that has an annoying bug, and I want to force maven to use a Y version.
Also, I do not use the C plugin directly. I also do not even know which plugin B uses it. But if I delete it from the repository and try to compile offline, maven complains.
What can I do to force maven to use the desired version?