Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
In org.apache.maven.shared.invoker.MavenCommandLineBuilder
we have code:
if ( request.isShellEnvironmentInherited() )
{
cli.addSystemEnvironment();
}
but in org.apache.maven.shared.utils.cli.Commandline we have:
public String[] getEnvironmentVariables() { addSystemEnvironment(); ... }
System environment variable are always added - it is inconsistent implementation.
Attachments
Issue Links
- is blocked by
-
MSHARED-1014 Optionally inherit system environment variables by Commandline
- Closed
- is related to
-
MSHARED-969 Environment variable with null value
- Closed
- links to