maven deploy:deploy-file fails (409 Conflict), yet artifact uploads successfully

前端 未结 9 1438
长情又很酷
长情又很酷 2020-12-13 12:38

NOTE:

I now realize that the jar got placed into my repository, but the pom.xml did not. Now, I have another project where the pom.xml fails to

9条回答
  •  时光说笑
    2020-12-13 13:28

    I had this issue as well and it turned out that we had include/exclude rules set up on the repository I was trying to deploy to and my deployment didn't match those rules.

    My solution was to point the deployment at a new repository that had **/* as the include rule (and the pattern from my other repository as an exclude rule to keep them separate).

提交回复
热议问题