From 9801dc561bf0e6d87e7c84b4a72f6a81675f3aaf Mon Sep 17 00:00:00 2001 From: Roberto Tyley Date: Tue, 20 Dec 2022 17:47:59 +0000 Subject: [PATCH] Fix old sonatypeRepo config In February 2021 Sonatype started spreading its OSS Maven artifact hosting across 2 repository hosts, so we need to use the plural `sonatypeOssRepos` (introduced with sbt/librarymanagement#393) rather than the deprecated singular `sonatypeRepo`. https://central.sonatype.org/news/20210223_new-users-on-s01/ I managed to miss this when I was doing https://github.com/guardian/frontend/pull/25781, tho' I caught it elsewhere! https://github.com/guardian/frontend/pull/25781#discussion_r1049426252 --- project/ProjectSettings.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/project/ProjectSettings.scala b/project/ProjectSettings.scala index 7da1f9ed67ea..36f2a2503b0e 100644 --- a/project/ProjectSettings.scala +++ b/project/ProjectSettings.scala @@ -53,9 +53,8 @@ object ProjectSettings { , - resolvers ++= Seq( + resolvers ++= Resolver.sonatypeOssRepos("releases") ++ Seq( Resolver.typesafeRepo("releases"), - Resolver.sonatypeRepo("releases"), "Spy" at "https://files.couchbase.com/maven2/", ), update / evictionWarningOptions := EvictionWarningOptions.default