In ChangelogGeneratorMain the picocli@Command contains a version attribute which must be updated each time we perform a release and update to a new version (which the Maven release plugin does automatically).
Is there a way in picocli to tell it how to get the version without needing to hardcode it in the annotation?
In
ChangelogGeneratorMain
the picocli@Command
contains aversion
attribute which must be updated each time we perform a release and update to a new version (which the Maven release plugin does automatically).Is there a way in picocli to tell it how to get the version without needing to hardcode it in the annotation?