This is an automated email from the ASF dual-hosted git repository.
vinishjail97 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-xtable.git
The following commit(s) were added to refs/heads/main by this push:
new 83e3c8ed [MINOR] Skip deploy for xtable-spark-extensions and validate
the staged spark runtime (#996)
83e3c8ed is described below
commit 83e3c8ed4f2c8c000a9ff0e917a2e75c00949f93
Author: Vinish Reddy <[email protected]>
AuthorDate: Mon Nov 2 20:56:06 2026 +0530
[MINOR] Skip deploy for xtable-spark-extensions and validate the staged
spark runtime (#996)
xtable-spark-runtime shades the xtable-spark-extensions classes in, and its
published pom declares no xtable dependencies, so the thin jar is not needed
on Maven Central.
validate_staged_bundles.sh now checks xtable-spark-runtime_2.12, and fails
on a
missing artifact (it ran 'e.xit 1', so it printed the miss and passed).
---
release/scripts/validate_staged_bundles.sh | 4 ++--
xtable-spark-extensions/pom.xml | 9 +++++++++
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/release/scripts/validate_staged_bundles.sh
b/release/scripts/validate_staged_bundles.sh
index 874d90ad..8e51657b 100755
--- a/release/scripts/validate_staged_bundles.sh
+++ b/release/scripts/validate_staged_bundles.sh
@@ -26,7 +26,7 @@ declare -a extensions=("-javadoc.jar" "-javadoc.jar.asc"
"-javadoc.jar.md5" "-ja
"-sources.jar.asc" "-sources.jar.md5" "-sources.jar.sha1" ".jar" ".jar.asc"
".jar.md5" ".jar.sha1" ".pom" ".pom.asc"
".pom.md5" ".pom.sha1")
-declare -a bundles=("xtable-api" "xtable-core_2.12"
"xtable-hudi-support-extensions_2.12" "xtable-hudi-support-utils")
+declare -a bundles=("xtable-api" "xtable-core_2.12"
"xtable-hudi-support-extensions_2.12" "xtable-hudi-support-utils"
"xtable-spark-runtime_2.12")
NOW=$(date +%s)
TMP_DIR_FOR_BUNDLES=/tmp/${NOW}
@@ -41,7 +41,7 @@ do
echo "Artifact exists: $url"
else
echo "Artifact missing: $url"
- e.xit 1
+ exit 1
fi
done
done
diff --git a/xtable-spark-extensions/pom.xml b/xtable-spark-extensions/pom.xml
index 2beda90b..8970ac9e 100644
--- a/xtable-spark-extensions/pom.xml
+++ b/xtable-spark-extensions/pom.xml
@@ -130,6 +130,15 @@
</execution>
</executions>
</plugin>
+ <!-- Users get these classes from xtable-spark-runtime, which
shades them in -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>${maven-deploy-plugin.version}</version>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>