I have a Maven multi-module project in Eclipse.
Each time I want to update the version, I go to Run As -> Run Configurations...
, change the parameter newVersion
of the goal versions:set
to a higher number and then run the goal.
Is there something more direct?
Note that I cannot use the CI-friendly versions because they clash with the Maven release plugin.
Following the idea of https://stackoverflow.com/a/34091470/927493,
I configured the newVersion
parameter to be ${string_prompt:newVersion}
as shown in the image below
Then I get prompted for the version number which works fine.