Skip to content
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

Unresolved dependency: What does "<latest version>" refer to? #19

Closed
bluenote10 opened this issue Jan 1, 2017 · 2 comments
Closed

Unresolved dependency: What does "<latest version>" refer to? #19

bluenote10 opened this issue Jan 1, 2017 · 2 comments

Comments

@bluenote10
Copy link

Simply adding

 addSbtPlugin("ch.jodersky" % "sbt-jni" % "<latest version>")

to project/plugins.sbt results in:

sbt.ResolveException: unresolved dependency: ch.jodersky#sbt-jni;<latest version>: not found

What does "<latest version>" refer to? Was searching around, but I can find it (only this, but that does not seem to work either: version in ThisBuild := ("git describe --always --dirty --match v[0-9].*" !!).tail.trim)

Or is this actually supposed to work and it is an issue with the Maven repository? Because I can't see it here.

@bluenote10
Copy link
Author

Oh, got it, today is my blind day: It's 1.2.5 (it is in the bintray icon).

@jodersky
Copy link
Member

jodersky commented Jan 2, 2017

Correct, I should however mention to look at the bintray badge in the README.

I'm implementing a direct push-to-deploy mechanism, whereby pushing an annotated git tag will automatically build and publish the project. IMO, continuous deployment should not change source code, hence the version cannot automatically be replaced in the readme and therefore I removed the explicit version string and replaced it with a <latest version> placeholder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants