其他分享
首页 > 其他分享> > Failed to retrieve remote metadata com.cjy:ssmParentAndSon:1.0-SNAPSHOT/maven-metadatNot authorized

Failed to retrieve remote metadata com.cjy:ssmParentAndSon:1.0-SNAPSHOT/maven-metadatNot authorized

作者:互联网

Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project ssmParentAndSon: Failed to retrieve remote metadata com.cjy:ssmParentAndSon:1.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata com.cjy:ssmParentAndSon:1.0-SNAPSHOT/maven-metadata.xml from/to snapshots (http://127.0.0.1:8081/repository/maven-snapshots/): Not authorized

 

  

<mirrors>

<mirror>

    <id>alimaven</id>

    <mirrorOf>central</mirrorOf>

    <name>aliyun maven</name>

    <url>http://maven.aliyun.com/nexus/content/groups/public/</url>

  </mirror>

</mirrors>

 

用下面注释掉的会报错,需要认证

  <!-- <mirrors>

  <mirror>

    <id>nexus</id>

    <mirrorOf>*</mirrorOf>

    <name>nexus maven</name>

    <url>http://127.0.0.1:8081/repository/maven-public/</url>

  </mirror>

</mirrors> -->

标签:retrieve,ssmParentAndSon,metadatNot,maven,Failed,1.0,com,metadata
来源: https://blog.csdn.net/weixin_45872600/article/details/113518992