Maven plugin - override ratchetFrom from parent pom to disable ratchet
I have a parent pom that defines
<ratchetFrom>origin/main</ratchetFrom>
However, I would like to override this in the child pom to not use the ratchet feature. The way Maven allows overriding of parameters is that you need to specify the tag to override in your child pom configuration, but doing so never results in disabling of the ratchet feature, but shows a "apply failed: Invalid ref name: xxxx" error. Even if an empty ratchetFrom tag is defined.
I looked around in the code and found that if ratchetFrom is defined, no matter the value, the ratchet feature is enabled.
Is there a way around this?
Is there a way around this?
Sounds like a PR could fix it ;-)
I'll see what I can do...
Fixed in plugin-maven 2.21.0.