From 0c0a571b99850b4d9e3a10e420e057ce8d9f39d0 Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Sat, 19 Nov 2022 15:22:40 +0100 Subject: [PATCH] Site build - gitHub ribbon, stage site - gitHub ribbon from parent project use artifact name, not valid for multi module - stage site during build - one less a manual goal --- README.md | 5 ++++- pom.xml | 15 +++++++++++++++ src/site/site.xml | 26 ++++++++++++++++++-------- 3 files changed, 37 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index aaf2a4a62d..b2512e9a37 100644 --- a/README.md +++ b/README.md @@ -53,5 +53,8 @@ For publishing the site do the following: ``` cd target/checkout -../mvnw verify site site:stage scm-publish:publish-scm +../mvnw site +../mvnw scm-publish:publish-scm ``` + +for multi module site - we need two executions diff --git a/pom.xml b/pom.xml index 5f2072ff36..14c99efdc4 100644 --- a/pom.xml +++ b/pom.xml @@ -223,6 +223,21 @@ + + + org.apache.maven.plugins + maven-site-plugin + + + default-site + site + + site + stage + + + + diff --git a/src/site/site.xml b/src/site/site.xml index f2f2bbeecb..3c8eff68ca 100644 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -2,14 +2,24 @@ + https://maven.apache.org/xsd/decoration-1.8.0.xsd"> - - - - - + + + + mojohaus/versions + right + gray + + + - - + + + + + + + +