mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-08-24 16:18:51 +08:00
Update README.md
This commit is contained in:
parent
74995e10b1
commit
3c1dfe692a
17
README.md
17
README.md
@ -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>
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user