This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git


The following commit(s) were added to refs/heads/main by this push:
     new fd58991b8 add pekko-connectors-bom (#633)
fd58991b8 is described below

commit fd58991b8405eee0e8b1f19b11a1b41c17b90df0
Author: PJ Fanning <[email protected]>
AuthorDate: Sat Apr 27 22:24:31 2024 +0200

    add pekko-connectors-bom (#633)
    
    * add pekko-connectors-bom
    
    * Update build.sbt
---
 build.sbt           | 110 +++++++++++++++++++++++++++++-----------------------
 project/plugins.sbt |   1 +
 2 files changed, 62 insertions(+), 49 deletions(-)

diff --git a/build.sbt b/build.sbt
index b9c9b452d..da9e78b72 100644
--- a/build.sbt
+++ b/build.sbt
@@ -15,59 +15,61 @@ ThisBuild / resolvers += Resolver.ApacheMavenSnapshotsRepo
 
 ThisBuild / reproducibleBuildsCheckResolver := Resolver.ApacheMavenStagingRepo
 
+lazy val userProjects: Seq[ProjectReference] = List[ProjectReference](
+  amqp,
+  avroparquet,
+  awslambda,
+  azureStorageQueue,
+  cassandra,
+  couchbase,
+  csv,
+  dynamodb,
+  elasticsearch,
+  eventbridge,
+  files,
+  ftp,
+  geode,
+  googleCommon,
+  googleCloudBigQuery,
+  googleCloudBigQueryStorage,
+  googleCloudPubSub,
+  googleCloudPubSubGrpc,
+  googleCloudStorage,
+  googleFcm,
+  hbase,
+  hdfs,
+  huaweiPushKit,
+  influxdb,
+  ironmq,
+  jms,
+  jsonStreaming,
+  kinesis,
+  kudu,
+  mongodb,
+  mqtt,
+  mqttStreaming,
+  orientdb,
+  pravega,
+  reference,
+  s3,
+  springWeb,
+  simpleCodecs,
+  slick,
+  sns,
+  solr,
+  sqs,
+  sse,
+  text,
+  udp,
+  unixdomainsocket,
+  xml)
+
 lazy val `pekko-connectors` = project
   .in(file("."))
   .enablePlugins(ScalaUnidocPlugin)
   .disablePlugins(MimaPlugin, SitePlugin)
-  .aggregate(
-    amqp,
-    avroparquet,
-    awslambda,
-    azureStorageQueue,
-    cassandra,
-    couchbase,
-    csv,
-    dynamodb,
-    elasticsearch,
-    eventbridge,
-    files,
-    ftp,
-    geode,
-    googleCommon,
-    googleCloudBigQuery,
-    googleCloudBigQueryStorage,
-    googleCloudPubSub,
-    googleCloudPubSubGrpc,
-    googleCloudStorage,
-    googleFcm,
-    hbase,
-    hdfs,
-    huaweiPushKit,
-    influxdb,
-    ironmq,
-    jms,
-    jsonStreaming,
-    kinesis,
-    kudu,
-    mongodb,
-    mqtt,
-    mqttStreaming,
-    orientdb,
-    pravega,
-    reference,
-    s3,
-    springWeb,
-    simpleCodecs,
-    slick,
-    sns,
-    solr,
-    sqs,
-    sse,
-    text,
-    udp,
-    unixdomainsocket,
-    xml)
-  .aggregate(`doc-examples`)
+  .aggregate(userProjects: _*)
+  .aggregate(`doc-examples`, billOfMaterials)
   .settings(
     name := "pekko-connectors-root",
     onLoadMessage :=
@@ -434,6 +436,16 @@ lazy val `doc-examples` = project
     publish / skip := true,
     Dependencies.`Doc-examples`)
 
+lazy val billOfMaterials = Project("bill-of-materials", 
file("bill-of-materials"))
+  .enablePlugins(BillOfMaterialsPlugin)
+  .disablePlugins(MimaPlugin, SitePlugin)
+  .settings(
+    name := "pekko-connectors-bom",
+    licenses := List(License.Apache2),
+    libraryDependencies := Seq.empty,
+    bomIncludeProjects := userProjects,
+    description := s"${description.value} (depending on Scala 
${CrossVersion.binaryScalaVersion(scalaVersion.value)})")
+
 val mimaCompareVersion = "1.0.2"
 
 def pekkoConnectorProject(projectId: String,
diff --git a/project/plugins.sbt b/project/plugins.sbt
index d8a33c623..e7145a90a 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -13,6 +13,7 @@ addSbtPlugin("net.bzzt" % "sbt-reproducible-builds" % "0.32")
 addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" % "0.1.12")
 addSbtPlugin("com.github.pjfanning" % "sbt-pekko-build" % "0.3.3")
 addSbtPlugin("com.github.sbt" % "sbt-license-report" % "1.6.1")
+addSbtPlugin("com.lightbend.sbt" % "sbt-bill-of-materials" % "1.0.2")
 // discipline
 addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0")
 addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to