[
https://issues.apache.org/jira/browse/HADOOP-7506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079172#comment-13079172
]
Giridharan Kesavan commented on HADOOP-7506:
--------------------------------------------
Luke's suggestion seem to work. Thanks Luke.
{noformat}
mvn versions:set -DnewVersion=<newversion}
need to execute the same command at two levels
executing at trunk level changes the version in the root pom.xml and
hadoop-common/pom.xml
executing the command at trunk/hadoop-project level updates the version for
hadoop-project, hadoop-annotations and hadoop-assemblies pom.xml
{noformat}
> hadoopcommon build version cant be set from the maven commandline
> -----------------------------------------------------------------
>
> Key: HADOOP-7506
> URL: https://issues.apache.org/jira/browse/HADOOP-7506
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: build
> Affects Versions: 0.23.0
> Reporter: Giridharan Kesavan
> Assignee: Giridharan Kesavan
> Attachments: HADOOP-7506.PATCH
>
>
> pom.xml had to introduce hadoop.version property with the default value set
> to the snapshot version. If someone during build time want to override the
> version from maven command line they can do so by passing
> -Dhadoop.version="". For ppl who doesnt want to change the default version
> can continue building.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira