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-projection.git
The following commit(s) were added to refs/heads/main by this push:
new 2c863b5 Cache snapshots to prevent overloading Apache Nexus repo
2c863b5 is described below
commit 2c863b5654f94de90ba4e48cc2a54005d02437d8
Author: Matthew de Detrich <[email protected]>
AuthorDate: Mon Jun 5 15:17:52 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 1e3cfae..1e4a160 100644
--- a/build.sbt
+++ b/build.sbt
@@ -4,7 +4,9 @@ ThisBuild / apacheSonatypeProjectProfile := "pekko"
ThisBuild / versionScheme := Some(VersionScheme.SemVerSpec)
sourceDistName := "incubating-pekko-projection"
+// TODO: Remove when Pekko has a proper release
ThisBuild / resolvers += Resolver.ApacheMavenSnapshotsRepo
+ThisBuild / updateOptions := updateOptions.value.withLatestSnapshots(false)
lazy val core =
Project(id = "core", base = file("core"))
diff --git a/project/plugins.sbt b/project/plugins.sbt
index bc2073e..bc8615d 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -9,6 +9,7 @@ addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" %
"0.1.5")
// Documentation
// 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]