WeiXin Java Tools

用于开发微信公众号的Java工具

License

License

Categories

Categories

Java Languages
GroupId

GroupId

me.chanjar
ArtifactId

ArtifactId

weixin-java-tools
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

WeiXin Java Tools
用于开发微信公众号的Java工具
Project URL

Project URL

https://github.com/chanjarster/weixin-java-tools
Source Code Management

Source Code Management

https://github.com/chanjarster/weixin-java-tools

Download weixin-java-tools

How to add to project

<!-- https://jarcasting.com/artifacts/me.chanjar/weixin-java-tools/ -->
<dependency>
    <groupId>me.chanjar</groupId>
    <artifactId>weixin-java-tools</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/me.chanjar/weixin-java-tools/
implementation 'me.chanjar:weixin-java-tools:1.0.2'
// https://jarcasting.com/artifacts/me.chanjar/weixin-java-tools/
implementation ("me.chanjar:weixin-java-tools:1.0.2")
'me.chanjar:weixin-java-tools:jar:1.0.2'
<dependency org="me.chanjar" name="weixin-java-tools" rev="1.0.2">
  <artifact name="weixin-java-tools" type="jar" />
</dependency>
@Grapes(
@Grab(group='me.chanjar', module='weixin-java-tools', version='1.0.2')
)
libraryDependencies += "me.chanjar" % "weixin-java-tools" % "1.0.2"
[me.chanjar/weixin-java-tools "1.0.2"]

Dependencies

compile (9)

Group / Artifact Type Version
org.apache.httpcomponents : fluent-hc jar 4.3.5
org.apache.httpcomponents : httpmime jar 4.3.5
javax.xml.bind : jaxb-api jar 2.2.7
com.sun.xml.bind : jaxb-impl jar 2.2.7
org.apache.oltu.oauth2 : org.apache.oltu.oauth2.client jar 1.0.0
com.google.code.gson : gson jar 2.2.2
org.apache.commons : commons-lang3 jar 3.1
commons-codec : commons-codec jar 1.9
commons-io : commons-io jar 2.4

test (6)

Group / Artifact Type Version
junit : junit jar 4.11
org.testng : testng jar 6.8.7
org.mockito : mockito-all jar 1.9.5
com.google.inject : guice jar 3.0
org.eclipse.jetty : jetty-server jar 9.3.0.M0
org.eclipse.jetty : jetty-servlet jar 9.3.0.M0

Project Modules

There are no modules declared in this project.

weixin-java-tools

Build Status Maven Central

===========

本项目长期不维护,推荐各位使用 https://github.com/wechat-group/weixin-java-tools 这个项目

===========

微信公众号、企业号Java SDK。

详细文档请看 wiki

Quick Start

如果要开发公众号(订阅号、服务号)应用,在你的maven项目中添加:

<dependency>
  <groupId>me.chanjar</groupId>
  <artifactId>weixin-java-mp</artifactId>
  <version>1.3.3</version>
</dependency>

如果要开发企业号应用,在你的maven项目中添加:

<dependency>
  <groupId>me.chanjar</groupId>
  <artifactId>weixin-java-cp</artifactId>
  <version>1.3.3</version>
</dependency>

SNAPSHOT版

本项目的BUG修复和新特性一般会先发布在*-SNAPSHOT版里供大家预览,如果要使用*-SNAPSHOT版,则需要在你的pom.xml中添加这段:

<repositories>
  <repository>
      <snapshots />
      <id>sonatype snapshots</id>
      <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  </repository>
</repositories>

升级指南

关于Pull Request

非常欢迎和感谢对本项目发起Pull Request的同学,不过本项目基于git flow开发流程,因此在发起Pull Request的时候请选择develop分支。

且本项目代码风格是用2个空格代表一个tab,因此在发起PR时注意一下,否则很容易发生在IDE格式化代码后与原代码产生大量diff,这样我在阅读PR的时候就很困难。

Versions

Version
1.0.2
1.0.1
1.0.0