You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2023/01/29 10:54:01 UTC
[maven-site] branch master updated: add site compilation command
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git
The following commit(s) were added to refs/heads/master by this push:
new 7407e122 add site compilation command
7407e122 is described below
commit 7407e1229d684c527adae00f4a6812f88dc29f85
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sun Jan 29 11:53:56 2023 +0100
add site compilation command
---
.../developers/release/maven-project-release-procedure.apt | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/content/apt/developers/release/maven-project-release-procedure.apt b/content/apt/developers/release/maven-project-release-procedure.apt
index 5268d6d5..3c827cd5 100644
--- a/content/apt/developers/release/maven-project-release-procedure.apt
+++ b/content/apt/developers/release/maven-project-release-procedure.apt
@@ -60,14 +60,17 @@ Performing a Maven Project Release
If the item you are planning to release is not using the most recent version of its parent
(see {{{../../pom/}parent POMs}} index), consider taking this opportunity to update to it.
-* Make sure that site compilation and publication works
+* Make sure that site compilation works
- Particularly if you update the parent (but sometimes under other circumstances),
- the site compilation process may fail, or reveal a conspicuous error,
- or deploy to the wrong location. It is stressful and time-consuming
+ Particularly if you update the parent or if you updated your javadoc,
+ the site compilation process may fail, or reveal a conspicuous error. It is stressful and time-consuming
to discover this *after* you stage a release and then try to follow
the procedure to deploy the site for review. So you may find it more
- pleasant to check out the state of the site before you start.
+ pleasant to check out the state of the site before you start:
+
+----
+mvn -Preporting site site:stage
+----
* Stage the Release