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

Support MAVEN_OPTS in mvnDebug script

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.9
    • Fix Version/s: 2.0.11, 2.1.0, 3.0-alpha-1
    • Component/s: Command Line
    • Labels:
      None

      Description

      When using "mvnDebug" to start maven, the MAVEN_OPTS environment variable from $HOME/.mavenrc is not used. This makes it hard to set stuff like -Xmx on a debuggable maven instance.

      Workaround of course is not to use mvnDebug but put all debug option, including the -Xmx, inside the MAVEN_OPTS, but this kind of beats the purpose of mvnDebug

        Attachments

        1. debug-opts.patch
          3 kB
          Benjamin Bentmann

          Issue Links

            Activity

              People

              • Assignee:
                bentmann Benjamin Bentmann
                Reporter:
                polesen Per Olesen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: