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-jdbc.git
The following commit(s) were added to refs/heads/main by this push:
new a4ca51a Use ApacheMavenSnapshotsRepo constant
a4ca51a is described below
commit a4ca51ae691580a4642fd8fd16acf7fbf49851ab
Author: Matthew de Detrich <[email protected]>
AuthorDate: Fri May 5 11:23:36 2023 +0200
Use ApacheMavenSnapshotsRepo constant
---
build.sbt | 4 ++--
docs/src/main/paradox/snapshots.md | 7 ++++++-
project/build.properties | 2 +-
project/plugins.sbt | 2 +-
4 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/build.sbt b/build.sbt
index 8550c01..7841597 100644
--- a/build.sbt
+++ b/build.sbt
@@ -2,7 +2,7 @@ import
com.lightbend.paradox.apidoc.ApidocPlugin.autoImport.apidocRootPackage
import org.apache.pekko.PekkoParadoxPlugin.autoImport._
import sbt.Keys._
-ThisBuild / resolvers += "Apache Nexus
Snapshots".at("https://repository.apache.org/content/repositories/snapshots/")
+ThisBuild / resolvers += Resolver.ApacheMavenSnapshotsRepo
ThisBuild / apacheSonatypeProjectProfile := "pekko"
sourceDistName := "incubating-pekko-persistence-jdbc"
@@ -43,7 +43,7 @@ lazy val migrator = project
lazy val themeSettings = Seq(
// allow access to snapshots for pekko-sbt-paradox
- resolvers += "Apache Nexus
Snapshots".at("https://repository.apache.org/content/repositories/snapshots/"),
+ resolvers += Resolver.ApacheMavenSnapshotsRepo,
pekkoParadoxGithub :=
Some("https://github.com/apache/incubator-pekko-persistence-jdbc"))
lazy val docs = project
diff --git a/docs/src/main/paradox/snapshots.md
b/docs/src/main/paradox/snapshots.md
index f6ca599..f786f70 100644
--- a/docs/src/main/paradox/snapshots.md
+++ b/docs/src/main/paradox/snapshots.md
@@ -32,7 +32,12 @@ Maven
</project>
```
-sbt
+sbt (1.9.0 or later)
+: ```scala
+ resolvers += Resolver.ApacheMavenSnapshotsRepo
+ ```
+
+sbt (earlier than 1.9.0)
: ```scala
resolvers += "Apache Nexus
Snapshots".at("https://repository.apache.org/content/repositories/snapshots/")
```
diff --git a/project/build.properties b/project/build.properties
index f1fdbf4..2303d2a 100644
--- a/project/build.properties
+++ b/project/build.properties
@@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-sbt.version=1.8.2
+sbt.version=1.9.0-RC1
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 155fe5c..cb3a690 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -1,4 +1,4 @@
-resolvers += "Apache Nexus
Snapshots".at("https://repository.apache.org/content/repositories/snapshots/")
+resolvers += Resolver.ApacheMavenSnapshotsRepo
// compliance
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.7.0")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]