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-http.git


The following commit(s) were added to refs/heads/main by this push:
     new 313e21030 Use ApacheMavenSnapshotsRepo constant
313e21030 is described below

commit 313e210303bd682c6b1bec999638009f10c46dc2
Author: Matthew de Detrich <[email protected]>
AuthorDate: Thu May 4 11:00:03 2023 +0200

    Use ApacheMavenSnapshotsRepo constant
---
 project/ParadoxSupport.scala  | 2 +-
 project/PekkoDependency.scala | 4 ++--
 project/build.properties      | 2 +-
 project/plugins.sbt           | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/project/ParadoxSupport.scala b/project/ParadoxSupport.scala
index c7f882b91..dca49ede4 100644
--- a/project/ParadoxSupport.scala
+++ b/project/ParadoxSupport.scala
@@ -30,7 +30,7 @@ object ParadoxSupport {
   val paradoxWithCustomDirectives = Seq(
     paradoxDirectives += ((context: Writer.Context) =>
       new SignatureDirective(context.location.tree.label, context.properties, 
context)),
-    resolvers += "Apache Nexus 
Snapshots".at("https://repository.apache.org/content/repositories/snapshots/";),
+    resolvers += Resolver.ApacheMavenSnapshotsRepo,
     pekkoParadoxGithub := 
Some("https://github.com/apache/incubator-pekko-http";))
 
   class SignatureDirective(
diff --git a/project/PekkoDependency.scala b/project/PekkoDependency.scala
index 95b5c1880..55c78f50f 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 46e43a97e..d6de1a0cf 100644
--- a/project/build.properties
+++ b/project/build.properties
@@ -1 +1 @@
-sbt.version=1.8.2
+sbt.version=1.9.0-RC1
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 58f1fd4da..3a46ce1b9 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -17,7 +17,7 @@ addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % 
"0.10.0-RC1") // for
 addSbtPlugin("io.spray" % "sbt-boilerplate" % "0.6.1")
 addSbtPlugin("com.lightbend.sbt" % "sbt-bill-of-materials" % "1.0.2")
 // allow access to snapshots for pekko-sbt-paradox
-resolvers += "Apache Nexus 
Snapshots".at("https://repository.apache.org/content/repositories/snapshots/";)
+resolvers += Resolver.ApacheMavenSnapshotsRepo
 
 // 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]

Reply via email to