SBT不';不要使用解析器?
我使用SBT0.13.1 我在SBT不';不要使用解析器?,sbt,Sbt,我使用SBT0.13.1 我在plugins.sbt中有以下解析器: resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/" resolvers += "Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/" 以及以下库依赖项: "org.squeryl" % "squeryl
plugins.sbt
中有以下解析器
:
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
resolvers += "Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"
以及以下库依赖项:
"org.squeryl" % "squeryl2_10" % "0.9.6-SNAPSHOT"
SBT似乎没有使用快照解析器,因为我可以看到工件存在于中
我做错了什么?问题是您已将解析器添加到
项目
子目录中的plugins.sbt
,但Squeryl不是插件或插件的依赖项,实际上应该添加到项目主目录中的plugins.sbt
文件中。通常是build.sbt
[warn] module not found: org.squeryl#squeryl2_10;0.9.6-SNAPSHOT
[warn] ==== local: tried
[warn] /home/max/.ivy2/local/org.squeryl/squeryl2_10/0.9.6-SNAPSHOT/ivys/ivy.xml
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/org/squeryl/squeryl2_10/0.9.6-SNAPSHOT/squeryl2_10-0.9.6-SNAPSHOT.pom
[warn] ==== Typesafe Releases Repository: tried
[warn] http://repo.typesafe.com/typesafe/releases/org/squeryl/squeryl2_10/0.9.6-SNAPSHOT/squeryl2_10-0.9.6-SNAPSHOT.pom
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.squeryl#squeryl2_10;0.9.6-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::