您的位置:首页 > 其它

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

2016-05-09 17:55 627 查看

在把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

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: