added a comment - - edited
Has there been any resolution to this issue? I am currently also trying to access environment variables from within <profile> (be it within profiles.xml and pom.xml) with no success. Outside of <profile>, I can access environment variables just fine, but within <profile>, using the environment variable as an activation property, does not seem to work.
I've been unsuccessful trying to access the variable using the following methods within <profile>:
Any information reguarding this issue would be greatly appreciated... especially since this has been an issue for well over a year now (referring to http://jira.codehaus.org/browse/MNG-2276 ).
Defining the variable via the commandline interface does work however, as stated in the link above.
Btw, my version of maven is 2.0.7