From 548d2fb99938762fbe20fe316c007534a9f0d2d9 Mon Sep 17 00:00:00 2001 From: veryben Date: Fri, 19 May 2017 12:28:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9README.md=E4=B8=ADmaven-insta?= =?UTF-8?q?ll-file=E5=92=8C=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2b26905..e66824f 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ mvn clean install ## 使用maven从jar文件安装 ``` -mvn install:install-file -DgroupId=org.csource -DartifactId=fastdfs-client-java -Dversion=1.27-SNAPSHOT -Dpackaging=jar -Dfile=fastdfs-client-java-${version}.jar +mvn install:install-file -DgroupId=org.csource -DartifactId=fastdfs-client-java -Dversion=${version} -Dpackaging=jar -Dfile=fastdfs-client-java-${version}.jar ``` ## 在您的maven项目pom.xml中添加依赖 @@ -30,8 +30,10 @@ mvn install:install-file -DgroupId=org.csource -DartifactId=fastdfs-client-java ``` -## 创建配置文件fdfs_client.conf(或其它文件名xxx.conf) +## 配置文件、所在目录、加载优先顺序 + 配置文件名fdfs_client.conf(或使用其它文件名xxx.conf) + 文件所在位置可以是项目classpath(或OS文件系统目录比如/opt/): /opt/fdfs_client.conf C:\Users\James\config\fdfs_client.conf