Skip to content

Commit

Permalink
exclude failed release from mima
Browse files Browse the repository at this point in the history
  • Loading branch information
majk-p committed Aug 22, 2023
1 parent f34cd63 commit fbb0e1c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ lazy val activemqAkka = module("activemq", directory = "connectors")
lazy val activemqPekko = module("activemq-pekko", directory = "connectors")
.settings(
name := "pass4s-connector-pekko-activemq",
mimaPreviousArtifacts := {
val artifacts = mimaPreviousArtifacts.value
artifacts.filterNot(_.revision >= "0.4.4") // this module has been published in 0.4.4, this setting can be removed in 0.5.x
},
resolvers += "Apache Snapshots" at "https://repository.apache.org/content/repositories/snapshots/", // Resolvers to be removed when stable version is released
resolvers ++= Resolver.sonatypeOssRepos("snapshots"),
libraryDependencies ++= Seq(
Expand Down Expand Up @@ -230,6 +234,9 @@ lazy val demo = module("demo")
)
.dependsOn(activemqPekko, sns, sqs, extra, logging)

// Those versions failed to release
val versionsExcludedFromMima = List("0.4.3")

lazy val commonSettings = Seq(
organization := "com.ocadotechnology",
compilerOptions,
Expand All @@ -240,6 +247,10 @@ lazy val commonSettings = Seq(
"com.disneystreaming" %% "weaver-framework" % Versions.Weaver,
"com.disneystreaming" %% "weaver-scalacheck" % Versions.Weaver
).map(_ % Test),
mimaPreviousArtifacts := {
val artifacts = mimaPreviousArtifacts.value
artifacts.filterNot(artifact => versionsExcludedFromMima.contains(artifact.revision))
},
testFrameworks += new TestFramework("weaver.framework.CatsEffect")
)

Expand Down

0 comments on commit fbb0e1c

Please sign in to comment.