-
Notifications
You must be signed in to change notification settings - Fork 931
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
Cannot resolve sbt plugin from local ivy repository #4015
Comments
perhaps it works if you publish and resolve from a local file ivy repository? |
What worked: |
(semi-related sbt/librarymanagement#224) |
Furthermore, publishing and resolving with explicit
|
so this is exactly sbt/librarymanagement#224 if you publish maven style (which is the default) then |
ok so I am closing this. |
steps
I am trying to publish an sbt plugin to a local file repo. In the plugin's build.sbt I have:
I run the
publish
task and it gets published fine to/Users/jast/repo/localtrix/org/me/sbt-plugin_2.12_1.0/1.2.3
In another project, I want to resolve this plugin. in
project/plugins.sbt
I have:problem
I try to run sbt in the this project and I get:
The sbt plugin fails to resolve. Of note: it reports
localtrix: tried
but does not actually report the url it tried.Relevant code in ivy's reporter: https://github.com/sbt/ivy/blob/2.3.x-sbt/src/java/org/apache/ivy/plugins/resolver/BasicResolver.java#L796-L800
expectation
The sbt plugin resolves
notes
publishLocal
and resolving from.ivy2/local
works, but I want to be able to publish to a repo that I can copy to another machine without messing with that directory.sbt version: insert sbt version
The text was updated successfully, but these errors were encountered: