Maven group, artifact or version defined in the pom file do not match the file ...

在把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是否写错了

 

 

 

【声明】 

欢迎转载,但请保留文章原始出处

博客地址:http://www.cnblogs.com/lping/

文章来源:http://www.cnblogs.com/lping/p/5474863.html

posted on 2016-05-09 17:55  木头平  阅读(684)  评论(0编辑  收藏  举报

导航