maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Fox <bri...@infinity.nu>
Subject Re: Help regarding Overriding the property value in child pom.xml
Date Fri, 04 Sep 2009 15:19:30 GMT
These questions belong on the user list. If you asked there, I'll answer it ;-)

On Wed, Sep 2, 2009 at 4:26 PM, Arul Anand S P<arulanandsp@gmail.com> wrote:
> hi all,
>
> I am having a property named test.version in parent pom.xml
>
>  <properties>
>    <test.version>8</test.version>
>  </properties>
>
> and I have a the below entry in child pomT.xml
>    <dependencies>
>        <dependency>
>            <groupId>com.test.data</groupId>
>            <artifactId>UtilLibrary</artifactId>
>            <version>${test.version}</version>
>        </dependency>
>  </dependencies>
>
> While executing the release:prepare from the command prompt I am over-riding
> the value of the property test.version to 5
> But the child pom.xml still takes the value 8 instead of 5 and is trying to
> download the file UtilLibrary-8.jar instead of UtilLibrary-5.jar
>
> Please help in resolving this
>
>
>
>
>
> --
> Regards,
> Arul
>

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


Mime
View raw message