Gradle-MercurialMqPlug gradle - 缺少pom

时间:2014-05-04 03:09:31

标签: plugins mercurial gradle

我是Gradle构建工具的新手。我正在尝试编写我的第一个build.gradle脚本 我正在尝试安装Gradle-MercurialMqPlugin,如https://bitbucket.org/coherentsoftware/gradle-mercurialmqplugin/overview所述 我也想做HgClone 但是当我运行gradle --info时,我收到了这个错误:

* What went wrong:
A problem occurred configuring root project 'gradle'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not find au.com.coherentsoftware.gradle:Gradle-MercurialMqPlugin:VERSION.
 Required by:
     :gradle:unspecified  

信息也说:

Resource missing. [HTTP GET: http://jcenter.bintray.com/au/com/coherentsoftware/gradle/Gradle-MercurialMqPlugin/VERSION/Gradle-MercurialMqPlug
in-VERSION.pom]  
Resource missing. [HTTP HEAD: http://jcenter.bintray.com/au/com/coherentsoftware/gradle/Gradle-MercurialMqPlugin/VERSION/Gradle-MercurialMqPlu
gin-VERSION.jar]

你能告诉我,我错过了什么?我应该安装一些额外的maven东西还是......? 是否可能实际上缺少文件,因为当我在浏览器中输入该地址时,它说:

Path 'bintray/jcenter/v1/content/bintray/jcenter/au/com/coherentsoftware/gradle/Gradle-MercurialMqPlugin/VERSION/Gradle-MercurialMqPlu gin-VERSION.jar' was not found.

还有pom:

Path 'bintray/jcenter/v1/content/bintray/jcenter/au/com/coherentsoftware/gradle/Gradle-MercurialMqPlugin/VERSION/Gradle-MercurialMqPlug in-VERSION.pom' was not found.  

我应该替换此字符串中的VERSION或类似内容吗? 编辑
[我试图用最新的标签V1.1.0替换VERSION,但是在将它放入浏览器时我仍然遇到同样的错误]

非常感谢任何帮助 谢谢。

mismas

1 个答案:

答案 0 :(得分:0)

当我用1.1.0(不是V1.1.0)替换VERSION时,它有效 只需要睡一觉 愚蠢的错误。