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 #147

Open
camol opened this issue Feb 27, 2015 · 0 comments
Open

Unresolved dependency #147

camol opened this issue Feb 27, 2015 · 0 comments

Comments

@camol
Copy link

camol commented Feb 27, 2015

Hello I having the following problem when running sbt or sbt update when following the https://twitter.github.io/scala_school/searchbird.html

[info] Updating plugins...
[warn] Host artifactory.local.twitter.com not found. url=http://artifactory.local.twitter.com/repo/com/twitter/sbt-thrift/1.3.4/sbt-thrift-1.3.4.pom
[info] You probably access the destination server through a proxy server that is not well configured.
[warn] Host artifactory.local.twitter.com not found. url=http://artifactory.local.twitter.com/repo/com/twitter/sbt-thrift/1.3.4/sbt-thrift-1.3.4.jar
[info] You probably access the destination server through a proxy server that is not well configured.
[warn] module not found: com.twitter#sbt-thrift;1.3.4
[warn] ==== local: tried
[warn] /Users/camol/.ivy2/local/com.twitter/sbt-thrift/1.3.4/ivys/ivy.xml
[warn] -- artifact com.twitter#sbt-thrift;1.3.4!sbt-thrift.jar:
[warn] /Users/camol/.ivy2/local/com.twitter/sbt-thrift/1.3.4/jars/sbt-thrift.jar
[warn] ==== twitter.artifactory: tried
[warn] http://artifactory.local.twitter.com/repo/com/twitter/sbt-thrift/1.3.4/sbt-thrift-1.3.4.pom
[warn] -- artifact com.twitter#sbt-thrift;1.3.4!sbt-thrift.jar:
[warn] http://artifactory.local.twitter.com/repo/com/twitter/sbt-thrift/1.3.4/sbt-thrift-1.3.4.jar
[warn] Host artifactory.local.twitter.com not found. url=http://artifactory.local.twitter.com/repo/com/twitter/standard-project/0.11.4/standard-project-0.11.4.pom
[info] You probably access the destination server through a proxy server that is not well configured.
[warn] Host artifactory.local.twitter.com not found. url=http://artifactory.local.twitter.com/repo/com/twitter/standard-project/0.11.4/standard-project-0.11.4.jar
[info] You probably access the destination server through a proxy server that is not well configured.
[warn] module not found: com.twitter#standard-project;0.11.4
[warn] ==== local: tried
[warn] /Users/camol/.ivy2/local/com.twitter/standard-project/0.11.4/ivys/ivy.xml
[warn] -- artifact com.twitter#standard-project;0.11.4!standard-project.jar:
[warn] /Users/camol/.ivy2/local/com.twitter/standard-project/0.11.4/jars/standard-project.jar
[warn] ==== twitter.artifactory: tried
[warn] http://artifactory.local.twitter.com/repo/com/twitter/standard-project/0.11.4/standard-project-0.11.4.pom
[warn] -- artifact com.twitter#standard-project;0.11.4!standard-project.jar:
[warn] http://artifactory.local.twitter.com/repo/com/twitter/standard-project/0.11.4/standard-project-0.11.4.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.twitter#sbt-thrift;1.3.4: not found
[warn] :: com.twitter#standard-project;0.11.4: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[info]
[warn] :: problems summary ::
[warn] :::: WARNINGS
[warn] Host artifactory.local.twitter.com not found. url=http://artifactory.local.twitter.com/repo/com/twitter/sbt-thrift/1.3.4/sbt-thrift-1.3.4.pom
[warn] Host artifactory.local.twitter.com not found. url=http://artifactory.local.twitter.com/repo/com/twitter/sbt-thrift/1.3.4/sbt-thrift-1.3.4.jar
[warn] module not found: com.twitter#sbt-thrift;1.3.4
[warn] ==== local: tried
[warn] /Users/camol/.ivy2/local/com.twitter/sbt-thrift/1.3.4/ivys/ivy.xml
[warn] -- artifact com.twitter#sbt-thrift;1.3.4!sbt-thrift.jar:
[warn] /Users/camol/.ivy2/local/com.twitter/sbt-thrift/1.3.4/jars/sbt-thrift.jar
[warn] ==== twitter.artifactory: tried
[warn] http://artifactory.local.twitter.com/repo/com/twitter/sbt-thrift/1.3.4/sbt-thrift-1.3.4.pom
[warn] -- artifact com.twitter#sbt-thrift;1.3.4!sbt-thrift.jar:
[warn] http://artifactory.local.twitter.com/repo/com/twitter/sbt-thrift/1.3.4/sbt-thrift-1.3.4.jar
[warn] Host artifactory.local.twitter.com not found. url=http://artifactory.local.twitter.com/repo/com/twitter/standard-project/0.11.4/standard-project-0.11.4.pom
[warn] Host artifactory.local.twitter.com not found. url=http://artifactory.local.twitter.com/repo/com/twitter/standard-project/0.11.4/standard-project-0.11.4.jar
[warn] module not found: com.twitter#standard-project;0.11.4
[warn] ==== local: tried
[warn] /Users/camol/.ivy2/local/com.twitter/standard-project/0.11.4/ivys/ivy.xml
[warn] -- artifact com.twitter#standard-project;0.11.4!standard-project.jar:
[warn] /Users/camol/.ivy2/local/com.twitter/standard-project/0.11.4/jars/standard-project.jar
[warn] ==== twitter.artifactory: tried
[warn] http://artifactory.local.twitter.com/repo/com/twitter/standard-project/0.11.4/standard-project-0.11.4.pom
[warn] -- artifact com.twitter#standard-project;0.11.4!standard-project.jar:
[warn] http://artifactory.local.twitter.com/repo/com/twitter/standard-project/0.11.4/standard-project-0.11.4.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.twitter#sbt-thrift;1.3.4: not found
[warn] :: com.twitter#standard-project;0.11.4: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[info]
[info] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
[error] sbt.ResolveException: unresolved dependency: com.twitter#sbt-thrift;1.3.4: not found
[error] unresolved dependency: com.twitter#standard-project;0.11.4: not found
sbt.ResolveException: unresolved dependency: com.twitter#sbt-thrift;1.3.4: not found
unresolved dependency: com.twitter#standard-project;0.11.4: not found

When I change the Plugins.scala code to:

import sbt._

class Plugins(info: ProjectInfo) extends PluginDefinition(info) {
import scala.collection.jcl
val environment = jcl.Map(System.getenv())
def isSBTOpenTwitter = environment.get("SBT_OPEN_TWITTER").isDefined
def isSBTTwitter = environment.get("SBT_TWITTER").isDefined

override def repositories = if (isSBTOpenTwitter) {
Set("twitter.artifactory" at "http://artifactory.local.twitter.com/open-source/")
} else if (isSBTTwitter) {
Set("twitter.artifactory" at "http://artifactory.local.twitter.com/repo/")
} else {
super.repositories ++ Set(
"twitter.com" at "http://maven.twttr.com/",
"scala-tools" at "http://scala-tools.org/repo-releases/",
"freemarker" at "http://freemarker.sourceforge.net/maven2/"
)
}
override def ivyRepositories = Seq(Resolver.defaultLocal(None)) ++ repositories

val standardProject = "com.twitter" % "standard-project" % "0.12.7"
val sbtThrift = "com.twitter" % "sbt-thrift" % "1.4.4"
}

I get another set of errors:

[info] Recompiling plugin definition...
[info] Source analysis: 1 new/modified, 0 indirectly invalidated, 0 removed.
[info]
[info] Updating plugins...
[warn] module not found: org.jruby#jruby-complete;1.6.0.RC2
[warn] ==== local: tried
[warn] /Users/camol/.ivy2/local/org.jruby/jruby-complete/1.6.0.RC2/ivys/ivy.xml
[warn] -- artifact org.jruby#jruby-complete;1.6.0.RC2!jruby-complete.jar:
[warn] /Users/camol/.ivy2/local/org.jruby/jruby-complete/1.6.0.RC2/jars/jruby-complete.jar
[warn] ==== twitter.com: tried
[warn] http://maven.twttr.com/org/jruby/jruby-complete/1.6.0.RC2/jruby-complete-1.6.0.RC2.pom
[warn] -- artifact org.jruby#jruby-complete;1.6.0.RC2!jruby-complete.jar:
[warn] http://maven.twttr.com/org/jruby/jruby-complete/1.6.0.RC2/jruby-complete-1.6.0.RC2.jar
[warn] ==== scala-tools: tried
[warn] http://scala-tools.org/repo-releases/org/jruby/jruby-complete/1.6.0.RC2/jruby-complete-1.6.0.RC2.pom
[warn] -- artifact org.jruby#jruby-complete;1.6.0.RC2!jruby-complete.jar:
[warn] http://scala-tools.org/repo-releases/org/jruby/jruby-complete/1.6.0.RC2/jruby-complete-1.6.0.RC2.jar
[warn] ==== freemarker: tried
[warn] http://freemarker.sourceforge.net/maven2/org/jruby/jruby-complete/1.6.0.RC2/jruby-complete-1.6.0.RC2.pom
[warn] -- artifact org.jruby#jruby-complete;1.6.0.RC2!jruby-complete.jar:
[warn] http://freemarker.sourceforge.net/maven2/org/jruby/jruby-complete/1.6.0.RC2/jruby-complete-1.6.0.RC2.jar
[warn] module not found: org.markdownj#markdownj;0.3.0-1.0.2b4
[warn] ==== local: tried
[warn] /Users/camol/.ivy2/local/org.markdownj/markdownj/0.3.0-1.0.2b4/ivys/ivy.xml
[warn] -- artifact org.markdownj#markdownj;0.3.0-1.0.2b4!markdownj.jar:
[warn] /Users/camol/.ivy2/local/org.markdownj/markdownj/0.3.0-1.0.2b4/jars/markdownj.jar
[warn] ==== twitter.com: tried
[warn] http://maven.twttr.com/org/markdownj/markdownj/0.3.0-1.0.2b4/markdownj-0.3.0-1.0.2b4.pom
[warn] -- artifact org.markdownj#markdownj;0.3.0-1.0.2b4!markdownj.jar:
[warn] http://maven.twttr.com/org/markdownj/markdownj/0.3.0-1.0.2b4/markdownj-0.3.0-1.0.2b4.jar
[warn] ==== scala-tools: tried
[warn] http://scala-tools.org/repo-releases/org/markdownj/markdownj/0.3.0-1.0.2b4/markdownj-0.3.0-1.0.2b4.pom
[warn] -- artifact org.markdownj#markdownj;0.3.0-1.0.2b4!markdownj.jar:
[warn] http://scala-tools.org/repo-releases/org/markdownj/markdownj/0.3.0-1.0.2b4/markdownj-0.3.0-1.0.2b4.jar
[warn] ==== freemarker: tried
[warn] http://freemarker.sourceforge.net/maven2/org/markdownj/markdownj/0.3.0-1.0.2b4/markdownj-0.3.0-1.0.2b4.pom
[warn] -- artifact org.markdownj#markdownj;0.3.0-1.0.2b4!markdownj.jar:
[warn] http://freemarker.sourceforge.net/maven2/org/markdownj/markdownj/0.3.0-1.0.2b4/markdownj-0.3.0-1.0.2b4.jar
[warn] module not found: org.freemarker#freemarker;2.3.16
[warn] ==== local: tried
[warn] /Users/camol/.ivy2/local/org.freemarker/freemarker/2.3.16/ivys/ivy.xml
[warn] -- artifact org.freemarker#freemarker;2.3.16!freemarker.jar:
[warn] /Users/camol/.ivy2/local/org.freemarker/freemarker/2.3.16/jars/freemarker.jar
[warn] ==== twitter.com: tried
[warn] http://maven.twttr.com/org/freemarker/freemarker/2.3.16/freemarker-2.3.16.pom
[warn] -- artifact org.freemarker#freemarker;2.3.16!freemarker.jar:
[warn] http://maven.twttr.com/org/freemarker/freemarker/2.3.16/freemarker-2.3.16.jar
[warn] ==== scala-tools: tried
[warn] http://scala-tools.org/repo-releases/org/freemarker/freemarker/2.3.16/freemarker-2.3.16.pom
[warn] -- artifact org.freemarker#freemarker;2.3.16!freemarker.jar:
[warn] http://scala-tools.org/repo-releases/org/freemarker/freemarker/2.3.16/freemarker-2.3.16.jar
[warn] ==== freemarker: tried
[warn] http://freemarker.sourceforge.net/maven2/org/freemarker/freemarker/2.3.16/freemarker-2.3.16.pom
[warn] -- artifact org.freemarker#freemarker;2.3.16!freemarker.jar:
[warn] http://freemarker.sourceforge.net/maven2/org/freemarker/freemarker/2.3.16/freemarker-2.3.16.jar
[info] downloading http://maven.twttr.com/com/twitter/sbt-thrift/1.4.4/sbt-thrift-1.4.4.jar ...
[info] [SUCCESSFUL ] com.twitter#sbt-thrift;1.4.4!sbt-thrift.jar (4938ms)
[info] downloading http://maven.twttr.com/com/twitter/standard-project/0.12.7/standard-project-0.12.7.jar ...
[info] [SUCCESSFUL ] com.twitter#standard-project;0.12.7!standard-project.jar (586ms)
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.jruby#jruby-complete;1.6.0.RC2: not found
[warn] :: org.markdownj#markdownj;0.3.0-1.0.2b4: not found
[warn] :: org.freemarker#freemarker;2.3.16: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[info]
[warn] :: problems summary ::
[warn] :::: WARNINGS
[warn] module not found: org.jruby#jruby-complete;1.6.0.RC2
[warn] ==== local: tried
[warn] /Users/camol/.ivy2/local/org.jruby/jruby-complete/1.6.0.RC2/ivys/ivy.xml
[warn] -- artifact org.jruby#jruby-complete;1.6.0.RC2!jruby-complete.jar:
[warn] /Users/camol/.ivy2/local/org.jruby/jruby-complete/1.6.0.RC2/jars/jruby-complete.jar
[warn] ==== twitter.com: tried
[warn] http://maven.twttr.com/org/jruby/jruby-complete/1.6.0.RC2/jruby-complete-1.6.0.RC2.pom
[warn] -- artifact org.jruby#jruby-complete;1.6.0.RC2!jruby-complete.jar:
[warn] http://maven.twttr.com/org/jruby/jruby-complete/1.6.0.RC2/jruby-complete-1.6.0.RC2.jar
[warn] ==== scala-tools: tried
[warn] http://scala-tools.org/repo-releases/org/jruby/jruby-complete/1.6.0.RC2/jruby-complete-1.6.0.RC2.pom
[warn] -- artifact org.jruby#jruby-complete;1.6.0.RC2!jruby-complete.jar:
[warn] http://scala-tools.org/repo-releases/org/jruby/jruby-complete/1.6.0.RC2/jruby-complete-1.6.0.RC2.jar
[warn] ==== freemarker: tried
[warn] http://freemarker.sourceforge.net/maven2/org/jruby/jruby-complete/1.6.0.RC2/jruby-complete-1.6.0.RC2.pom
[warn] -- artifact org.jruby#jruby-complete;1.6.0.RC2!jruby-complete.jar:
[warn] http://freemarker.sourceforge.net/maven2/org/jruby/jruby-complete/1.6.0.RC2/jruby-complete-1.6.0.RC2.jar
[warn] module not found: org.markdownj#markdownj;0.3.0-1.0.2b4
[warn] ==== local: tried
[warn] /Users/camol/.ivy2/local/org.markdownj/markdownj/0.3.0-1.0.2b4/ivys/ivy.xml
[warn] -- artifact org.markdownj#markdownj;0.3.0-1.0.2b4!markdownj.jar:
[warn] /Users/camol/.ivy2/local/org.markdownj/markdownj/0.3.0-1.0.2b4/jars/markdownj.jar
[warn] ==== twitter.com: tried
[warn] http://maven.twttr.com/org/markdownj/markdownj/0.3.0-1.0.2b4/markdownj-0.3.0-1.0.2b4.pom
[warn] -- artifact org.markdownj#markdownj;0.3.0-1.0.2b4!markdownj.jar:
[warn] http://maven.twttr.com/org/markdownj/markdownj/0.3.0-1.0.2b4/markdownj-0.3.0-1.0.2b4.jar
[warn] ==== scala-tools: tried
[warn] http://scala-tools.org/repo-releases/org/markdownj/markdownj/0.3.0-1.0.2b4/markdownj-0.3.0-1.0.2b4.pom
[warn] -- artifact org.markdownj#markdownj;0.3.0-1.0.2b4!markdownj.jar:
[warn] http://scala-tools.org/repo-releases/org/markdownj/markdownj/0.3.0-1.0.2b4/markdownj-0.3.0-1.0.2b4.jar
[warn] ==== freemarker: tried
[warn] http://freemarker.sourceforge.net/maven2/org/markdownj/markdownj/0.3.0-1.0.2b4/markdownj-0.3.0-1.0.2b4.pom
[warn] -- artifact org.markdownj#markdownj;0.3.0-1.0.2b4!markdownj.jar:
[warn] http://freemarker.sourceforge.net/maven2/org/markdownj/markdownj/0.3.0-1.0.2b4/markdownj-0.3.0-1.0.2b4.jar
[warn] module not found: org.freemarker#freemarker;2.3.16
[warn] ==== local: tried
[warn] /Users/camol/.ivy2/local/org.freemarker/freemarker/2.3.16/ivys/ivy.xml
[warn] -- artifact org.freemarker#freemarker;2.3.16!freemarker.jar:
[warn] /Users/camol/.ivy2/local/org.freemarker/freemarker/2.3.16/jars/freemarker.jar
[warn] ==== twitter.com: tried
[warn] http://maven.twttr.com/org/freemarker/freemarker/2.3.16/freemarker-2.3.16.pom
[warn] -- artifact org.freemarker#freemarker;2.3.16!freemarker.jar:
[warn] http://maven.twttr.com/org/freemarker/freemarker/2.3.16/freemarker-2.3.16.jar
[warn] ==== scala-tools: tried
[warn] http://scala-tools.org/repo-releases/org/freemarker/freemarker/2.3.16/freemarker-2.3.16.pom
[warn] -- artifact org.freemarker#freemarker;2.3.16!freemarker.jar:
[warn] http://scala-tools.org/repo-releases/org/freemarker/freemarker/2.3.16/freemarker-2.3.16.jar
[warn] ==== freemarker: tried
[warn] http://freemarker.sourceforge.net/maven2/org/freemarker/freemarker/2.3.16/freemarker-2.3.16.pom
[warn] -- artifact org.freemarker#freemarker;2.3.16!freemarker.jar:
[warn] http://freemarker.sourceforge.net/maven2/org/freemarker/freemarker/2.3.16/freemarker-2.3.16.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.jruby#jruby-complete;1.6.0.RC2: not found
[warn] :: org.markdownj#markdownj;0.3.0-1.0.2b4: not found
[warn] :: org.freemarker#freemarker;2.3.16: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[info]
[info] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
[error] sbt.ResolveException: unresolved dependency: org.jruby#jruby-complete;1.6.0.RC2: not found
[error] unresolved dependency: org.markdownj#markdownj;0.3.0-1.0.2b4: not found
[error] unresolved dependency: org.freemarker#freemarker;2.3.16: not found
sbt.ResolveException: unresolved dependency: org.jruby#jruby-complete;1.6.0.RC2: not found
unresolved dependency: org.markdownj#markdownj;0.3.0-1.0.2b4: not found
unresolved dependency: org.freemarker#freemarker;2.3.16: not found

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

1 participant