1. 将jar放到本地某个位置,然后cmd到目标位置;
2. 执行mvn install:install-file -DgroupId=com.alipay -DartifactId=alipay-trade-sdk-20161215-source -Dversion=1.0 -Dpackaging=Jar -Dfile=alipay-trade-sdk-20161215-source-1.0.Jar
3. 项目内pom引入:
<dependency>
<groupId>com.alipay</groupId>
<artifactId>alipay-trade-sdk-20161215-source</artifactId>
<version>1.0</version>
<dependency>