顺丰sdk依赖引入私服仓库,觉得有用话,就试试吧

通过 MAVEN 安装命令,成功将 SF-CSIM-EXPRESS-SDK-V2.1.7.jar 引入到本地 Maven 仓库。执行 `mvn install:install-file` 命令,指定 jar 包路径、分组名称、artifactId、版本号、包类型和是否生成 pom 文件,完成第三方库的本地安装。确认安装成功,Maven 输出 BUILD SUCCESS。
摘要由CSDN通过智能技术生成

下面我们以引入顺丰丰桥第三方库sdk到本地maven为例

//引入maven命令示例
mvn install:install-file  -Dfile=H:\SF-CSIM\SF-CSIM-EXPRESS-SDK-V2.1.7.jar -DgroupId=com.sf -DartifactId=SF-CSIM-EXPRESS-SDK -Dversion=2.1.7 -Dpackaging=jar -DgeneratePom=true
//Dfile--jar包路径
//以下均为自定义
//DgroupId--分组名称
//DartifactId 
//Dversion 版本号
//Dpackaging 包类型
//DgeneratePom --pom文件引用

到本地第三库目录下输入cmd执行以上命令提示 BUILD SUCCESS表示引入成功!!!

[INFO] ------------------------------------------------------------------------

H:\SF-CSIM>mvn install:install-file  -Dfile=H:\SF-CSIM\SF-CSIM-EXPRESS-SDK-V2.1.7.jar -DgroupId=com.sf -DartifactId=SF-CSIM-EXPRESS-SDK-V2.1.7 -Dversion=2.1.7 -Dpackaging=jar -DgeneratePom=true
[INFO] Scanning for projects...
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.5/maven-clean-plugin-2.5.pom (4 KB at 2.1 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom (7 KB at 16.5 KB/sec)
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.5/plexus-utils-3.0.5.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.5/plexus-utils-3.0.5.pom (3 KB at 2.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/3.1/plexus-3.1.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/3.1/plexus-3.1.pom (19 KB at 30.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom (2 KB at 1.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/1.1.7/plexus-components-1.1.7.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/1.1.7/plexus-components-1.1.7.pom (5 KB at 8.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/1.0.8/plexus-1.0.8.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/1.0.8/plexus-1.0.8.pom (8 KB at 4.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.pom (8 KB at 8.6 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.5/plexus-utils-3.0.5.jar
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar (12 KB at 11.7 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.5/plexus-utils-3.0.5.jar (226 KB at 139.4 KB/sec)
[INFO] Installing H:\SF-CSIM\SF-CSIM-EXPRESS-SDK-V2.1.7.jar to G:\maven\repository\com\sf\SF-CSIM-EXPRESS-SDK-V2.1.7\2.1.7\SF-CSIM-EXPRESS-SDK-V2.1.7-2.1.7.jar
[INFO] Installing C:\Users\Dylan\AppData\Local\Temp\mvninstall7323707998860812195.pom to G:\maven\repository\com\sf\SF-CSIM-EXPRESS-SDK-V2.1.7\2.1.7\SF-CSIM-EXPRESS-SDK-V2.1.7-2.1.7.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

小甘说码

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值