Class EnvironmentUtils
java.lang.Object
org.apache.maven.properties.internal.EnvironmentUtils
Assists the project builder. Warning: This is an internal utility class that is only public for
 technical reasons, it is not part of the public API. In particular, this class can be changed or deleted without
 prior notice.
- Since:
- 3.0
- Author:
- Benjamin Bentmann
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidaddEnvVars(Properties props) Adds the environment variables in the form of properties whose keys are prefixed withenv., e.g.
- 
Constructor Details- 
EnvironmentUtilspublic EnvironmentUtils()
 
- 
- 
Method Details- 
addEnvVarsAdds the environment variables in the form of properties whose keys are prefixed withenv., e.g.env.PATH. Unlike native environment variables, properties are always case-sensitive. For the sake of determinism, the environment variable names will be normalized to upper case on platforms with case-insensitive variable lookup.- Parameters:
- props- The properties to add the environment variables to, may be- null.
 
 
-