maven release -> peer not authenticated

前端 未结 9 2435
面向向阳花
面向向阳花 2020-12-08 16:08

I\'m experimenting a bit with releasing my software (I\'ve never done this before) and so far I\'ve been able to execute mvn release:prepare. As I\'m executing release:perfo

9条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-08 16:39

    I had the same issue using maven 3.6.0. All proposed solutions (using -Dmaven.wagon.http.ssl.insecure=true, -Dmaven.wagon.http.ssl.allowall=true, update CA store) did not work for me. Actually the deployment failed not on the first module but on the ~25ish or so, and was successful for all previous modules. Thus I assumed that in general the SSL handling was ok and there was general issue in the local <> server connection or certificates.

    Leaving me quite confused for some time, I today stumbled across this jacoco issue where they mention the deployAtEnd parameter. Adding this parameter to my pom.xml as part of the deploy plugin configuration solved the issue for me.

    However, I'm yet not clear on why the deployment failed on some later module and not on the first already.

提交回复
热议问题