This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-access.git


The following commit(s) were added to refs/heads/main by this push:
     new faac675  Trivial build improvements for release candidate
faac675 is described below

commit faac675436fbe78961dcb308d52c11d0fca20a38
Author: Christopher Tubbs <[email protected]>
AuthorDate: Tue Mar 24 18:02:49 2026 -0400

    Trivial build improvements for release candidate
    
    * Update create-release-candidate script and corresponding pom fields to
      automatically determine values from the pom and minimize the
      differences in this script to the same script in other Accumulo repos
    * Fix apilyzer plugin configuration to analyze all classes in the public
      API package
---
 modules/core/pom.xml                  |  6 +-----
 pom.xml                               |  2 +-
 src/build/create-release-candidate.sh | 25 +++++++++++++++++--------
 3 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/modules/core/pom.xml b/modules/core/pom.xml
index 2e6eaea..6020b8f 100644
--- a/modules/core/pom.xml
+++ b/modules/core/pom.xml
@@ -73,11 +73,7 @@
             </goals>
             <configuration>
               <includes>
-                
<include>org[.]apache[.]accumulo[.]access[.]InvalidAccessExpressionException</include>
-                
<include>org[.]apache[.]accumulo[.]access[.]AccessExpression</include>
-                
<include>org[.]apache[.]accumulo[.]access[.]AccessEvaluator</include>
-                
<include>org[.]apache[.]accumulo[.]access[.]Authorizations</include>
-                
<include>org[.]apache[.]accumulo[.]access[.]ParsedAccessExpression</include>
+                <include>org[.]apache[.]accumulo[.]access[.][^.]*</include>
               </includes>
             </configuration>
           </execution>
diff --git a/pom.xml b/pom.xml
index 8bcdbaf..820ff35 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,7 +31,7 @@
   <artifactId>accumulo-access</artifactId>
   <version>1.0.0-beta2-SNAPSHOT</version>
   <packaging>pom</packaging>
-  <name>Apache Accumulo Access Project</name>
+  <name>Apache Accumulo Access</name>
   <description>Apache Accumulo Access is a library that provides the same 
functionality,
       semantics, and syntax as the Apache Accumulo ColumnVisibility and
       VisibilityEvaluator classes. This functionality is provided in a
diff --git a/src/build/create-release-candidate.sh 
b/src/build/create-release-candidate.sh
index c7d3b47..05d8b03 100755
--- a/src/build/create-release-candidate.sh
+++ b/src/build/create-release-candidate.sh
@@ -23,12 +23,12 @@ scriptname=$(basename "$0")
 projectroot="$(git rev-parse --show-toplevel)" || exit 1
 cd "$projectroot" || exit 1
 export tlpName=accumulo
-export projName="${tlpName}-access"
-export projNameLong="Apache ${projName^}"
+export projName="$(xmllint --shell pom.xml <<<'xpath 
/*[local-name()="project"]/*[local-name()="artifactId"]/text()' | grep content= 
| cut -f2 -d=)"
+export projNameLong="$(xmllint --shell pom.xml <<<'xpath 
/*[local-name()="project"]/*[local-name()="name"]/text()' | grep content= | cut 
-f2 -d=)"
 export 
stagingRepoPrefix="https://repository.apache.org/content/repositories/orgapache$tlpName";
 export srcQualifier="source-release"
 export 
relTestingUrl="https://$tlpName.apache.org/contributor/verifying-release";
-export tagPrefix="rel/"
+export tagPrefix="rel/$projName-"
 
 # check if running in a color terminal
 terminalSupportsColor() {
@@ -161,8 +161,9 @@ createEmail() {
   echo
   echo "    Remember, $(red DO NOT PUSH) the $(red "$tag") tag until after the 
vote"
   echo "    passes and the tag is re-made with a gpg signature using:"
-  echo "      $(red "git tag -f -s -m '$projNameLong $ver' $tag") \\"
-  echo "      $(red "$commit")"
+  echo "      $(red "git tag -f -s -m '$projNameLong $ver'") \\"
+  echo "        $(red "$tag") \\"
+  echo "        $(red "$commit")"
   echo
   yellow "IMPORTANT!! IMPORTANT!! IMPORTANT!! IMPORTANT!! IMPORTANT!! 
IMPORTANT!!"
   echo
@@ -202,8 +203,9 @@ Branch:
     $(green "$branch")
 
 If this vote passes, a gpg-signed tag will be created using:
-    $(green "git tag -f -s -m '$projNameLong $ver' $tag") \\
-    $(green "$commit")
+    $(green "git tag -f -s -m '$projNameLong $ver'") \\
+      $(green "$tag") \\
+      $(green "$commit")
 
 Staging repo: $(green "$stagingRepoPrefix-$stagingrepo")
 Source (official release artifact): $(green 
"$stagingRepoPrefix-$stagingrepo/org/apache/$tlpName/$projName/$ver/$projName-$ver-$srcQualifier.tar.gz")
@@ -222,6 +224,8 @@ SHA512 ($(green "$projName-$ver-$srcQualifier.tar.gz")) = 
$(yellow "$srcSha")
 
 Issues and pull requests related to this release can be found at: $(green 
"https://github.com/apache/$projName/issues?q=milestone%3A$ver";)
 
+Release testing instructions: $relTestingUrl
+
 Please vote one of:
 [ ] +1 - I have verified and accept...
 [ ] +0 - I have reservations, but not strong enough to vote against...
@@ -414,14 +418,19 @@ createReleaseCandidate() {
 
   local numSrc
   numSrc=$(find target/checkout/ -type f -name 
"$projName-$ver-source-release.tar.gz" | wc -l)
+  local numBin
+  numBin=$(find target/checkout/ -type f -name "$projName-$ver-bin.tar.gz" | 
wc -l)
   shopt -s globstar
   local srcSha
   srcSha=""
+  local binSha
+  binSha=""
   [[ $numSrc == "1" ]] && srcSha=$(sha512sum 
target/checkout/**/"$projName-$ver-source-release.tar.gz" | cut -f1 -d" ")
+  [[ $numBin == "1" ]] && binSha=$(sha512sum 
target/checkout/**/"$projName-$ver-bin.tar.gz" | cut -f1 -d" ")
 
   # continue to creating email notification
   echo "$(red Running)" "$(yellow "$scriptname" --email "$ver" "$rc")"
-  createEmail "$ver" "$rc" "" "$srcSha"
+  createEmail "$ver" "$rc" "" "$srcSha" "$binSha"
 }
 
 SELECTED_FINGERPRINT=""

Reply via email to