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-management.git
The following commit(s) were added to refs/heads/main by this push:
new 1ec49f76 add pekko-management-bom (#244)
1ec49f76 is described below
commit 1ec49f7635abb10430bb52b14f0629e1de0629ee
Author: PJ Fanning <[email protected]>
AuthorDate: Wed May 29 19:20:03 2024 +0100
add pekko-management-bom (#244)
* add pekko-management-bom
* Update build.sbt
---
build.sbt | 37 +++++++++++++++++++++++++------------
project/plugins.sbt | 1 +
2 files changed, 26 insertions(+), 12 deletions(-)
diff --git a/build.sbt b/build.sbt
index 2a57a1ff..8521bbbc 100644
--- a/build.sbt
+++ b/build.sbt
@@ -34,7 +34,7 @@ inThisBuild(Def.settings(
val logLevelProjectList: Seq[ProjectReference] =
Seq[ProjectReference](managementLoglevelsLogback, managementLoglevelsLog4j2)
-val projectList: Seq[ProjectReference] = Seq[ProjectReference](
+val userProjects: Seq[ProjectReference] = Seq[ProjectReference](
// When this aggregate is updated the list of modules in
ManifestInfo.checkSameVersion
// in management should also be updated
discoveryAwsApi,
@@ -42,20 +42,24 @@ val projectList: Seq[ProjectReference] =
Seq[ProjectReference](
discoveryConsul,
discoveryKubernetesApi,
discoveryMarathonApi,
+ leaseKubernetes,
management,
managementPki,
managementClusterHttp,
- managementClusterBootstrap) ++ logLevelProjectList ++ Seq[ProjectReference](
- integrationTestAwsApiEc2TagBased,
- integrationTestLocal,
- integrationTestAwsApiEcs,
- integrationTestKubernetesApi,
- integrationTestKubernetesApiJava,
- integrationTestKubernetesDns,
- integrationTestMarathonApiDocker,
- leaseKubernetes,
- leaseKubernetesIntTest,
- docs)
+ managementClusterBootstrap) ++ logLevelProjectList
+
+val projectList: Seq[ProjectReference] =
+ userProjects ++ Seq[ProjectReference](
+ integrationTestAwsApiEc2TagBased,
+ integrationTestLocal,
+ integrationTestAwsApiEcs,
+ integrationTestKubernetesApi,
+ integrationTestKubernetesApiJava,
+ integrationTestKubernetesDns,
+ integrationTestMarathonApiDocker,
+ leaseKubernetesIntTest,
+ docs,
+ billOfMaterials)
// root
lazy val root = project
@@ -166,6 +170,15 @@ lazy val leaseKubernetes = pekkoModule("lease-kubernetes")
.settings(inConfig(IntegrationTest)(JavaFormatterPlugin.toBeScopedSettings))
.dependsOn(managementPki)
+lazy val billOfMaterials = Project("bill-of-materials",
file("bill-of-materials"))
+ .enablePlugins(BillOfMaterialsPlugin)
+ .disablePlugins(MimaPlugin)
+ .settings(
+ name := "pekko-management-bom",
+ licenses := List(License.Apache2),
+ bomIncludeProjects := userProjects,
+ description := s"${description.value} (depending on Scala
${CrossVersion.binaryScalaVersion(scalaVersion.value)})")
+
lazy val leaseKubernetesIntTest = pekkoModule("lease-kubernetes-int-test")
.enablePlugins(JavaAppPackaging, DockerPlugin)
.dependsOn(leaseKubernetes)
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 92eb412d..0a5e7b4e 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -23,5 +23,6 @@ addSbtPlugin("com.github.pjfanning" % "sbt-pekko-build" %
"0.3.3")
addSbtPlugin("com.github.sbt" % "sbt-license-report" % "1.6.1")
addSbtPlugin("com.github.sbt" % "sbt-git" % "2.0.1")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.3")
+addSbtPlugin("com.lightbend.sbt" % "sbt-bill-of-materials" % "1.0.2")
addSbtPlugin("org.apache.pekko" % "pekko-sbt-paradox" % "1.0.1")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]