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-r2dbc.git
The following commit(s) were added to refs/heads/main by this push:
new dc17e78 Cache snapshots to prevent overloading Apache Nexus repo
dc17e78 is described below
commit dc17e78c17f8321ff7ef973d2638fd225cda0ecf
Author: Matthew de Detrich <[email protected]>
AuthorDate: Mon Jun 5 15:06:03 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 b4d3dd0..0aa1d92 100644
--- a/build.sbt
+++ b/build.sbt
@@ -1,4 +1,7 @@
+// TODO: Remove when Pekko has a proper release
ThisBuild / resolvers += Resolver.ApacheMavenSnapshotsRepo
+ThisBuild / updateOptions := updateOptions.value.withLatestSnapshots(false)
+
ThisBuild / apacheSonatypeProjectProfile := "pekko"
ThisBuild / versionScheme := Some(VersionScheme.SemVerSpec)
sourceDistName := "incubating-pekko-persistence-r2dbc"
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 539c3de..3d2519c 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -11,6 +11,7 @@ addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" %
"0.1.5")
//// 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]