xxpay eclipse maven 配置

用eclipse打开旧的xxpay工程,发现不可用,有库无法找到,标记为lastupdated,

打开lastupdated文件显示501不支持http错误,maven服务器不再支持http,需要更改为别的服务器或换用https。

在eclipse的maven设置中,本地配置文件settings.xml为空,路径为C:\Users\mac\.m2

电脑上同时装有STS,都用的是自带的maven,没有单独配置

下载一个settings.xml模板,修改mirror为阿里云或改为https

          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">

   

   


   

   

   

   

       

   

   

   

       

   

   

   

       

       

   

   

   

       

       

            alimaven-central

            central

            aliyun mavens

            http://maven.aliyun.com/nexus/content/repositories/central/

       

       

            jboss-public-repository-group

            central

            JBoss Public Repository Group

            http://repository.jboss.org/nexus/content/groups/public

       

       

   

   

   

       


       

   

   

你可能感兴趣的:(xxpay eclipse maven 配置)