在把library上传到bintray空间的时候报以下错误
Could not upload to 'https://api.bintray.com/content/ping/maven/comm-adapter/0.0.1/com/ping/adapter/commadapter/commadapter/0.0.1/commadapter-0.0.1.pom': HTTP/1.1 400 Bad Request [message:Unable to upload files: Maven group, artifact or version defined in the pom file do not match the file path 'com/ping/adapter/commadapter/commadapter/0.0.1/commadapter-0.0.1.pom']
问题原因是gradle文件里的 artifact = 'commadapter' 写成了 artifact = 'comm-adapter',如果你遇到类似的问题,可以检查artifact or version是否写错了
【声明】
欢迎转载,但请保留文章原始出处