我试图向我的图书馆发布bintray版本。我已经发布了几个版本till now。
java.lang.RuntimeException: error uploading to https://api.bintray.com/maven/raisercostin/maven/maven/org/raisercostin/jedi-io_2.10/0.22/jedi-io_2.10-0.22.pom:
{"message":"Unable to upload files: Maven group, artifact or version defined in the pom file do not match the file path 'org/raisercostin/jedi-io_2.10/0.22/jedi-io_2.10-0.22.pom'"}
at bintray.BintrayMavenRepository.put(Resolver.scala:27)
at org.apache.ivy.plugins.resolver.RepositoryResolver.put(RepositoryResolver.java:234)
我通过project/plugins.sbt
addSbtPlugin("me.lessis" % "bintray-sbt" % "0.3.0")
具有完整详细信息的项目托管在github/jedi-io。
我注意到api网址中有一个双maven/maven
,并试图"修复"它使用自定义bintray-sbt并且它无法使用:https://api.bintray.com/maven/raisercostin/maven/org/raisercostin/jedi-io_2.10/0.22/jedi-io_2.10-0.22.pom
答案 0 :(得分:4)
作为一种解决方法,我使用publishMavenStyle := false
启用了发布常春藤样式,并在使用应用resolvers += Resolver.url("raisercostin ivy resolver", url("http://dl.bintray.com/raisercostin/maven"))(Resolver.ivyStylePatterns)
中定义了一个额外的常春藤解析器