[BUILD-81] Expose a scmTagPrefix property to easily customize the tag name use by the release plugin Created: 09/Nov/11  Updated: 13/Apr/17  Resolved: 09/Nov/11

Status: Closed
Project: Build
Component/s: Poms
Affects Version/s: None
Fix Version/s: POMs 21

Type: New Feature Priority: Major
Reporter: Magnolia International Assignee: Magnolia International
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
is causing BUILD-97 Poms without a scmTagPrefix default t... Closed
Template:
Acceptance criteria:
Empty

 Description   

Since the 2.2 version of the release plugin (BUILD-78), one can customize the format of the scm tag used when releasing, which would avoid commons mistakes when we release some of our projects (essentially all those whose artifactId is -parent).

We should be able to configure the release plugin so that it uses a property of the pom, so as to make it as easy as possible for users of our parent poms.



 Comments   
Comment by Magnolia International [ 27/Feb/12 ]

Example usage, in the <properties> section, add

  <scmTagPrefix>myProject</scmTagPrefix>

This will results in tags like myProject-1.0, etc.

Generated at Sun Feb 11 23:38:34 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.