This is an automated email from the ASF dual-hosted git repository.
Fokko 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 fb64102f9 Prepare RC: write generated Maven settings outside the repo
(#3763)
fb64102f9 is described below
commit fb64102f9dac059637ec8e991fb8e6e7518853f6
Author: Russell Spitzer <[email protected]>
AuthorDate: Fri Sep 4 02:13:10 2026 -0500
Prepare RC: write generated Maven settings outside the repo (#3763)
* Prepare RC: write generated Maven settings outside the repo
.release-settings.xml was created in the repo root before mvn deploy
-Papache-release ran, which activates the RAT check. RAT flagged the
generated file for a missing ASF license header and failed the deploy.
Use mktemp under RUNNER_TEMP (with TMPDIR / /tmp fallbacks) so the file
lives outside the tree RAT scans, and guard the EXIT trap with
${settings_file:-} in case the script exits before the variable is set.
Co-Authored-By: Claude Opus 4.7 <[email protected]>
* Update release/bin/prepare-rc.sh
Co-authored-by: Fokko Driesprong <[email protected]>
---------
Co-authored-by: Claude Opus 4.7 <[email protected]>
Co-authored-by: Fokko Driesprong <[email protected]>
---
release/bin/prepare-rc.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/release/bin/prepare-rc.sh b/release/bin/prepare-rc.sh
index 8ae29f6fc..1d27f348c 100755
--- a/release/bin/prepare-rc.sh
+++ b/release/bin/prepare-rc.sh
@@ -32,7 +32,7 @@ source "${LIBS_DIR}/_nexus.sh"
source "${LIBS_DIR}/_maven.sh"
source "${LIBS_DIR}/_svn.sh"
-trap 'rm -f .release-settings.xml' EXIT
+trap 'rm -f "${settings_file:-}"' EXIT
# ---------------------------------------------------------------------------
# Usage
@@ -255,7 +255,7 @@ step_summary "Created tag \`${rc_tag}\` at
\`${tag_commit}\`"
step_summary ""
step_summary "### Nexus Deployment"
-settings_file=".release-settings.xml"
+settings_file=$(mktemp
"${RUNNER_TEMP:-${TMPDIR:-/tmp}}/parquet-release-settings.xml")
generate_maven_settings "${settings_file}"
maven_deploy "${settings_file}"