Maven SCM
  1. Maven SCM
  2. SCM-765

jgit provider commits changes with system user instead of passed username

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.1
    • Labels:
      None

      Description

      When using the jgit provider over http, it allows to define username / password like this:

      mvn release:prepare release:perform -Dresume=false -Dusername=myuser -Dpassword=XXX
      

      But the commit will not be done with the given user but with the system user who started the process, instead the passed user is only used for transport. Well that might be fine in the first thought, but it will mean in the git repository it is not recorded who really did make the release.

        Activity

        Show
        Dominik Bartholdi added a comment - PR placed https://github.com/apache/maven-scm/pull/16
        Hide
        Karl Heinz Marbaise added a comment -

        seemed to be fixed by git commit: 037ba69bced119de1618526e6977940908eeb7bc

        Show
        Karl Heinz Marbaise added a comment - seemed to be fixed by git commit: 037ba69bced119de1618526e6977940908eeb7bc
        Hide
        Dominik Bartholdi added a comment -

        yeah, I finally got my commit credentials back working - thanks for checking

        Show
        Dominik Bartholdi added a comment - yeah, I finally got my commit credentials back working - thanks for checking

          People

          • Assignee:
            Dominik Bartholdi
            Reporter:
            Dominik Bartholdi
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development