This is an automated email from the ASF dual-hosted git repository. pottlinger pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/creadur-site.git
commit 400b7e45a64087eeddcb7705bffbde8833ac3063 Author: Hugo Hirsch <[email protected]> AuthorDate: Sun May 29 13:03:08 2022 +0200 Add preview page of rat --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 6020ef3..21a14a7 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ Its deployment is done via [asf.yaml](./.asf.yaml). Every commit is directly pus ## How to generate new page versions for RAT +## SNAPSHOT + In order to sync the current webpage (taken from current SNAPSHOT) you need to run the following commands: ``` @@ -17,3 +19,21 @@ $ cp -rvf ../creadur-rat/target/staging/* ./rat/ ``` *WARNING!* This will sync the current master branch/SNAPSHOT version of the homepage if not run on the release branch + +## Releases + +Due to problems when generating Javadoc do only use JDK16! Newer versions run into NPE during path traversal. + +``` +$ cd creadur-rat +$ git checkout apache-rat-project-0.14 +$ mvn clean site:site site:stage + +Verify contents under target/staging + +$ cd ../creadur-site +$ mkdir rat014 +$ cp -rvf ../creadur-rat/target/staging/* ./rat014/ +``` + +This will allow a preview of the release site build at [rat014](./rat014)
