Apache » Cocoon »

  Apache Cocoon

Apache Cocoon

How to build the site locally

This page explains how to build the Cocoon documentation site with the maven-site-plugin.

Existing site checkout

The live website is generated from XDOC sources and published via Svnpubsub

You can fetch a copy of the live website with

svn co https://svn.apache.org/repos/asf/cocoon/site/site $LIVEWEBSITE
where $LIVEWEBSITE is the directory that will contain the website.

Site sources checkout

  • For Cocoon 2.2:
    svn co https://svn.apache.org/repos/asf/cocoon/trunk/site $SITESOURCES22
    where $SITESOURCES22 is the root directory for 2.2 site sources.
  • For Cocoon 3.0:
    svn co https://svn.apache.org/repos/asf/cocoon/cocoon3/trunk/parent $SITESOURCES30
    where $SITESOURCES30 is the directory for 3.0 site sources.

Building the website

  1. Once you have made some modifications, cd into one of $SITESOURCES22 subdirectories or into $SITESOURCES30 (depending on what portion of the site you would like to build) and launch
    mvn site-deploy -Ddocs.deploymentBaseUrl=file://$LIVEWEBSITE
  2. Point your favorite browser to file://$LIVEWEBSITE