Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6001

Replace %HOME% with %USERPROFILE% in mvn.cmd

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.9
    • 3.5.0-alpha-1, 3.5.0
    • Command Line
    • None

    Description

      Setting HOME=%HOMEDRIVE%%HOMEPATH% is a relic from Windows NT times. The preferred way is to use %USERPROFILE% which is already done in Java 8 internally.

      Let's use it to load the mavenrc scripts.

      Some references:

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            michael-o Michael Osipov
            michael-o Michael Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment