[ https://issues.apache.org/jira/browse/MNG-5598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MNG-5598. ------------------------------- Resolution: Incomplete Almost a year passed and no example uploaded. > Environment variables must be written in UPPER CASE > --------------------------------------------------- > > Key: MNG-5598 > URL: https://issues.apache.org/jira/browse/MNG-5598 > Project: Maven > Issue Type: Bug > Affects Versions: 3.0.4 > Environment: Windows > Reporter: Markus Karg > > On Windows, it is valid and common practice to define environment variables > with mixed case names, e. g. SystemDrive, SystemRoot, ProgramData, etc. > When writing such mixed case names in the pom.xml, these cannot be resolved > but will be used as string literals. For example, the popular exec plugin > from codehaus mojo project complains it cannot find the executable at > LITERALLY ${env.MSDevDir}/Bin/MSDEV.exe, while actually that variable is > defined in exactly that mixed case name, and points to the existing > executable. Once MSDevDir is replaced in the (wrong!) UPPER CASE form of > ${env.MSDEVDIR}, then the executable is found, which is weird! > While the MavenPropertiesGuide > (http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide) actually > only shows examples using UPPER CASE environment variables, it does not > clearly say that this is an enforced restriction. Hence, either this is a bug > in the Maven software (i. e. it unintentionally expects UPPER CASE), or it is > to be clearly said in the properties guide that UPPER CASE is a wanted > constrained of Maven. -- This message was sent by Atlassian JIRA (v6.3.4#6332)