maven打包问题·

如果执行mvn install过程中碰到如下问题时,说明本地没有配置http ssl环境,可以采用命令:mvn compile -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true来跳过http ssl的校验。

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project gold-recycle-service: Could not resolve dependencies for project ltd.sharevip:gold-recycle-service:war:0.0.1-SNAPSHOT: Failed to collect dependencies at org.apache.
shiro:shiro-spring:jar:1.4.0: Failed to read artifact descriptor for org.apache.shiro:shiro-spring:jar:1.4.0: Could not transfer artifact org.apache.shiro:shiro-spring:pom:1.4.0 from/to central (https://rep
o.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/apache/shiro/shiro-spring/1.4.0/shiro-spring-1.4.0.pom: sun.security.validator.ValidatorException: PKIX path validati
on failed: java.security.cert.CertPathValidatorException: signature check failed: No installed provider supports this key: sun.security.rsa.RSAPublicKeyImpl -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

你可能感兴趣的:(maven打包问题·)