You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@metamodel.apache.org by Apache Wiki <wi...@apache.org> on 2014/04/28 21:45:11 UTC

[Metamodel Wiki] Update of "ReleaseGuide" by KasperSorensen

Dear Wiki user,

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

The "ReleaseGuide" page has been changed by KasperSorensen:
https://wiki.apache.org/metamodel/ReleaseGuide?action=diff&rev1=1&rev2=2

Comment:
Added my notes from 4.1.0-RC1 release process (so far)

- *** UNDER CONSTRUCTION ***
+ = Release Guide =
  
- This page will describe the steps to generate release artifacts for Apache MetaModel
+ Here you will find a collection of notes and instructions on doing a release of Apache MetaModel. The page is largely written by Release Engineers (RE) as a note document while conducting releases based on the links below:
  
+ Useful links:
+  * General info: http://incubator.apache.org/guides/releasemanagement.html
+  * Java release: http://incubator.apache.org/guides/release-java.html
+  * Hands-on guide: https://www.apache.org/dev/publishing-maven-artifacts.html
+  * Example release guide from another project: http://incubator.apache.org/odftoolkit/odftoolkit-release-guide.html (double check prerequisites)
+ 
+ NOTE: This page is still in construction
+ 
+ == Release steps: ==
+ 
+ Set <server> elements in Maven's settings.xml
+ {{{
+ <!-- To publish a snapshot of some part of Maven -->
+ <server>
+     <id>apache.snapshots.https</id>
+     <username>APACHE_USERNAME</username>
+     <password>APACHE_PASSWORD</password>
+ </server>
+ <!-- To stage a release of some part of Maven -->
+ <server>
+     <id>apache.releases.https</id>
+     <username>APACHE_USERNAME</username>
+     <password>APACHE_PASSWORD</password>
+ </server>
+ }}}	
+ Stage release:
+ {{{
+ > mvn clean release:prepare -Dusername=APACHE_USERNAME -Dpassword=APACHE_PASSWORD
+ > mvn clean release:perform -Dusername=APACHE_USERNAME -Dpassword=APACHE_PASSWORD
+ }}}
+ Sometimes the last command (release:perform) will not work the first time since inter-dependencies cannot be found during build. To fix, follow these commands:
+ {{{
+ > cd target/checkout
+ > mvn install -Dmaven.test.skip=true
+ > cd ../..
+ > mvn clean release:perform -Dusername=APACHE_USERNAME -Dpassword=APACHE_PASSWORD
+ }}}
+ Go to nexus (https://repository.apache.org), log in and select the repo. Close it.
+ 
+ Now call for a VOTE on the release. Here's an example email you can use as a template:
+ {{{
+ Subject: [VOTE] Apache Metamodel incubating release 4.1.0-RC1
+ }}}
+ {{{
+ Hi All,
+ 
+ Please vote on releasing the following candidate as
+ Apache Metamodel(incubating) version 4.1.0-RC1.
+ 	
+ The Git tag to be voted on is v4.1.0-RC1-incubating.
+ 	
+ The source artifact to be voted on is:
+ http://repository.apache.org/content/repositories/orgapachemetamodel-1000/org/apache/metamodel/MetaModel/4.1.0-RC1-incubating/MetaModel-4.1.0-RC1-incubating-source-release.zip
+ 
+ Release artifacts are signed with the following key:
+ https://people.apache.org/keys/committer/kaspersor.asc
+ 
+ The staging Maven repository for this release can be found at:
+ https://repository.apache.org/content/repositories/orgapachemetamodel-1000
+ 
+ Please vote on releasing this package as Apache MetaModel 4.1.0-RC1-incubating.
+ 	
+ The vote is open until May 1st, 2014 16:00 CET and passes if a majority of at least 3 IPMC votes are cast.
+ 
+ [ ] +1 Release this package as Apache MetaModel 4.1.0-RC1-incubating
+ [ ] -1 Do not release this package because ...
+ 
+ Regards,
+ Kasper Sørensen
+ }}}
+ If the VOTE is successful, go to Nexus and Release the repo.
+ 
+ TODO: Upload to dist.apache.org, Handle download mirrors, Update website
+