You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by md...@apache.org on 2023/05/05 11:04:09 UTC
[incubator-pekko-persistence-dynamodb] branch main updated: Use ApacheMavenSnapshotsRepo constant
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-dynamodb.git
The following commit(s) were added to refs/heads/main by this push:
new 5b88061 Use ApacheMavenSnapshotsRepo constant
5b88061 is described below
commit 5b8806168408f0f6a6e9247d85d2238944a6528d
Author: Matthew de Detrich <ma...@aiven.io>
AuthorDate: Fri May 5 11:34:08 2023 +0200
Use ApacheMavenSnapshotsRepo constant
---
build.sbt | 2 +-
project/PekkoDependency.scala | 4 ++--
project/build.properties | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/build.sbt b/build.sbt
index 8b4e39e..5512d82 100644
--- a/build.sbt
+++ b/build.sbt
@@ -9,7 +9,7 @@ crossVersion := CrossVersion.binary
val amzVersion = "1.12.286"
val testcontainersScalaVersion = "0.40.10"
-resolvers += "Apache Nexus Snapshots".at("https://repository.apache.org/content/repositories/snapshots/")
+resolvers += Resolver.ApacheMavenSnapshotsRepo
ThisBuild / apacheSonatypeProjectProfile := "pekko"
sourceDistName := "incubating-pekko-persistence-dynamodb"
diff --git a/project/PekkoDependency.scala b/project/PekkoDependency.scala
index 9fdfd39..8c7f626 100644
--- a/project/PekkoDependency.scala
+++ b/project/PekkoDependency.scala
@@ -90,7 +90,7 @@ object PekkoDependency {
"org.apache.pekko" %% module % pekkoVersion % config
},
resolvers ++= (if (pekkoSnapshot)
- Seq("Apache Snapshots".at("https://repository.apache.org/content/repositories/snapshots/"))
+ Seq(Resolver.ApacheMavenSnapshotsRepo)
else Nil))
}
}
@@ -105,7 +105,7 @@ object PekkoDependency {
// pekko-cluster-sharding-typed_2.13 seems to be the last nightly published by `pekko-publish-nightly` so if that's there then it's likely the rest also made it
val body = Await.result(http.run(url(
- "https://repository.apache.org/content/repositories/snapshots/org/apache/pekko/pekko-cluster-sharding-typed_2.13/")),
+ s"${Resolver.ApacheMavenSnapshotsRepo.root}org/apache/pekko/pekko-cluster-sharding-typed_2.13/")),
10.seconds).bodyAsString
val allVersions =
diff --git a/project/build.properties b/project/build.properties
index 46e43a9..d6de1a0 100644
--- a/project/build.properties
+++ b/project/build.properties
@@ -1 +1 @@
-sbt.version=1.8.2
+sbt.version=1.9.0-RC1
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org