Skip to content

Adjust Sonatype snapshots repository #3785

@Gedochao

Description

@Gedochao

Version(s)
1.8.3

Describe the bug

//> using repository snapshots

the directive does not point to the new Sonatype Central Portal snapshots, only the legacy ones.

To Reproduce
Try to use any snapshot published to sonatype after 30.06.2025

Expected behaviour
Scala CLI should add https://central.sonatype.com/repository/maven-snapshots/

Known workarounds

//> using repository https://central.sonatype.com/repository/maven-snapshots/

Extra context

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdependency managementIssues tied to how the CLI manages project dependencies.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions