Akom created SUREFIRE-1782:
------------------------------
Summary: Configured Environment Variables do not take effect
unless also added to excludedEnvironmentVariables
Key: SUREFIRE-1782
URL: https://issues.apache.org/jira/browse/SUREFIRE-1782
Project: Maven Surefire
Issue Type: Bug
Components: surefire-shared-utils
Affects Versions: 3.0.0-M4
Reporter: Akom
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.
{code:xml}
<environmentVariables>
<JAVA_HOME>junk</JAVA_HOME>
</environmentVariables>
{code}
{code:xml}
<excludedEnvironmentVariables>
<excludedEnvironmentVariable>JAVA_HOME</excludedEnvironmentVariable>
</excludedEnvironmentVariables
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)