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

Skip '.mavenrc' via MAVEN_SKIP_RC=1 and '-Dmaven.skip.rc=true' on child ITs (by default on Jenkins CI).

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • None
    • Integration Tests
    • None
    • ASF Jenkins CI

    Description

      This is related to the problem with MAVEN_OPTS.

      If Jenkins has global '.mavenrc' then the environment variables are merged with local ones and applied in Maven JVM which is controlled by $MVN_HOME/bin/mvn

      If you want to isolate the JVM from global '.mavenrc', you have to set environment variable to non-zero length value, i.e. MAVEN_SKIP_RC=1.

      This commit controls skipping '.mavenrc' in AbstractMavenIntegrationTestCase.

      Attachments

        Issue Links

          Activity

            People

              tibordigana Tibor Digana
              tibordigana Tibor Digana
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: