openjdk maven 打包报错 maven the trustAnchors parameter must be non-empty

发布时间 2023-09-12 00:53:47作者: 花开浪漫拾

原因:

  openjdk无法打包

解决:maven打包名加上   -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

比如:mvn clean -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

 

 

参考:https://blog.csdn.net/csdn17355456893/article/details/120595168