Skip to content

Resolver.sonatypeOssRepos is deprecated #8929

@frcroth

Description

@frcroth

I got this warning when compiling

[warn] /home/felix/scm/webknossos/project/DependencyResolvers.scala:10:14: method sonatypeOssRepos in class ResolverFunctions is deprecated (since 1.11.2): Sonatype OSS Repository Hosting (OSSRH) was sunset on 2025-06-30; remove this resolver. If snapshots are required, use:
[warn]   resolvers += Resolver.sonatypeCentralSnapshots
[warn]     Resolver.sonatypeOssRepos("releases") ++
[warn]              ^
[warn] /home/felix/scm/webknossos/project/DependencyResolvers.scala:11:16: method sonatypeOssRepos in class ResolverFunctions is deprecated (since 1.11.2): Sonatype OSS Repository Hosting (OSSRH) was sunset on 2025-06-30; remove this resolver. If snapshots are required, use:
[warn]   resolvers += Resolver.sonatypeCentralSnapshots
[warn]       Resolver.sonatypeOssRepos("snapshots") ++
[warn]                ^
[warn] two warnings found

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions