This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch release-3.4.0-RC1
in repository https://gitbox.apache.org/repos/asf/causeway.git
The following commit(s) were added to refs/heads/release-3.4.0-RC1 by this push:
new 387a21243be updates release docs, verify-causeway-release.sh
387a21243be is described below
commit 387a21243bef6e76c37680aeb547d79242d5901f
Author: Dan Haywood <[email protected]>
AuthorDate: Fri Jul 4 23:46:47 2025 +0100
updates release docs, verify-causeway-release.sh
---
.../comguide/modules/ROOT/pages/cutting-a-release.adoc | 16 ++++++----------
.../comguide/modules/ROOT/pages/verifying-releases.adoc | 12 ------------
.../partials/verify-process-docker-container-prep.adoc | 2 +-
scripts/verify-causeway-release.sh | 6 +++---
4 files changed, 10 insertions(+), 26 deletions(-)
diff --git
a/antora/components/comguide/modules/ROOT/pages/cutting-a-release.adoc
b/antora/components/comguide/modules/ROOT/pages/cutting-a-release.adoc
index 31eabbca4ef..17de4a3010f 100644
--- a/antora/components/comguide/modules/ROOT/pages/cutting-a-release.adoc
+++ b/antora/components/comguide/modules/ROOT/pages/cutting-a-release.adoc
@@ -573,14 +573,13 @@ git pull --ff-only
git checkout -b $CAUSEWAYBRANCH-jpa
-mvnd versions:update-parent -DparentVersion="[$CAUSEWAYREL,$CAUSEWAYREL]"
-Dskip.nightly # <.>
-mvnd versions:set -DnewVersion=$CAUSEWAYREL
+find . -name pom.xml -exec sed -i ''
"s/<version>${CAUSEWAYREL}-SNAPSHOT<\/version>/<version>${CAUSEWAYREL}<\/version>/g"
{} +
git add .
git commit -m "$CAUSEWAYJIRA - updates to $CAUSEWAYREL (jpa)"
----
-+
-<.> the top-level `pom.xml` references the ASF staging repository, so this
will pull down the release if not already present in `~/.m2/repository`.
+
+The parent `pom.xml` references the ASF staging repository, so this will pull
down the release if not already present in `~/.m2/repository`.
** Test the app
+
@@ -610,8 +609,7 @@ git pull --ff-only
git checkout -b $CAUSEWAYBRANCH-jdo
-mvnd versions:update-parent -DparentVersion="[$CAUSEWAYREL,$CAUSEWAYREL]"
-Dskip.nightly
-mvnd versions:set -DnewVersion=$CAUSEWAYREL
+find . -name pom.xml -exec sed -i ''
"s/<version>${CAUSEWAYREL}-SNAPSHOT<\/version>/<version>${CAUSEWAYREL}<\/version>/g"
{} +
git add .
git commit -m "$CAUSEWAYJIRA - updates to $CAUSEWAYREL (jdo)"
@@ -666,8 +664,7 @@ git pull --ff-only
git checkout -b $CAUSEWAYBRANCH-jpa
-mvnd versions:update-parent -DparentVersion="[$CAUSEWAYREL,$CAUSEWAYREL]"
-Dskip.nightly # <.>
-mvnd versions:set -DnewVersion=$CAUSEWAYREL
+find . -name pom.xml -exec sed -i ''
"s/<version>${CAUSEWAYREL}-SNAPSHOT<\/version>/<version>${CAUSEWAYREL}<\/version>/g"
{} +
git add .
git commit -m "$CAUSEWAYJIRA - updates to $CAUSEWAYREL (jpa)"
@@ -703,8 +700,7 @@ git pull --ff-only
git checkout -b $CAUSEWAYBRANCH-jdo
-mvnd versions:update-parent -DparentVersion="[$CAUSEWAYREL,$CAUSEWAYREL]"
-Dskip.nightly
-mvnd versions:set -DnewVersion=$CAUSEWAYREL
+find . -name pom.xml -exec sed -i ''
"s/<version>${CAUSEWAYREL}-SNAPSHOT<\/version>/<version>${CAUSEWAYREL}<\/version>/g"
{} +
git add .
git commit -m "$CAUSEWAYJIRA - updates to $CAUSEWAYREL (jdo)"
diff --git
a/antora/components/comguide/modules/ROOT/pages/verifying-releases.adoc
b/antora/components/comguide/modules/ROOT/pages/verifying-releases.adoc
index 42dbeb89217..47f6b101dde 100644
--- a/antora/components/comguide/modules/ROOT/pages/verifying-releases.adoc
+++ b/antora/components/comguide/modules/ROOT/pages/verifying-releases.adoc
@@ -29,18 +29,6 @@ Note that the binaries are _not_ an ASF release, they merely
exist on the Maven
That said, you might also want to verify the release by pulling the binaries
from the Maven staging repository.
Details of how to do this are also documented below.
-== Prerequisites
-
-You will also require the following commands/tools:
-
-* `bash` - to run shell script
-* `curl` - to download the ZIP and ASC files
-* `gpg` - to verify signatures
-* `unzip` - to unzip the ZIP files
-* JDK 17
-
-* Apache Maven (`mvn`) 3.9.6+
-
== Verifying source artifacts
The easiest way to verify the source artifacts is to use a script that
automates the steps.
diff --git
a/antora/components/comguide/modules/ROOT/partials/verify-process-docker-container-prep.adoc
b/antora/components/comguide/modules/ROOT/partials/verify-process-docker-container-prep.adoc
index 8a580cd50a7..7606fd35a03 100644
---
a/antora/components/comguide/modules/ROOT/partials/verify-process-docker-container-prep.adoc
+++
b/antora/components/comguide/modules/ROOT/partials/verify-process-docker-container-prep.adoc
@@ -1,4 +1,4 @@
-apt update && apt install -y curl zip unzip
+apt update && apt install -y curl zip unzip vim
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install maven 3.9.10
diff --git a/scripts/verify-causeway-release.sh
b/scripts/verify-causeway-release.sh
index ffa346e8079..5dcf5e7b1f8 100755
--- a/scripts/verify-causeway-release.sh
+++ b/scripts/verify-causeway-release.sh
@@ -24,7 +24,7 @@
# where nexus_repo_number, causeway_version and [RC_number] are as advised in
# releese candidate vote message.
#
-# eg: ./verify_causeway_release.sh 1101 2.0.0-M3 RC1
+# eg: ./verify_causeway_release.sh 1033 3.4.0 RC1
#
#
# prereqs:
@@ -32,7 +32,7 @@
# gpg
# unzip
# jdk 11+ (make sure you have the 'jar' command!)
-# mvn 3.6.0+
+# mvn 3.9.10+
#
## uncomment for single line step through debugging
@@ -145,7 +145,7 @@ if [[ -z "$NEXUSREPONUM" || -z "$VERSION" || -z "$RC" ]];
then
fi
cat <<EOF >/tmp/url.txt
-http://repository.apache.org/content/repositories/orgapachecauseway-$NEXUSREPONUM/org/apache/causeway/causeway-bom/$VERSION/causeway-bom-$VERSION-source-release.zip
+https://repository.apache.org/service/local/repositories/orgapachecauseway-$NEXUSREPONUM/content/org/apache/causeway/causeway-bom/$VERSION/causeway-bom-$VERSION-source-release.zip.asc
EOF
# The work starts here