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

Allow the platform scripts to avoid loading mavenrc content

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0.2
    • Command Line
    • None
    • Patch

    Description

      Jason Dillon recently sent me the attached patch, motivated by some troubles with forked Maven invocations where the MAVEN_OPTS env var used for the forked process seemed to be ignored. Actual issue was the override of the variable by the user-specific pre/post scripts. His patch adds a new env var MAVEN_SKIP_RC which allows to disable processing of the hook scripts, thereby decoupling from the user/machine-specific details.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: