mirror of
https://github.com/yanlongqi/jhinno-openapi-java-sdk.git
synced 2026-03-22 06:15:10 +08:00
doc(readme): 解决导入时因导入方式不对二导致的pom文件不完整而无法下载SDK的依赖的问题
使用maven插件导入解决:org.apache.maven.plugins:maven-install-plugin:3.1.1:install-file
This commit is contained in:
@@ -51,9 +51,9 @@
|
||||
|
||||
```shell
|
||||
# 其中<path-to-dir>为jar的路径,<path-to-dir>为jar包路径
|
||||
mvn install:install-file -Dfile="<path-to-dir>/jhinno-openapi-java-sdk-1.0.0.jar" -Dsources="<path-to-dir>/jhinno-openapi-java-sdk-1.0.0-sources.jar"
|
||||
mvn org.apache.maven.plugins:maven-install-plugin:3.1.1:install-file -Dfile="<path-to-dir>/jhinno-openapi-java-sdk-1.0.0.jar" -Dsources="<path-to-dir>/jhinno-openapi-java-sdk-1.0.0-sources.jar"
|
||||
# 例如
|
||||
mvn install:install-file -Dfile="E:/下载/jhinno-openapi-java-sdk-1.0.0.jar" -Dsources="E:/下载/jhinno-openapi-java-sdk-1.0.0-sources.jar"
|
||||
mvn org.apache.maven.plugins:maven-install-plugin:3.1.1:install-file -Dfile="E:/下载/jhinno-openapi-java-sdk-1.0.0.jar" -Dsources="E:/下载/jhinno-openapi-java-sdk-1.0.0-sources.jar"
|
||||
```
|
||||
|
||||
> 注:
|
||||
|
||||
Reference in New Issue
Block a user