Add Apache Maven Snapshots Repository

This commit is contained in:
Matthew de Detrich 2023-02-18 10:42:21 +01:00
parent 436656f719
commit 63d3dccb9e
No known key found for this signature in database
GPG Key ID: 196CBC8FEAA4CC64
1 changed files with 5 additions and 0 deletions

View File

@ -180,6 +180,11 @@ private[librarymanagement] abstract class ResolverFunctions {
)
def jcenterRepo = JCenterRepository
val ApacheMavenSnapshotsRepo = MavenRepository(
"apache-snapshots",
"https://repository.apache.org/content/repositories/snapshots/"
)
/** Add the local and Maven Central repositories to the user repositories. */
def combineDefaultResolvers(userResolvers: Vector[Resolver]): Vector[Resolver] =
combineDefaultResolvers(userResolvers, mavenCentral = true)