hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-httpclient Wiki] Update of "HttpComponentsCoreReleaseProcess" by OlegKalnichevski
Date Mon, 02 Jul 2007 16:47:36 GMT
Dear Wiki user,

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

The following page has been changed by OlegKalnichevski:
http://wiki.apache.org/jakarta-httpclient/HttpComponentsCoreReleaseProcess

------------------------------------------------------------------------------
  [link]
  }}}
  
+ == Release deployment ==
+ 
+  * Review your local Maven settings (usually located in ~/.m2/settings.xml)
+ 
+  It will make your life _infinitely_ easier if you have a functional GPG system installed
and are able 
+  to login into people.apache.org using your private key. If you are not comfortable with
the idea of 
+  having your phase stored in clear text on your disk either remove it from  settings.xml
once you 
+  are done with the release deployment or consider storing settings.xml on an encrypted partition.
+ 
+ {{{  
+ ...
+   <servers>
+     <server>
+       <id>apache.website</id>
+       <username>${your apache id}</username>
+       <passphrase>${your GPG pass phrase}</passphrase>
+       <directoryPermissions>775</directoryPermissions>
+       <filePermissions>644</filePermissions>
+     </server>
+     <server>
+       <id>apache.releases</id>
+       <username>${your apache id}</username>
+       <passphrase>${your GPG pass phrase}</passphrase>
+       <directoryPermissions>775</directoryPermissions>
+       <filePermissions>644</filePermissions>
+     </server>
+     <server>
+       <id>apache.snapshots</id>
+       <username>${your apache id}</username>
+       <passphrase>${your GPG pass phrase}</passphrase>
+       <directoryPermissions>775</directoryPermissions>
+       <filePermissions>644</filePermissions>
+     </server>
+   </servers>
+ ...
+ }}}
+ 
+  * Deploy release artifacts to the Maven2 repository
+ 
+ {{{
+ mvn deploy -P release
+ }}}
+ 
+   The 'release' profile parameter will cause release artifacts to be signed prior to deployment
to the remote 
+   repository
+ 
+   The command assumes presence of a functional gpg setup on the local system
+ 
+   Make sure to enter your GPG Passphrase when prompted for while deploying the artifacts.
All official ASF 
+   release artifacts MUST be signed
+ 
+ {{{
+ [INFO] [gpg:sign {execution: sign-artifacts}]
+ GPG Passphrase:****************
+ }}}
+ 
+  * Manually copy those artifacts to the Maven1 repository (we'll probably discontinue M1
support at some point of 
+  time, as this manual process is a MAJOR pain in the rectum)
+ 
+ {{{
+ ssh <your-apache-id>@people.apache.org
+ }}}
+ 
+ {{{
+ cd /www/people.apache.org/repo/m1-ibiblio-rsync-repository/httpcomponents-httpcore/jars
+ 
+ export HC_M2_HOME=/www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/httpcomponents
+ cp ${HC_M2_HOME}/httpcore/<version>/httpcore-<version>.jar* .
+ cp ${HC_M2_HOME}/httpcore-nio/<version>/httpcore-nio-<version>.jar* .
+ cp ${HC_M2_HOME}/httpcore-niossl/<version>/httpcore-niossl-<version>.jar* .
+ }}}
+ 
+   Make sure files are group writable
+ 
+ {{{
+ cd /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/httpcomponents
+ chmod -R g+w *
+ cd /www/people.apache.org/repo/m1-ibiblio-rsync-repository/httpcomponents-httpcore
+ chmod -R g+w *
+ }}}
+ 
+  * Deploy release packages
+ 
+ {{{
+ cd /www/www.apache.org/dist/jakarta/httpcomponents/httpcore
+ 
+ cp ~/public_html/httpcore-<version>/RELEASE_NOTES.txt .
+ cp ~/public_html/httpcore-<version>/packages/httpcomponents-core-<version>-src.*
source
+ cp ~/public_html/httpcore-<version>/packages/httpcomponents-core-<version>-bin.*
binary 
+ }}}
+ 
+   Make sure files are group writable
+ 
+ {{{
+ chmod -R g+w *
+ }}}
+ 
+  * This may also be a good occasion to delete old release packages
+ 
+ == Deploy HttpCore web site ==
+ 
+  * Regenerate clover reports
+ 
+ {{{
+ mvn clean clover:instrument clover:clover
+ }}}
+ 
+  * Build and deploy the site
+ 
+ {{{
+ mvn site:site site:deploy
+ }}}
+ 

---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Mime
View raw message