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-persistence-cassandra.git
The following commit(s) were added to refs/heads/main by this push:
new 143e56d Cache snapshots to prevent overloading Apache Nexus repo
143e56d is described below
commit 143e56d7e23437d4899e1816e454b9b715da6c2b
Author: Matthew de Detrich <[email protected]>
AuthorDate: Mon Jun 5 15:10:00 2023 +0200
Cache snapshots to prevent overloading Apache Nexus repo
---
build.sbt | 2 ++
project/plugins.sbt | 1 +
2 files changed, 3 insertions(+)
diff --git a/build.sbt b/build.sbt
index 3a2c3f1..f2955ff 100644
--- a/build.sbt
+++ b/build.sbt
@@ -5,7 +5,9 @@ ThisBuild / versionScheme := Some(VersionScheme.SemVerSpec)
sourceDistName := "incubating-pekko-persistence-cassandra"
ThisBuild / resolvers += Resolver.jcenterRepo
+// TODO: Remove when Pekko has a proper release
ThisBuild / resolvers += Resolver.ApacheMavenSnapshotsRepo
+ThisBuild / updateOptions := updateOptions.value.withLatestSnapshots(false)
// make version compatible with docker for publishing example project
ThisBuild / dynverSeparator := "-"
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 93bfdc6..e843b85 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -14,6 +14,7 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1")
// 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]