(In the following instructions we assume that your project is called ‘Apache Foo’; search and replace with your actual project name.)
cd site
sudo apt-get install rubygems ruby2.1-dev zlib1g-dev
(linux)sudo gem install bundler github-pages jekyll
bundle install
If your project supports javadoc, you can copy the generated javadoc into svn each time you need to re-generate.
cd ..
mvn -DskipTests site
mv target/site/apidocs site/target
Before opening a pull request, you can preview your contributions by running from within the directory:
bundle exec jekyll serve
cd site/target
svn status
svn add
any new filessvn ci
Within a few minutes, svnpubsub should kick in and you'll be able to see the results at foo.apache.org.