为啥发布项目OK,发布模块失败

来源:5-1 6课程总结

精慕门3342524

2019-11-06 17:41

> Task :model:jar UP-TO-DATE
> Task :model:publishMyPublishPublicationToMavenLocal FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':model:publishMyPublishPublicationToMavenLocal'.
> Failed to publish publication 'myPublish' to repository 'mavenLocal'
   > Invalid publication 'myPublish': groupId is not a valid Maven identifier ([A-Za-z0-9_\-.]+).


写回答 关注

2回答

  • MrZ0123456
    2020-01-20 11:24:12

    去掉gradle.properties文件中的单引号

  • 慕粉2137233190
    2019-12-12 00:01:38

    groupId is not a valid Maven identifier ([A-Za-z0-9_\-.]+).

新一代构建工具gradle

gradle轻松入门教程,学习本课对gradle进行初步了解

39540 学习 · 98 问题

查看课程

相似问题