Maven maven-deploy-plugin always upload twice

不羁岁月 提交于 2019-11-28 20:47:52

The maven-deploy-plugin uploads the file you specify then uploads the all project attached artifacts. The maven-assembly-plugin by default attaches the output file to the project attached artifacts. This makes the upload happen twice for you.

The fix is to this to your maven-assembly-plugin configuration.

<attach>false</attach>
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!