Merge pull request #411 from mdedetrich/add-apache-maven-snapshot-repository

Add Apache Maven Snapshots Repository
This commit is contained in:
eugene yokota 2023-02-20 10:51:09 -05:00 committed by GitHub
commit c57c466c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)