This is an automated email from the ASF dual-hosted git repository.
cnauroth pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 9ca0e55cb5a HADOOP-19779: Follow-up fix in create-release script to
parse JDK version from root pom.xml instead of hadoop-project/pom.xml
9ca0e55cb5a is described below
commit 9ca0e55cb5a3f8fd243d4a5db2a9c2bd8fc43fe6
Author: Chris Nauroth <[email protected]>
AuthorDate: Tue Feb 24 00:07:11 2026 +0000
HADOOP-19779: Follow-up fix in create-release script to parse JDK version
from root pom.xml instead of hadoop-project/pom.xml
Closes #8272
Signed-off-by: Shilun Fan <[email protected]>
---
dev-support/bin/create-release | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-support/bin/create-release b/dev-support/bin/create-release
index 54ebc5f1cdc..67f8600a00f 100755
--- a/dev-support/bin/create-release
+++ b/dev-support/bin/create-release
@@ -212,7 +212,7 @@ function set_defaults
# Extract Java version from ${BASEDIR}/pom.xml
# doing this outside of maven means we can do this before
# the docker container comes up...
- JVM_VERSION=$(grep "<javac.version>" "${BASEDIR}/hadoop-project/pom.xml" \
+ JVM_VERSION=$(grep "<javac.version>" "${BASEDIR}/pom.xml" \
| head -1 \
| sed -e 's|^ *<javac.version>||' -e 's|</javac.version>.*$||')
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]