I'm trying to publish to bintray a relase for my library. I already released several versions 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)
I'm using bintray-sbt via project/plugins.sbt
addSbtPlugin("me.lessis" % "bintray-sbt" % "0.3.0")
The project with full details is hosted on github/jedi-io.
I noticed a double maven/maven
in the api url and tried to "fix" it using a custom bintray-sbt and it didn't work with either: https://api.bintray.com/maven/raisercostin/maven/org/raisercostin/jedi-io_2.10/0.22/jedi-io_2.10-0.22.pom
As a workaround I enabled publishing ivy style with publishMavenStyle := false
and defined an additional ivy resolver in the using app resolvers += Resolver.url("raisercostin ivy resolver", url("http://dl.bintray.com/raisercostin/maven"))(Resolver.ivyStylePatterns)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With