我正在尝试让sbt使用sbt-idea插件生成Intellij IDEA项目文件,如here所述。
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: de.undercouch#sbt-docbook-plugin;0.2-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] de.undercouch:sbt-docbook-plugin:0.2-SNAPSHOT (sbtVersion=0.11.2, scalaVersion=2.9.1)
[warn]
[error] {file:/Users/ndidi/Sandbox/specs2-spring-examples/simple/project/plugins/}default-58af23/*:update: sbt.ResolveException: unresolved dependency: de.undercouch#sbt-docbook-plugin;0.2-SNAPSHOT: not found
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? i
[warn] Ignoring load failure: no project loaded.
[error] Not a valid command: gen-idea
[error] gen-idea
[error] ^我已经浏览了这个项目的问题页面,也广泛地搜索了一下,但是我还没有发现其他任何人有这个问题,这让我相信这个问题有点不常见,很可能与我的设置问题有关。
如果有人能对此稍加关注,我将不胜感激。
提前谢谢。
发布于 2012-01-16 02:03:23
有两个变化帮助解决了这个问题和其他一些小问题:
快照(“de.undercouch”% "sbt-docbook-plugin“%”0.2-addSbtPlugin“)
从/project/plugins.sbt
发布于 2013-03-25 06:30:42
我按照sbt-idea官网上this thread的建议,清理了"~/.ivy2“和"~/.sbt”目录,解决了这个问题。
https://stackoverflow.com/questions/8865044
复制相似问题