我正在尝试在我的项目中使用babel webjar插件,该插件是使用playframework 2.5构建的,它基本上运行sbt
来构建项目。
当我把
addSbtPlugin("org.webjars" %% "babel" % "6.3.26-1" )
在project / plugins.sbt中,我收到此错误:
[info] Resolving org.webjars#babel;6.3.26-1 ...
[warn] module not found: org.webjars#babel;6.3.26-1
<trying other repositories>
[warn] https://repo1.maven.org/maven2/org/webjars/babel_2.10_0.13/6.3.26-1/babel-6.3.26-1.pom
pom文件位于http://repo1.maven.org/maven2/org/webjars/babel/6.3.26-1/babel-6.3.26-1.pom。这几乎是sbt试过的地址,但sbt添加了scala版本。
有没有办法告诉sbt不添加scala版本?我尝试了这个版本和一个百分号,并且他们都添加了scala版本。
我正在使用sbt 0.13.9。