Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1782

Configured Environment Variables do not take effect unless also added to excludedEnvironmentVariables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-M4
    • 3.0.0-M5
    • surefire-shared-utils
    • None

    Description

      If the maven environment contains a variable (ie "JAVA_HOME") and it is also added to plugin configuration as below, the variable value is not seen unless configuration also contains an exclusion entry for this variable.

      <environmentVariables>
        <JAVA_HOME>junk</JAVA_HOME>
      </environmentVariables>
      
      <excludedEnvironmentVariables>
        <excludedEnvironmentVariable>JAVA_HOME</excludedEnvironmentVariable>
      </excludedEnvironmentVariables>
      

      Attachments

        Issue Links

          Activity

            People

              tibordigana Tibor Digana
              akomakom Akom
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: