I am using the ~/.sbt/repositories
file to tell sbt 0.13.5 which repositories to retrieve from. That file only contains local
and a file://
repository with a custom layout that closely resembles the standard sbt one, with sbtVersion
and scalaVersion
optional fields represented.
When it comes to resolving dependencies for my project, I've noticed weird behavior:
- Resolving exact dependencies works fine
latest.integration
also works fine- Wildcard resolution of the form
x.y.+
doesn't find anything, and instead seems to be searching for literal patterns. I get errors of the form:
[warn] ==== myrepo: tried [warn] file://path/to/my/repo/myorg/mypackage_2.10/[revision]/ivy-[revision].xml [info] Resolving myorg#mypackage_2.10;2.7.1.+ ... [warn] module not found: myorg#mypackage_2.10;2.7.1.+
which as you can see, mention the repo layout pattern explicitly.
I'm mostly confused because the resolver works fine for anything but the +
wildcard dependencies. I tried poking around the ivy documentation to figure out if certain resolvers (like the file://
resolver I'm using) don't implement certain kinds of dependency resolution, but that didn't seem to be a thing, so I'm mostly stumped. Any idea what I can do to make it work, or what might be causing it?