You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Apache Wiki <wi...@apache.org> on 2010/12/22 16:12:02 UTC

[Httpcomponents Wiki] Update of "WebSite/ComponentSite" by OlegKalnichevski

Dear Wiki user,

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

The "WebSite/ComponentSite" page has been changed by OlegKalnichevski.
http://wiki.apache.org/HttpComponents/WebSite/ComponentSite

--------------------------------------------------

New page:
= HttpComponents Component Web Site =

== Generate content ==

Run the following command to generate the site content locally. Please note this process requires 
a valid Clover2 license. 

ASF committers can obtain a copy of Clover2 license donated to the ASF at 
[[https://svn.apache.org/repos/private/committers/donated-licenses/clover/|this location]]

{{{
mvn docbkx:generate-pdf docbkx:generate-html javadoc:javadoc site -Dmaven.clover.licenseLocation=<full-path>/clover.license 
}}}

Review and adjust the content if necessary.  

== Deploy content ==

Deploy site content to people.apache.org

{{{
mvn site-deploy -Dmaven.clover.licenseLocation=<full-path>/clover.license 
}}}

=== Manual adjustments ===

Log to people.apache.org and navigate to the web content staging directory

{{{
cd /www/hc.apache.org/
}}} 

Move component content to a directory with a unique name (usually containing the component version)

{{{
mv httpcomponents-core httpcomponents-core-4.1.1
}}}

Change the symbolic link for the actual DEV or GA release to point at the component directory. 

{{{
rm httpcomponents-core-ga
ln -s httpcomponents-core-4.1.1 httpcomponents-core-ga 
}}}

{{{
rm httpcomponents-core-dev
ln -s httpcomponents-core-4.2-snapshot httpcomponents-core-dev 
}}}

== Verify content ==

It may take several hours for the new content in the staging directory to get propagated to 
the productive web server. Verify that the site content is rendered correctly once it becomes
available.

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