系统相关
首页 > 系统相关> > centos mvn构建jar时候显示 al ssl失败 Non-resolvable parent POM for com : Could not transfer artifa

centos mvn构建jar时候显示 al ssl失败 Non-resolvable parent POM for com : Could not transfer artifa

作者:互联网

  sun.security.validator.ValidatorException: PKIX path validation failed

 Non-resolvable parent POM for com : Could not transfer artifa

在pom中添加:

</properties>




   <!--   mvn新加  -->
   <repositories>
   <!-- 阿里云仓库,配置Maven仓库,速度快配置在最前面 -->
   <repository>
      <id>aliyun</id>
      <url>http://maven.aliyun.com/nexus/content/groups/public</url>
   </repository>
   <!-- 国内备选仓库 -->
   <repository>
      <id>repo2</id>
      <url>http://repo2.maven.org/maven2/</url>
   </repository>
   <!-- Cloudera仓库,如果在阿里云仓库里找不到去Cloudera的仓库里找,主要是CDH版本Hadoop依赖的jar -->
   <repository>
      <id>cloudera</id>
      <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
   </repository>
   </repositories>
<!--   mvn新加 end-->




   <dependencies>

标签:Non,cloudera,parent,centos,transfer,resolvable,POM,com
来源: https://blog.csdn.net/ssllkkyyaa/article/details/118910000