You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Thomas, Santhosh S" <Sa...@standardbank.co.za> on 2009/05/11 19:26:06 UTC
Environmental variable value for tag?
Hi Maven users,
Can I set environmental variable value for child pom's <parent>
<version> tag?
Something like below.
In Child pom..
<parent>
<artifactId>artifact-parent</artifactId>
<groupId>ab.cd.ef</groupId>
<version> ${env.variable}</version> <!--Can I set environmental variable
here ? -->
</parent>
If possible where should I declare the environmental variable?
Thanks in advance
Santhosh Thomas.
_____________________________________________________________________________________________________________________________________
Standard Bank email Disclaimer and confidentiality note
This e-mail, its attachments and any rights attaching hereto are, unless the content clearly indicates otherwise, the property of
Standard Bank Group Limited and its subsidiaries. It is confidential, private and intended for only the addressee.
Should you not be the addressee and receive this e-mail by mistake, kindly notify the sender, and delete this e-mail immediately.
Do not disclose or use it in any way. Views and opinions expressed in this e-mail are those of the sender unless clearly stated as
those of Standard Bank Group.
Standard Bank Group accepts no liability for any loss or damages howsoever incurred, or suffered, resulting, or arising,
from the use of this email or its attachments.
Standard Bank Group does not warrant the integrity of this e-mail nor that it is free of errors, viruses, interception or interference.
Licensed divisions of the Standard Bank Group are authorised financial services providers in terms of the Financial Advisory and
Intermediary Services Act, No 37 of 2002 (FAIS).
For information about the Standard Bank Group visit our website http://www.standardbank.com
________________________________________________________________________________________________________________________________________
Re: Environmental variable value for tag?
Posted by Kamlesh Sangani <xk...@yahoo.com>.
No this is not possible. <version> in <parent> can not use variable.
________________________________
From: "Thomas, Santhosh S" <Sa...@standardbank.co.za>
To: users@maven.apache.org
Sent: Monday, May 11, 2009 10:26:06 AM
Subject: Environmental variable value for <parent> <version> tag?
Hi Maven users,
Can I set environmental variable value for child pom's <parent>
<version> tag?
Something like below.
In Child pom..
<parent>
<artifactId>artifact-parent</artifactId>
<groupId>ab.cd.ef</groupId>
<version> ${env.variable}</version> <!--Can I set environmental variable
here ? -->
</parent>
If possible where should I declare the environmental variable?
Thanks in advance
Santhosh Thomas.
_____________________________________________________________________________________________________________________________________
Standard Bank email Disclaimer and confidentiality note
This e-mail, its attachments and any rights attaching hereto are, unless the content clearly indicates otherwise, the property of
Standard Bank Group Limited and its subsidiaries. It is confidential, private and intended for only the addressee.
Should you not be the addressee and receive this e-mail by mistake, kindly notify the sender, and delete this e-mail immediately.
Do not disclose or use it in any way. Views and opinions expressed in this e-mail are those of the sender unless clearly stated as
those of Standard Bank Group.
Standard Bank Group accepts no liability for any loss or damages howsoever incurred, or suffered, resulting, or arising,
from the use of this email or its attachments.
Standard Bank Group does not warrant the integrity of this e-mail nor that it is free of errors, viruses, interception or interference.
Licensed divisions of the Standard Bank Group are authorised financial services providers in terms of the Financial Advisory and
Intermediary Services Act, No 37 of 2002 (FAIS).
For information about the Standard Bank Group visit our website http://www.standardbank.com
________________________________________________________________________________________________________________________________________