-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runners do not respect COURSIER_REPOSITORIES environment variable with e.g. -213
#25
Comments
scala-runners uses |
I think you must mean When I use
so that looks like the cause. It's coming from this line in
|
Yeah, sorry, $ scala -v --scala-version 2.11.3
[setScalaVersion] arg = '2.11.3'
# Executing command line:
cs
launch
scala:2.11.3
--
Failed to created JLineReader: java.lang.NoClassDefFoundError: jline/console/completer/Completer
Falling back to SimpleReader.
Welcome to Scala version 2.11.3 (OpenJDK 64-Bit Server VM, Java 11.0.8).
Type in expressions to have them evaluated.
Type :help for more information. |
ah, ok, there was a subtlety I missed here, which is that (due to multiple levels of shell aliasing) I was actually passing both and it's the I'll tweak the issue title |
-213
That So... what to do? 😕 |
Or maybe it's the |
So here's a question. You mentioned your COURSIER_REPOSITORIES is:
Which includes ivy2 local, which was the cause of #10. So, with:
what should happen when you run |
IMO |
Thought: could #10 be changed not to use (It's possible I'm a bit confused.... sometimes these slow-motion discussions are hard to track.) |
That would mean that |
That sounds like a threat :-) Your description is a bit grim. Under my suggestion, the dismal outcome you describe would only occur for people who explicitly set @lrytz did you understand that when you thumbs-downed? |
Ah, no I didn't. Not sure what's more important, or how |
The change I'm suggesting only affects users of |
Got excepted by the notes in https://github.com/coursier/coursier/releases/tag/v2.0.10, but it turns out to just introduce |
I don't have a local Artifactory anymore, so I wouldn't mind if you simply closed this. |
I have the variable set as follows, because I like to resolve everything through my local Artifactory whenever possible.
This is my preference, but it might be a hard constraint for some users in corporate environments.
Anyway, the variable causes e.g.
cs fetch
to behave as follows:but scala-runners ignores the setting and goes to Maven Central:
The text was updated successfully, but these errors were encountered: