Maven 1.x SCM Plugin
  1. Maven 1.x SCM Plugin
  2. MPSCM-50

Support starting and ending revision in diff bean/tag

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Labels:
      None
    • Number of attachments :
      1

      Description

      I would like to do a scm:diff against a particular revision.

      Since support for this already exists in the scm library, I have created a patch to expose it through the ScmDiffBean (attached as a patch to scm-1.5-branch).

      This allows you to script the following:

      <scm:diff url="$

      {scmConnection}

      "
      workingDirectory="$

      {basedir}

      "
      startRevision="$

      {baseRevision}

      "
      patchFile="$

      {maven.scm.patch.dir}

      /$

      {maven.scm.patch.file}

      "
      />

        Activity

        Hide
        Brett Porter added a comment -

        applied, thanks. Not adding to the scm:patch goal - its intention is to use BASE, but you can use the scm:diff tag directly.

        Show
        Brett Porter added a comment - applied, thanks. Not adding to the scm:patch goal - its intention is to use BASE, but you can use the scm:diff tag directly.

          People

          • Assignee:
            Unassigned
            Reporter:
            jay gitterman
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: