对cassandra幻影的依赖

时间:2016-07-11 16:21:41

标签: scala maven cassandra sbt phantom-dsl

我关注bulid.sbt

scalaVersion := "2.11.8"

libraryDependencies += "com.websudos" %% "diesel-engine" % "0.3.0"

libraryDependencies += "com.websudos" %% "phantom-dsl" % "1.27.0"

sbt尝试解决依赖关系后,会显示以下信息:

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: com.websudos#diesel-engine_2.11;0.3.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn] 
[warn]  Note: Unresolved dependencies path:
[warn]          com.websudos:diesel-engine_2.11:0.3.0 (/path/build.sbt#L13-14)
[warn]            +- com.websudos:phantom-dsl_2.11:1.27.0 (/path/build.sbt#L15-16)
[warn]            +- default:webscraper_2.11:1.0
[trace] Stack trace suppressed: run last *:update for the full output.
[error] (*:update) sbt.ResolveException: unresolved dependency: com.websudos#diesel-engine_2.11;0.3.0: not found
[error] Total time: 2 s, completed 2016-07-11 18:19:22

2 个答案:

答案 0 :(得分:1)

maven central上没有此类版本。最老的是1.5.0。如果您真的想使用旧版本,请尝试从here下载此行,将此行添加到您的sbt:

resolvers += Resolver.bintrayRepo("websudos", "oss-releases")

答案 1 :(得分:1)

Maven Central上可用的最新版幻像是1.27.0diesel-engine根本没有发布到Maven Central,而是发布到我们的OSS Bintray存储库。

resolvers += Resolver.bintrayRepo("websudos", "oss-releases")是让diesel-engine正确解决所需的问题。所有这些都在整合幻像的维基页面上有所描述,可用here