This is an automated email from the ASF dual-hosted git repository.
wgtmac pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/parquet-java.git
The following commit(s) were added to refs/heads/master by this push:
new 53e98f185 GH-3682: Record an explicit revision when building from a
source release (#3757)
53e98f185 is described below
commit 53e98f185f0d47b8bae853edfce42560a16bb22f
Author: Stefan Wang <[email protected]>
AuthorDate: Wed Sep 23 19:09:39 2026 -0700
GH-3682: Record an explicit revision when building from a source release
(#3757)
The ASF source release is a `git archive`, so it has no .git directory.
buildnumber-maven-plugin leaves buildNumber unset, and tarball builds
ship `(build ${buildNumber})` and a blank `git-SHA-1` entry, so they
cannot report what they were built from.
Set the plugin's existing revisionOnScmFailure so they record `unknown`.
Git checkouts still report the real commit.
Signed-off-by: 1fanwang <[email protected]>
---
pom.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/pom.xml b/pom.xml
index 37324cc59..53d173bbb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -523,6 +523,11 @@
<artifactId>buildnumber-maven-plugin</artifactId>
<!-- Warning! 3.2.1 caused issues during verification, 3.2.0 is known
to work correctly. -->
<version>3.2.0</version>
+ <configuration>
+ <!-- Source distributions carry no .git metadata, so the revision
cannot be read.
+ Record an explicit value instead of leaving ${buildNumber}
unresolved. -->
+ <revisionOnScmFailure>unknown</revisionOnScmFailure>
+ </configuration>
<executions>
<execution>
<phase>validate</phase>