diff --git a/dist/pom.xml b/dist/pom.xml
index 66decc01bfd..ce3cb054d7b 100644
--- a/dist/pom.xml
+++ b/dist/pom.xml
@@ -65,7 +65,8 @@
330
- 312db
+ 312db,
+ 321db
diff --git a/jenkins/spark-nightly-build.sh b/jenkins/spark-nightly-build.sh
index a0b323d92fd..73742bc667c 100755
--- a/jenkins/spark-nightly-build.sh
+++ b/jenkins/spark-nightly-build.sh
@@ -37,7 +37,7 @@ DIST_POM_FPATH="$DIST_PL/target/extra-resources/META-INF/maven/$ART_GROUP_ID/$AR
DIST_PROFILE_OPT=-Dincluded_buildvers=$(IFS=,; echo "${SPARK_SHIM_VERSIONS[*]}")
DIST_INCLUDES_DATABRICKS=${DIST_INCLUDES_DATABRICKS:-"true"}
if [[ "$DIST_INCLUDES_DATABRICKS" == "true" ]]; then
- DIST_PROFILE_OPT="$DIST_PROFILE_OPT,312db"
+ DIST_PROFILE_OPT="$DIST_PROFILE_OPT,312db,321db"
fi
# Make sure that the local m2 repo on the build machine has the same pom