This repository contains the GitHub pages for XStream that are used to render automatically the static website of XStream.
The content of this repository is generated. XStream uses Maven and XSite to generate the pages. To create an update of the site, you have to edit the sources in the XStream repository.
- Java 8 runtime
- Maven 3.0
-
Create a clone of the current repository
-
Create a clone of the XStream Git repository using the same base directory and switch to v-1.4.x branch.
-
Edit the sources in xstream.git/xstream-distribution/src/content
-
From the root of xstream.git call
mvn clean package
-
Update the repository with the GitHub pages.
rsync -cr --progress --delete --exclude=".*" --exclude="*.md" --exclude=jira --exclude 1\\.\* --exclude="*javadoc" ./xstream-distribution/target/xsite/ ../x-stream.io/
Typically you want to update the site after a XStream release. In that case you can call:
cp -r target/checkout/xstream-distribution/target/xsite ../x-stream.io/''<version>''
rsync -cr --progress --delete --exclude=".*" --exclude="*.md" --exclude=jira --exclude 1\\.\* ./target/checkout/xstream-distribution/target/xsite/ ../x-stream.io/
Note, that this variant will also replace the javadocs.