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",