mvn clean package 报错:Could not transfer artifact org.apache.maven.plugins

mvn clean package 报错:Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:.....

使用maven命令进行打包时,报错:

Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to central (https://repo.maven.apache.org/maven2)
 

配阿里maven私有仓库服务----->直接把maven安装文件夹的conf文件夹下的 settings.xml文件配置如下:

     
     
         alimaven
         *
         https://maven.aliyun.com/repository/central
     

mvn clean package 报错:Could not transfer artifact org.apache.maven.plugins_第1张图片

mvn clean package 报错:Could not transfer artifact org.apache.maven.plugins_第2张图片

你可能感兴趣的:(maven)