Maven
  1. Maven
  2. MNG-4492

Integration test MNG1830 fails with GIT based forks

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-alpha-5
    • Fix Version/s: 3.0-alpha-6
    • Component/s: Integration Tests
    • Labels:
      None
    • Environment:
      linux
    • Flags:
      Patch

      Description

      Git is rapidly becoming the tool of choice for working with forks/patches of svn projects. MavenITmng1830ShowVersionTest fails if no svn repo is present.

      The enclosed patches need to be applied in maven3 trunk (mng1830GitVersionNumber.patch), and adds a profile that activates a different buildnumber plugin setting
      when no ".svn" folder is present.

      I have made no attempts at being overly clever with the version number, which is basically "rGIT; <date>".

      The second patch is for MavenITmng1830ShowVersionTest to accept this format in addition to the two others.

      Since this fix is mostly in the test, there is no additional testcase.

      1. mng1830GitCheck.patch
        1.0 kB
        Kristian Rosenvold
      2. mng1830GitVersionNumber.patch
        1 kB
        Kristian Rosenvold

        Activity

        Kristian Rosenvold created issue -
        Benjamin Bentmann made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Assignee Benjamin Bentmann [ bentmann ]
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 3.0-alpha-6 [ 15996 ]
        Benjamin Bentmann made changes -
        Component/s Integration Tests [ 11866 ]
        Component/s IT Failures [ 13417 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
        Mark Thomas made changes -
        Workflow jira [ 12714797 ] Default workflow, editable Closed status [ 12754443 ]
        Mark Thomas made changes -
        Patch Submitted Yes [ 10763 ]
        Flags Patch [ 10430 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
        Mark Thomas made changes -
        Workflow jira [ 12952192 ] Default workflow, editable Closed status [ 12989542 ]

          People

          • Assignee:
            Benjamin Bentmann
            Reporter:
            Kristian Rosenvold
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development