app支付 支付宝sdk

app支付宝支付接口服务器端eclipse  中pom 中加入引用半天没反应,中央仓库出现中断的情况, 查了一些资料,原来是先下载完数据包之后再用命令导入本地库

alipay-sdk-java-4.9.13.ALL.jar

 

<!-- https://mvnrepository.com/artifact/com.alipay.sdk/alipay-sdk-java -->
<dependency>
<groupId>com.alipay.sdk</groupId>
<artifactId>alipay-sdk-java</artifactId>
<version>4.9.13.ALL</version>
</dependency>

D:\>cd wlw

D:\wlw>mvn install:install-file -DgroupId=com.alipay -DartifactId=sdk-java -Dversion=4.9.13.ALL -Dpackaging=jar -Dfile=alipay-sdk-java-4.9.13.ALL.jar
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] Unrecognised tag: 'mirror' (position: START_TAG seen ...be the preferred\n   | server for that repository.\n   |-->\n<mirror>... @146:9)  @ E:\apache-maven-3.5.4\bin\..\conf\settings.xml, line 146, column 9
[WARNING] Unrecognised tag: 'mirror' (position: START_TAG seen ...be the preferred\n   | server for that repository.\n   |-->\n<mirror>... @146:9)  @ C:\Users\admin\.m2\settings.xml, line 146, column 9
[WARNING]
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[INFO] Installing D:\wlw\alipay-sdk-java-4.9.13.ALL.jar to E:\apache-maven-3.5.4\Repositorys\com\alipay\sdk-java\4.9.13.ALL\sdk-java-4.9.13.ALL.jar
[INFO] Installing C:\Users\admin\AppData\Local\Temp\mvninstall6621068396855516916.pom to E:\apache-maven-3.5.4\Repositorys\com\alipay\sdk-java\4.9.13.ALL\sdk-java-4.9.13.ALL.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.090 s
[INFO] Finished at: 2020-01-14T21:41:15+08:00
[INFO] ------------------------------------------------------------------------

猜你喜欢

转载自www.cnblogs.com/zuochanzi/p/12194264.html
今日推荐