Maven Release Plugin
  1. Maven Release Plugin
  2. MRELEASE-150

Can't add prefix to tags without affecting version

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0-beta-4
    • Fix Version/s: None
    • Component/s: perform
    • Labels:
      None

      Description

      I added the following to my POM

      <plugin>
      <artifactId>maven-release-plugin</artifactId>
      <configuration>
      <tag>XXX-$

      {artifactId}-${version}</tag>
      </configuration>
      </plugin>

      However the tag comes out incorrectly.

      [INFO] Full run would be tagging C:\PerforceViews\... with label: 'XXX-myproject-0.5.4-SNAPSHOT

      What is the default? <tag>${artifactId}

      -$

      {version}

      </tag>
      Note: this seems to be missing from the plugin documentation, it only mentions releaseLabel, which defaults to tag.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Yuri Schimke
            • Votes:
              18 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development