dacr / jassh

High level scala SSH API for easy and fast operations on remote servers.
Apache License 2.0
71 stars 27 forks source link

Unable to resolve dependency #30

Closed flyrev closed 7 years ago

flyrev commented 7 years ago

Hi

With the following build.sbt name := "minimal-jassh"

version := "1.0"

scalaVersion := "2.12.1"

resolvers += "JAnalyse Repository" at "http://www.janalyse.fr/repository/"

libraryDependencies += "fr.janalyse" %% "janalyse-ssh" % "0.9.19" % "compile"

I get

Error:Error while importing SBT project:
...

[warn] ==== JAnalyse Repository: tried
[warn]   http://www.janalyse.fr/repository/fr/janalyse/janalyse-ssh_2.12/0.9.19/janalyse-ssh_2.12-0.9.19.pom
[info] Resolving org.scala-lang#scala-compiler;2.12.1 ...
[info] Resolving org.scala-lang#scala-reflect;2.12.1 ...
[info] Resolving org.scala-lang.modules#scala-xml_2.12;1.0.6 ...
[info] Resolving jline#jline;2.14.1 ...
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: fr.janalyse#janalyse-ssh_2.12;0.9.19: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn]  Note: Unresolved dependencies path:
[warn]      fr.janalyse:janalyse-ssh_2.12:0.9.19 (/home/flyrev/git/minimal-jassh/build.sbt#L9-10)
[warn]        +- default:minimal-jassh_2.12:1.0
[trace] Stack trace suppressed: run 'last :ssExtractProject' for the full output.
[trace] Stack trace suppressed: run 'last :update' for the full output.
[error] (:ssExtractProject) sbt.ResolveException: unresolved dependency: fr.janalyse#janalyse-ssh_2.12;0.9.19: not found
[error] (:update) sbt.ResolveException: unresolved dependency: fr.janalyse#janalyse-ssh_2.12;0.9.19: not found
[error] Total time: 2 s, completed Mar 29, 2017 8:53:39 PM

See complete log in file:/home/flyrev/.IntelliJIdea2017.1/system/log/sbt.last.log

What should I do?

flyrev commented 7 years ago

Using scalaVersion := "2.11.8" worked apparently.

Never mind then! :)