Update README.md

This commit is contained in:
Daniel Qian 2014-10-15 10:02:48 +08:00
parent 74995e10b1
commit 3c1dfe692a

View File

@ -17,25 +17,12 @@ weixin-java-tools
# Quickstart
## 打包到本地maven仓库
如果你可以跳过单元测试直接打包:
```bash
mvn clean install -Dmaven.test.skip=true
```
如果你需要执行本项目的单元测试代码,那么你需要将 ``src/test/resources/test-config.sample.xml`` 改成 ``test-config.xml`` 并设置appId, secret, accessToken(可选), openId然后执行
```bash
mvn clean install
```
在你的maven项目中添加
```xml
<dependency>
<groupId>chanjarster.weixin</groupId>
<groupId>me.chanjar.weixin</groupId>
<artifactId>weixin-java-tools</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
```