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

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


The following commit(s) were added to refs/heads/main by this push:
     new aa9ffd47 Cache snapshots to prevent overloading Apache Nexus repo
aa9ffd47 is described below

commit aa9ffd47c473d31e618790801c3e5096d1181a87
Author: Matthew de Detrich <[email protected]>
AuthorDate: Mon Jun 5 14:53:40 2023 +0200

    Cache snapshots to prevent overloading Apache Nexus repo
---
 build.sbt                      | 2 ++
 project/ResolverSettings.scala | 1 +
 project/plugins.sbt            | 1 +
 3 files changed, 4 insertions(+)

diff --git a/build.sbt b/build.sbt
index 7b89781b..7bd03456 100644
--- a/build.sbt
+++ b/build.sbt
@@ -2,6 +2,8 @@ import com.typesafe.tools.mima.core.{ Problem, ProblemFilters }
 import ProjectSettings.commonSettings
 
 ThisBuild / resolvers ++= ResolverSettings.projectResolvers
+// TODO: Remove when Pekko has a proper release
+ThisBuild / updateOptions := updateOptions.value.withLatestSnapshots(false)
 
 ThisBuild / apacheSonatypeProjectProfile := "pekko"
 sourceDistName := "incubating-pekko-connectors-kafka"
diff --git a/project/ResolverSettings.scala b/project/ResolverSettings.scala
index eea685e1..e01c8542 100644
--- a/project/ResolverSettings.scala
+++ b/project/ResolverSettings.scala
@@ -16,5 +16,6 @@ object ResolverSettings {
   lazy val projectResolvers = Seq(
     // for Jupiter interface (JUnit 5)
     Resolver.jcenterRepo,
+    // TODO: Remove when Pekko has a proper release,
     Resolver.ApacheMavenSnapshotsRepo)
 }
diff --git a/project/plugins.sbt b/project/plugins.sbt
index b0799db0..ab905660 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -16,6 +16,7 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1")
 resolvers += Resolver.jcenterRepo
 // allow access to snapshots for pekko-sbt-paradox
 resolvers += Resolver.ApacheMavenSnapshotsRepo
+updateOptions := updateOptions.value.withLatestSnapshots(false)
 
 // We have to deliberately use older versions of sbt-paradox because current 
Pekko sbt build
 // only loads on JDK 1.8 so we need to bring in older versions of parboiled 
which support JDK 1.8


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

Reply via email to