You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2008/12/01 19:57:39 UTC

[Myfaces Wiki] Update of "Extensions/Validator/DevDoc/Steps For A Release" by GerhardPetracek

Dear Wiki user,

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

The following page has been changed by GerhardPetracek:
http://wiki.apache.org/myfaces/Extensions/Validator/DevDoc/Steps_For_A_Release

------------------------------------------------------------------------------
  mvn release:prepare -DprepareRelease=true -DtagBase=https://svn.apache.org/repos/asf/myfaces/extensions/validator/branches/ -Dusername=[user name] -Dtag="[extval version]" -DdryRun=true
  }}}
  
+ If there is an error use:
+ {{{
+ mvn install -Pgenerate-assembly
+ }}}
+ and run the previous statement again.
+ 
     * Prepare it (this step changes version numbers and do other validations)
  
  {{{
  mvn release:prepare -DprepareRelease=true -DtagBase=https://svn.apache.org/repos/asf/myfaces/extensions/validator/branches/ -Dusername=[user name] -Dscm.password=[svn password] -Dtag="[extval version]" -Dresume=false
  }}}
+ 
+ If there is an error use:
+ {{{
+ mvn clean install
+ mvn install -Pgenerate-assembly
+ mvn release:rollback -DprepareRelease=true
+ }}}
+ and run the previous statement again.
  
    * It fails (generally maven release plugin says something about cannot find a dependency that is building) run mvn install, mvn release:rollback and try to release it again. It is a known maven release plugin error.