Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change 
notification.

The "HowToReleasePostMavenization" page has been changed by Arun C Murthy:
http://wiki.apache.org/hadoop/HowToReleasePostMavenization?action=diff&rev1=8&rev2=9

  = Building =
  
        1. Build the release & run unit tests.  This is captured in 
[[http://svn.apache.org/viewvc/hadoop/nightly/hudsonBuildHadoopRelease.sh?view=markup]].
 {{{
+ # mvn clean
+ $ mvn clean
+ 
  # set version
  $ mvn versions:set -DnewVersion=$version
- # first pass, make the distribution
+ # first pass, make the distribution (do not use 'clean')
- $ mvn clean package install site -Psrc -Pnative -Pdist -DskipTests=true 
-Dcontainer-executor.conf.dir=/etc/hadoop
+ $ mvn package install site -Psrc -Pnative -Pdist -DskipTests=true 
-Dcontainer-executor.conf.dir=/etc/hadoop
  
  # remove ivy cache and build MR1 jars, copy them to the distribution 
  $ rm -rf ~/.ivy2/cache/org.apache.hadoop*

Reply via email to