addSbtPlugin没有scala版本

时间:2016-04-27 20:35:03

标签: maven sbt sbt-plugin

我正在尝试在我的项目中使用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。

0 个答案:

没有答案