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/11/30 22:51:16 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

------------------------------------------------------------------------------
  
  == Release Procedure All Modules at Once ==
  
- 1. Preparing myfaces extensions validator XX 1.X.X (read XX_1_X_X as <jsf-version>_<version> to make it clear)
+ 1. Create branches for
+  * http://svn.apache.org/repos/asf/myfaces/extensions/validator/trunk/ (http://svn.apache.org/repos/asf/myfaces/extensions/validator/branches/1_2_1prepare/)
+  * http://svn.apache.org/repos/asf/myfaces/extensions/validator/branches/jsf_1.1/ (http://svn.apache.org/repos/asf/myfaces/extensions/validator/branches/1_0_1prepare/)
  
+ 2. Change the version at org.apache.myfaces.extensions.validator.ExtValInformation within the new branches
+ 
+ 3. JIRA Release Management
+ 
+   * Create release version and next snapshot.
+   * On open issues reset field fix version.
+   * Edit all resolved issues change fix version from snapshot to release version.
+   * Transition of all issues from resolved to closed.
+ 
+ 4. Create the Release Notes[[BR]]
+    https://issues.apache.org/jira/secure/ConfigureReleaseNote.jspa?projectId=12310821
+ 
+ 5. Preparing myfaces extensions validator <jsf-version>_<extval-version>
      * Trying to prepare.
  {{{
- mvn release:prepare -DprepareRelease=true -DtagBase=https://svn.apache.org/repos/asf/myfaces/extensions/validator/branches/ -Dusername=lu4242 -Dscm.password=??? -Dtag="XX_1_X_X" -DdryRun=true
+ 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]" -DdryRun=true
  }}}
  
     * 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=lu4242 -Dscm.password=??? -Dtag="XX_1_0_X" -Dresume=false
+ mvn release:prepare -DprepareRelease=true -DtagBase=https://svn.apache.org/repos/asf/myfaces/extensions/validator/branches/ -Dusername=[user name] -Dscm.password=??? -Dtag="[extval version]" -Dresume=false
  }}}
  
    * 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.
  
    * Checkout generated branch
  
- 2. Deploy on local repo SUCCESS
+ 6. Deploy on local repo SUCCESS
  
    * Generate artifacts like javadoc and others.
  {{{
@@ -40, +55 @@

  mvn clean install deploy -DperformRelease=true  -DaltDeploymentRepository=myfaces-local-staging::default::scp://localhost/home/youraccount/toyourstagedirectory/somedirectorylikerepoextval1XX -DperformRelease=true
  }}}
  
- 3. Copy on people.apache.org
+ 7. Copy on people.apache.org
  
  {{{
- scp -p -r org lu4242@people.apache.org:/home/yourapacheaccount/public_html/myfacesextval1XX
+ scp -p -r org [user name]@people.apache.org:/home/[user name]/public_html/myfaces/extval/release_candidate
  }}}
  
- 4. Generate assembly
+ 8. Generate assembly
  
  {{{
  cd assembly
@@ -93, +108 @@

  scp myfaces-extval-examples-1.X.X-src* lu4242@people.apache.org:/home/lu4242/public_html/myfacesextval1XXbinsrc/sources
  }}}
  
- 5. JIRA Release Management
- 
-   * Create release version and next snapshot.
-   * On open issues reset field fix version.
-   * Edit all resolved issues change fix version from snapshot to release version.
-   * Transition of all issues from resolved to closed.
- 
- 6. Ask for vote
+ 9. Ask for vote
  
  {{{
  Hi,
@@ -165, +173 @@

  
  Enjoy!
  
- Pepito Perez
+ [Your name]
  }}}
  
  === Testing ===