码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2016-05-09 18:26:10      阅读:541      评论:0      收藏:0      [点我收藏+]

标签:

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

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

标签:

原文地址:http://www.cnblogs.com/lping/p/5474863.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!