I think the property value should be substituted properly if you
deploy the artifact to a repository, though perhaps not when it is
installed.
Give that a try and report back.
Wayne
On 1/2/07, Mick Knutson <[EMAIL PROTECTED]> wrote:
I created a profile.xml and added a version there:
<profile>
<id>unix</id>
<activation>
<property>
<name>env</name>
<value>unix</value>
</property>
</activation>
<properties>
<env>qa</env>
<default.project.version>2.1.5</default.project.version>
<compiler.debug>true</compiler.debug>
<property.configurer.location.path>${
property.configurer.location.path.unix}</property.configurer.location.path>
<property.configurer.location>${
property.configurer.location.unix}</property.configurer.location>
</properties>
</profile>
</profiles>
On 1/2/07, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Hi All
>
> Is that possible to have
>
>
> <groupId>test</groupId>
> <artifactId>test</artifactId>
> <version>${cur.Version}</version>
> <relativePath>../../pom.xml</relativePath>
>
>
>
> where i define cur.Version=1.0 in <properties> section,
>
> I tried to doing it, it worked but when it uploded pom to remote repsitory
> pom file was not replaced by ${cur.Version}value from properties
>
>
>
> Thanks,
> Raghurajan Gurunathan
>
>
>
>
> -----------------------------------------
> This transmission may contain information that is privileged,
> confidential, legally privileged, and/or exempt from disclosure
> under applicable law. If you are not the intended recipient, you
> are hereby notified that any disclosure, copying, distribution, or
> use of the information contained herein (including any reliance
> thereon) is STRICTLY PROHIBITED. Although this transmission and
> any attachments are believed to be free of any virus or other
> defect that might affect any computer system into which it is
> received and opened, it is the responsibility of the recipient to
> ensure that it is virus free and no responsibility is accepted by
> JPMorgan Chase & Co., its subsidiaries and affiliates, as
> applicable, for any loss or damage arising in any way from its use.
> If you received this transmission in error, please immediately
> contact the sender and destroy the material in its entirety,
> whether in electronic or hard copy format. Thank you.
>
>
--
Thanks
DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]