You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Hauschel Fred Robert <Fr...@Cirquent.de> on 2010/12/17 11:06:56 UTC

Maven and environment Properties - Feature or bug ??

In windows:

set test=dev and using  ${env.test} in the pom for example in <name>
myArtifact _${env.test}</name>
Results in: Building myArtifact_${env.test} 00.01-SNAPSHOT

set TEST=dev and using  ${env.TEST} in the pom for example in <name>
myArtifact _${env.TEST}</name>
Results in: Building myArtifact_dev 00.01-SNAPSHOT

How cool is that?
For me that was a very expensive Feature!
Or did I have problems understanding the environment variables? Is there
a case sensitivity in general ??

Fredy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


AW: Maven and environment Properties - Feature or bug ??

Posted by Hauschel Fred Robert <Fr...@Cirquent.de>.
Rtfm ;-)

Thanks!!!
Fredy


-----Ursprüngliche Nachricht-----
Von: Benjamin Bentmann [mailto:benjamin.bentmann@udo.edu] 
Gesendet: Freitag, 17. Dezember 2010 12:18
An: Maven Users List
Betreff: Re: Maven and environment Properties - Feature or bug ??

Hauschel Fred Robert wrote:

> Or did I have problems understanding the environment variables? Is there
> a case sensitivity in general ??

http://maven.apache.org/pom.html#Properties


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven and environment Properties - Feature or bug ??

Posted by Benjamin Bentmann <be...@udo.edu>.
Hauschel Fred Robert wrote:

> Or did I have problems understanding the environment variables? Is there
> a case sensitivity in general ??

http://maven.apache.org/pom.html#Properties


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org