can not use explict repo in offline mode when coursier cache has only POM file #3021
Labels
blocked upstream
Issues and changes blocked by something in an external project.
bug
Something isn't working
coursier
Issues tied with coursier integration.
installation
Everything related to installing the CLI itself
isolated environments
Issues tied with running the CLI in isolated (or corporate) environments.
SIP-46
All the issues related to SIP-46 to turn Scala CLI into the official scala runner command.
Version(s)
1.4.0 (problematic in scala 3.5.0-RC3 release when installing from
cs install scala:3.5.0-RC3
)Describe the bug
in offline mode, If the coursier cache is only partially populated by POM, and no jar file (such is the state after running the
cs install
command) - then any explicitly added local repository is ignored and classpath resolution failsTo Reproduce
follow steps in coursier/coursier#3024
Expected behaviour
I have passed an explicit repo in offline mode, I expect to resolve the classpath from there, the fact that coursier complains underneath is a leaky abstraction.
The text was updated successfully, but these errors were encountered: