首页 > 其他 > 详细

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

时间:2016-05-09 18:24:51      阅读:185      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!