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 pom.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

Reply via email to