Hi All, I am having a property named "test.version" in pom.xml
<properties> <test.version>8</test.version> </properties> and I have a the below entry in the same 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 trying to over-ride the value of the property "test.version" to 5 org.apache.maven.plugins:maven-release-plugin:2.0-beta-9:prepare -Dtest.version=5 But that is not overriding. It's trying to download the file UtilLibrary-8.jar instead of UtilLibrary-5.jar Please help in resolving this Thanks & Regards, Praveen.kasu DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. -----------------------------------------------------------------------------------------------------------------------