-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins ver. 1.599
Maven Release Plug-in Plug-in 0.14.0
Is there a way to define what the default SCM tags is? Currently it is ${project.artifactid}-${project.version}
In our project the convention is ${project.version}.
This mean we need to edit with every release.
(see attachment)
Is there a way to change the default of ${project.artifactid}-${project.version} to ${project.version}?
Setting a properties file would be fine, but including it in Manage Jenkins would be great!
What we do is that we use the standard configuration of maven-release-plugin:
http://maven.apache.org/maven-release/maven-release-plugin/prepare-mojo.html#tagNameFormat
You then configure this in the pom of the project, or possibly even in your corporate parent pom.
The Jenkins UI might not reflect the configured value correctly as the default one though (I don't remember), but as long as you keep that box unchecked the value configured for m-release-p will be used.