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 0db3704 Use ApacheMavenSnapshotsRepo constant
0db3704 is described below
commit 0db37043dd9e92717db3b33e11358ab94731c1a2
Author: Matthew de Detrich <[email protected]>
AuthorDate: Sat May 6 13:19:10 2023 +0200
Use ApacheMavenSnapshotsRepo constant
---
build.sbt | 2 +-
project/PekkoSnapshotRepository.scala | 7 ++-----
project/build.properties | 2 +-
project/plugins.sbt | 2 +-
4 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/build.sbt b/build.sbt
index 592bc49..3925504 100644
--- a/build.sbt
+++ b/build.sbt
@@ -3,7 +3,7 @@ import org.apache.pekko.projections.Dependencies
ThisBuild / apacheSonatypeProjectProfile := "pekko"
sourceDistName := "incubating-pekko-projection"
-ThisBuild / resolvers += "Apache Nexus
Snapshots".at("https://repository.apache.org/content/repositories/snapshots/")
+ThisBuild / resolvers += Resolver.ApacheMavenSnapshotsRepo
lazy val core =
Project(id = "core", base = file("core"))
diff --git a/project/PekkoSnapshotRepository.scala
b/project/PekkoSnapshotRepository.scala
index 4154737..936244f 100644
--- a/project/PekkoSnapshotRepository.scala
+++ b/project/PekkoSnapshotRepository.scala
@@ -22,11 +22,8 @@ object PekkoSnapshotRepositories extends AutoPlugin {
resolvers ++= (sys.props
.get("build.pekko.version")
.orElse(sys.props.get("build.connectors.kafka.version")) match {
- case Some(_) =>
- Seq(
- // akka and alpakka-kafka use Sonatype's snapshot repo
- "Apache Nexus
Snapshots".at("https://repository.apache.org/content/repositories/snapshots/"))
- case None => Seq.empty
+ case Some(_) => Seq(Resolver.ApacheMavenSnapshotsRepo)
+ case None => Seq.empty
})
}
}
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
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 27bb3d6..c432ff3 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -8,7 +8,7 @@ addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" %
"0.1.5")
// Documentation
// 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]