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

sbt compile fails with global ammonite dependency #1

Closed
ankitson opened this issue Aug 24, 2016 · 1 comment
Closed

sbt compile fails with global ammonite dependency #1

ankitson opened this issue Aug 24, 2016 · 1 comment

Comments

@ankitson
Copy link

ankitson commented Aug 24, 2016

sbt compile in this project fails with the following error:

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.lihaoyi#ammonite_0.1-SNAPSHOT;0.7.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::

when I have the following in ~/.sbt/0.13/global.sbt:

libraryDependencies += "com.lihaoyi" % "ammonite" % "0.7.0" % "test" cross CrossVersion.full

It seems like the cross CrossVersion.full generates an invalid version in this case because there is no published SNAPSHOT version of ammonite?

I'm not sure if this is a bug or more of a pitfall to document. I'd be happy to make a PR adding warnings in the README if its a documentation issue.

@smarter
Copy link
Member

smarter commented May 3, 2017

Hi! Sorry for the very late response, somehow github never sent me a mail for this issue. The README now contains a warning about global plugins.

@smarter smarter closed this as completed May 3, 2017
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