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

Support MAVEN_OPTS in mvnDebug script

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.9
    • 2.0.11, 2.1.0, 3.0-alpha-1
    • Command Line
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: