From 713edef15fc232e3051305eb9bda3f9b3c1c504a Mon Sep 17 00:00:00 2001 From: Thang Long VU Date: Mon, 23 Sep 2024 15:08:11 +0200 Subject: [PATCH] publishM2 only for Spark Master --- build.sbt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/build.sbt b/build.sbt index 99962ac7b6..d923bfcce1 100644 --- a/build.sbt +++ b/build.sbt @@ -267,6 +267,12 @@ lazy val connectCommon = (project in file("spark-connect/common")) projectName = "delta-connect-common", emptyValue = () ).value, + publishM2 := runTaskOnlyOnSparkMaster( + task = publishM2, + taskName = "publishM2", + projectName = "delta-connect-common", + emptyValue = () + ).value, assembly := runTaskOnlyOnSparkMaster( task = assembly, taskName = "assembly", @@ -326,6 +332,12 @@ lazy val connectClient = (project in file("spark-connect/client")) projectName = "delta-connect-client", emptyValue = () ).value, + publishM2 := runTaskOnlyOnSparkMaster( + task = publishM2, + taskName = "publishM2", + projectName = "delta-connect-client", + emptyValue = () + ).value, assembly := runTaskOnlyOnSparkMaster( task = assembly, taskName = "assembly", @@ -434,6 +446,12 @@ lazy val connectServer = (project in file("spark-connect/server")) projectName = "delta-connect-server", emptyValue = () ).value, + publishM2 := runTaskOnlyOnSparkMaster( + task = publishM2, + taskName = "publishM2", + projectName = "delta-connect-server", + emptyValue = () + ).value, assembly := runTaskOnlyOnSparkMaster( task = assembly, taskName = "assembly",