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


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

commit d6d23147c8f74954125591ef76e78bfc94ae0d64
Author: Matthew de Detrich <[email protected]>
AuthorDate: Mon Jun 5 14:30:35 2023 +0200

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

diff --git a/build.sbt b/build.sbt
index ec0f39cbf..b0053f2c3 100644
--- a/build.sbt
+++ b/build.sbt
@@ -42,7 +42,9 @@ inThisBuild(Def.settings(
   },
   scalafixScalaBinaryVersion := scalaBinaryVersion.value,
   apacheSonatypeProjectProfile := "pekko",
-  versionScheme := Some("semver-spec")))
+  versionScheme := Some("semver-spec"),
+  // TODO: Remove when Pekko has a proper release
+  updateOptions := updateOptions.value.withLatestSnapshots(false)))
 
 // When this is updated the set of modules in Http.allModules should also be 
updated
 lazy val userProjects: Seq[ProjectReference] = List[ProjectReference](
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 0ba1640e1..bec135125 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -26,8 +26,10 @@ addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % 
"0.10.0-RC1") // for
 addSbtPlugin("io.spray" % "sbt-boilerplate" % "0.6.1")
 addSbtPlugin("com.lightbend.sbt" % "sbt-bill-of-materials" % "1.0.2")
 addSbtPlugin("com.github.sbt" % "sbt-license-report" % "1.5.0")
+
 // 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