-
Notifications
You must be signed in to change notification settings - Fork 595
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 update failed for "[warn] module not found: com.dwijnand#sbt-dynver;1.1.0" #1057
Comments
Are you sure you don't have some weird global settings in ~/.sbt?
The artifact exists: https://bintray.com/dwijnand/sbt-plugins/sbt-dynver and
that's the default sbt plugins repo so it should have resolved properly
from there.
cc @dwijnand
…--
Konrad `ktoso` Malawski
Akka <http://akka.io> @ Lightbend <http://lightbend.com>
On 26 April 2017 at 12:09:17, hary (notifications@github.com) wrote:
~/workspace/scala/akka-http/ [master*] sbt update
[info] Loading project definition from
/Users/hary/workspace/scala/akka-http/project
[info] Updating
{file:/Users/hary/workspace/scala/akka-http/project/}akka-http-build...
[info] Resolving com.dwijnand#sbt-dynver;1.1.0 ...
[warn] module not found: com.dwijnand#sbt-dynver;1.1.0
[warn] ==== local: tried
[warn] /Users/hary/.ivy2/local/com.dwijnand/sbt-dynver/scala_2.10/sbt_0.13/1.1.0/ivys/ivy.xml
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/com/dwijnand/sbt-dynver_2.10_0.13/1.1.0/sbt-dynver-1.1.0.pom
[warn] ==== typesafe-ivy-releases: tried
[warn] https://repo.typesafe.com/typesafe/ivy-releases/com.dwijnand/sbt-dynver/1.1.0/ivys/ivy.xml
[warn] ==== sbt-ivy-snapshots: tried
[warn] https://repo.scala-sbt.org/scalasbt/ivy-snapshots/com.dwijnand/sbt-dynver/1.1.0/ivys/ivy.xml
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.dwijnand#sbt-dynver;1.1.0: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes.
Check that these dependencies exist with the requested attributes.
[warn] com.dwijnand:sbt-dynver:1.1.0 (scalaVersion=2.10,
sbtVersion=0.13)
[warn]
[warn] Note: Unresolved dependencies path:
[warn] com.dwijnand:sbt-dynver:1.1.0 (scalaVersion=2.10,
sbtVersion=0.13)
(/Users/hary/workspace/scala/akka-http/project/plugins.sbt#L16-17)
[warn] +- default:akka-http-build:0.1-SNAPSHOT
(scalaVersion=2.10, sbtVersion=0.13)
sbt.ResolveException: unresolved dependency:
com.dwijnand#sbt-dynver;1.1.0: not found
at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:313)
at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:191)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1057>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAHYk-aB6IIwOZXWpjfzEJ07m8O4YGtFks5rzrVdgaJpZM4NITwd>
.
|
I suspect either this is either due to some local ~/.sbt configuration, or it's due to network issues. sbt-dynver 1.1.0's ivy.xml is definitely in sbt's community plugins artefact repo: https://dl.bintray.com/sbt/sbt-plugin-releases/com.dwijnand/sbt-dynver/scala_2.10/sbt_0.13/1.1.0/ivys/ And I can't reproduce the issue locally: 10:19:47 $ rm -r ~/.ivy2/cache/scala_2.10/sbt_0.13/com.dwijnand/sbt-dynver
10:20:07 $ sbt
[info] Loading global plugins from /Users/dnw/.dotfiles/.sbt/0.13/plugins
[info] Updating {file:/Users/dnw/.sbt/0.13/plugins/}global-plugins...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Loading project definition from /d/akka-http/project
[info] Updating {file:/d/akka-http/project/}akka-http-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.dwijnand/sbt-dynver/scala_2.10/sbt_0.13/1.1.1/docs/sbt-dynver-javadoc.jar ...
[info] [SUCCESSFUL ] com.dwijnand#sbt-dynver;1.1.1!sbt-dynver.jar(doc) (1940ms)
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.dwijnand/sbt-dynver/scala_2.10/sbt_0.13/1.1.1/srcs/sbt-dynver-sources.jar ...
[info] [SUCCESSFUL ] com.dwijnand#sbt-dynver;1.1.1!sbt-dynver.jar(src) (1863ms)
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.dwijnand/sbt-dynver/scala_2.10/sbt_0.13/1.1.1/jars/sbt-dynver.jar ...
[info] [SUCCESSFUL ] com.dwijnand#sbt-dynver;1.1.1!sbt-dynver.jar (1779ms)
[info] Done updating.
[warn] There may be incompatibilities among your library dependencies.
[warn] Here are some of the libraries that were evicted:
[warn] * net.virtual-void:sbt-dependency-graph:0.8.0 -> 0.8.2
[warn] Run 'evicted' to see detailed eviction warnings
[info] Set current project to akka-http-root (in build file:/d/akka-http/)
akka-http-root > |
I am sure, I don't have any .sbt configuration set |
Could be something in the ivy cache. Try to delete or move the |
I tried like this:
resolvers += Classpaths.sbtPluginReleases
resolvers += Classpaths.typesafeReleases
resolvers += Resolver.sonatypeRepo("releases") // to more quickly obtain paradox rigth after release
// need this to resolve http://jcenter.bintray.com/org/jenkins-ci/jenkins/1.26/
// which is used by plugin "org.kohsuke" % "github-api" % "1.68"
resolvers += "Bintray Jcenter" at "https://jcenter.bintray.com/"
// for sbt-bintray for resolving credentials from env vars
resolvers += Resolver.url("2m-sbt-plugin-releases", url("https://dl.bintray.com/2m/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "1.1.1") then my command results:
|
|
Still can't reproduce: project/build.properties sbt.version=0.13.13 project/plugins.sbt resolvers += Classpaths.sbtPluginReleases
resolvers += Classpaths.typesafeReleases
resolvers += Resolver.sonatypeRepo("releases") // to more quickly obtain paradox rigth after release
// need this to resolve http://jcenter.bintray.com/org/jenkins-ci/jenkins/1.26/
// which is used by plugin "org.kohsuke" % "github-api" % "1.68"
resolvers += "Bintray Jcenter" at "https://jcenter.bintray.com/"
// for sbt-bintray for resolving credentials from env vars
resolvers += Resolver.url("2m-sbt-plugin-releases", url("https://dl.bintray.com/2m/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "1.1.1") 11:16:38 $ rm -fr ~/.ivy2/cache/scala_2.10/sbt_0.13/com.dwijnand/sbt-dynver/
11:16:47 $ sbt
[info] Loading global plugins from /Users/dnw/.dotfiles/.sbt/0.13/plugins
[info] Updating {file:/Users/dnw/.sbt/0.13/plugins/}global-plugins...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Compiling 1 Scala source to /Users/dnw/.dotfiles/.sbt/0.13/plugins/target/scala-2.10/sbt-0.13/classes...
[info] Loading project definition from /s/t-2017-04-26.1110/project
[info] Updating {file:/s/t-2017-04-26.1110/project/}t-2017-04-26-1110-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.dwijnand/sbt-dynver/scala_2.10/sbt_0.13/1.1.1/docs/sbt-dynver-javadoc.jar ...
[info] [SUCCESSFUL ] com.dwijnand#sbt-dynver;1.1.1!sbt-dynver.jar(doc) (1957ms)
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.dwijnand/sbt-dynver/scala_2.10/sbt_0.13/1.1.1/srcs/sbt-dynver-sources.jar ...
[info] [SUCCESSFUL ] com.dwijnand#sbt-dynver;1.1.1!sbt-dynver.jar(src) (1692ms)
[info] downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.dwijnand/sbt-dynver/scala_2.10/sbt_0.13/1.1.1/jars/sbt-dynver.jar ...
[info] [SUCCESSFUL ] com.dwijnand#sbt-dynver;1.1.1!sbt-dynver.jar (1643ms)
[info] Done updating.
[info] Set current project to t-2017-04-26-1110 (in build file:/s/t-2017-04-26.1110/)
> |
@epiphyllum https://repo.typesafe.com/typesafe/ivy-releases is the wrong one, it should be https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases which should be automatically enabled. Not sure why it's missing for you. Maybe you can try to use resolvers += Classpaths.sbtPluginReleases in your |
it is really weird . |
the error message seems tell us it works like this:
when 1, 2, 3, 4 all failed, it failed so I try to
you can it indeed failed for https://repo.scala-sbt.org/scalasbt/ivy-snapshots/com.dwijnand/sbt-dynver/1.1.1/ivys/ivy.xml
|
it should not be network problem since I can download it manually
|
use sbt 13.15. |
Thanks for reporting back what resolved your issue. |
The text was updated successfully, but these errors were encountered: