When running the command:
$ mvn release:prepare release:perform -Dusername=... -Dpassword=...
I get the following error:
[ERROR] Unresolveable build extension: Plugin org.jenkins-ci.tools:maven-hpi-plugin:1.72 or one of its dependencies could not be resolved: Failed to collect dependencies for org.jenkins-ci.tools:maven-hpi-plugin:jar:1.72 () @
[ERROR] for project org.jenkins-ci.plugins:plugin:1.420
I tried this adding the "version" field for the maven-release-plugin artifact:
<version>1.72</version>
But then I got an error when unzipping the jar. So, I tried a different version (2.0) that I had in the same directory, but it yells again about the same issue as above.
I'm a newbie in maven, so what's the correct version I have to specify? Am I missing something else?