我正在使用Java编写Play 2.3.2应用程序。为什么激活者无法解析本地maven资源库中的自定义依赖项?
我已经分叉邮件黑猩猩java api包装存储库,我已经扩展它,并更改模块版本2.0.1.2-beta
。
我已经将我的模块安装到本地maven存储库中。于是,我试着从我的播放应用程序的构建提到它,但在游戏外壳(activator update
)的update
命令给我下面的错误:
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.ecwid#ecwid-mailchimp;2.0.1.2-beta: several problems occurred while resolving dependency: com.ecwid#ecwid-mailchimp;2.0.1.2-beta {compile=[default(compile)]}:
[warn] URI has an authority component
[warn] URI has an authority component
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: com.ecwid#ecwid-mailchimp;2.0.1.2-beta: several problems occurred while resolving dependency: com.ecwid#ecwid-mailchimp;2.0.1.2-beta {compile=[default(compile)]}:
URI has an authority component
URI has an authority component
at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:217)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:126)
at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:125)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:115)
...
[error] (*:update) sbt.ResolveException: unresolved dependency: com.ecwid#ecwid-mailchimp;2.0.1.2-beta: several problems occurred while resolving dependency: com.ecwid#ecwid-mailchimp;2.0.1.2-beta {compile=[default(compile)]}:
[error] URI has an authority component
[error] URI has an authority component
这是build.sbt
文件我rilevant的一部分:
resolvers ++= Seq(
Resolver.sonatypeRepo("snapshots"),
"Local Play Repository" at "file://$HOME/.ivy2/local",
"Local Maven Repository" at "file://$HOME/.m2/repository"
)
libraryDependencies ++= Seq(
"com.ecwid" % "ecwid-mailchimp" % "2.0.1.2-beta"
)
怎么回事?