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.git
The following commit(s) were added to refs/heads/main by this push:
new d78ea3ae65 Cache snapshots to prevent overloading Apache Nexus repo
d78ea3ae65 is described below
commit d78ea3ae657dbfbfe02fce50c119ee33b39ad222
Author: Matthew de Detrich <[email protected]>
AuthorDate: Mon Jun 5 14:22:14 2023 +0200
Cache snapshots to prevent overloading Apache Nexus repo
---
project/Paradox.scala | 3 ++-
project/plugins.sbt | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/project/Paradox.scala b/project/Paradox.scala
index 83e65813b9..6009138c06 100644
--- a/project/Paradox.scala
+++ b/project/Paradox.scala
@@ -71,8 +71,9 @@ object Paradox {
"fault-tolerance-sample.html"))
val themeSettings = Seq(
- // allow access to snapshots for pekko-sbt-paradox
+ // TODO: allow access to snapshots for pekko-sbt-paradox, remove when
pekko is released
resolvers += Resolver.ApacheMavenSnapshotsRepo,
+ updateOptions := updateOptions.value.withLatestSnapshots(false),
pekkoParadoxGithub := Some("https://github.com/apache/incubator-pekko"))
// FIXME https://github.com/lightbend/paradox/issues/350
diff --git a/project/plugins.sbt b/project/plugins.sbt
index f4bc6b2b14..2501be58a2 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -34,6 +34,7 @@ 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]