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.git


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

commit f16b644b94b8ad10a1357bc16feef887ad2c7404
Author: Matthew de Detrich <[email protected]>
AuthorDate: Mon Jun 5 14:43:55 2023 +0200

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

diff --git a/build.sbt b/build.sbt
index 9f203e850..b4f1546f1 100644
--- a/build.sbt
+++ b/build.sbt
@@ -1,5 +1,8 @@
+// TODO: Remove when Pekko has a proper release
 ThisBuild / resolvers += Resolver.ApacheMavenSnapshotsRepo
 ThisBuild / resolvers ++= Resolver.sonatypeOssRepos("snapshots")
+ThisBuild / updateOptions := updateOptions.value.withLatestSnapshots(false)
+
 ThisBuild / apacheSonatypeProjectProfile := "pekko"
 ThisBuild / versionScheme := Some(VersionScheme.SemVerSpec)
 sourceDistName := "incubating-pekko-connectors"
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 729cff87f..3c65a50e8 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -10,6 +10,7 @@ addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % 
"0.7.0")
 // docs
 // 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