mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00

* #519 修复小程序客服消息 URL 被转义的问题 * 优化单元测试提示信息 * 网页授权url增加&connect_redirect=1参数解决两次重定向跳转问题: https://blog.csdn.net/jiangguilong2000/article/details/79416615 * 修复错误的feeToYuan方法名为fenToYuan * #529 EntPayBankRequest增加默认构造函数 * #529 EntPayBankResult中cmmsAmount的数据类型改为Integer * #528 WxMpUser类增加三个属性:subscribe_scene、 qr_scene 和qr_scene_str * 修复代码 * 发布3.0.1.BETA测试版本 * #533 微信刷卡支付请求类增加缺少的三个参数 * #536 企业号模块增加获取企业号应用相关接口 * 定义《企业号应用》的bean * 增加《获取企业号应用》接口实现 * 增加获取测试企业号应用信息测试类 * #535 修复Tomcat 不能正常关闭的问题,增加线程池shutdown相关的操作 * #541 企业号增加实现管理标签的(获取标签成员)接口 * 定义《企业号应用》的bean * 增加《获取企业号应用》接口实现 * 增加获取测试企业号应用信息测试类 * tag service增加获取标签成员方法 http://qydev.weixin.qq.com/wiki/index.php?title=管理标签 * #534 公众号发送模版消息中的小程序path改回pagepath * 发布3.0.2.BETA测试版本 * #547 开放平台模块 componentAccessToken 增加过期自动刷新 * createOrder方法增加H5支付的支持 * #551 文本卡片消息增加btntext字段 * #550 企业微信删除标签成员接口增加部门列表参数 * 清理无用代码 * #530 微信支付申请退款接口结果类增加单个代金券相关参数 ,并根据官方文档整理其他参数 * #531 小程序WxMaMessage类增加小程序卡片消息相关的几个属性 * #520 企业微信网页授权增加使用user_ticket获取成员详情的接口 * 发布3.0.3.BETA测试版本 * 优化代码 * 完善测试 * #559 微信开放平台:1. WxOpenInRedisConfigStorage 支持 JedisPool/JedisSentinelPool 等 Pool<Jedis> 的子类;2. WxOpenInRedisConfigStorage 增加 keyPrefix 以支持可配置的前缀; * #560 微信开放平台:增加小程序代码模板库管理 * 微信开放平台:1. WxOpenInRedisConfigStorage 支持 JedisPool/JedisSentinelPool 等 Pool<Jedis> 的子类;2. WxOpenInRedisConfigStorage 增加 keyPrefix 以支持可配置的前缀; * 微信开放平台:增加小程序代码模板库管理 * #562 小程序增加代码管理相关 API * 微信开放平台:1. WxOpenInRedisConfigStorage 支持 JedisPool/JedisSentinelPool 等 Pool<Jedis> 的子类;2. WxOpenInRedisConfigStorage 增加 keyPrefix 以支持可配置的前缀; * 微信开放平台:增加小程序代码模板库管理 * 小程序:增加代码管理相关 API * #563 小程序增加修改服务器地址、成员管理 API * 微信开放平台:1. WxOpenInRedisConfigStorage 支持 JedisPool/JedisSentinelPool 等 Pool<Jedis> 的子类;2. WxOpenInRedisConfigStorage 增加 keyPrefix 以支持可配置的前缀; * 微信开放平台:增加小程序代码模板库管理 * 小程序:增加代码管理相关 API * 小程序:增加修改服务器地址、成员管理 API * #565 小程序增加数据分析相关 API * 微信开放平台:1. WxOpenInRedisConfigStorage 支持 JedisPool/JedisSentinelPool 等 Pool<Jedis> 的子类;2. WxOpenInRedisConfigStorage 增加 keyPrefix 以支持可配置的前缀; * 微信开放平台:增加小程序代码模板库管理 * 小程序:增加代码管理相关 API * 小程序:增加修改服务器地址、成员管理 API * 小程序:增加数据分析相关 API * #567 微信开放平台增加 HTTP proxy 机制 * 微信开放平台:1. WxOpenInRedisConfigStorage 支持 JedisPool/JedisSentinelPool 等 Pool<Jedis> 的子类;2. WxOpenInRedisConfigStorage 增加 keyPrefix 以支持可配置的前缀; * 微信开放平台:增加小程序代码模板库管理 * 小程序:增加代码管理相关 API * 小程序:增加修改服务器地址、成员管理 API * 小程序:增加数据分析相关 API * 微信开放平台:增加 HTTP proxy 机制 * #568 修复三方平台多次授权时,RefreshToken 没有刷新的问题 * fix 多次授权时,RefreshToken 没有刷新 * null 判断 * 发布3.0.4.BETA测试版本 * fix code * #569 微信支付几个查询关闭对账下载相关接口增加重载方法,以方便客户端指定更多参数 * #578 微信开放平台增加 WxMaUserService 的实现 * 微信开放平台:1. WxOpenInRedisConfigStorage 支持 JedisPool/JedisSentinelPool 等 Pool<Jedis> 的子类;2. WxOpenInRedisConfigStorage 增加 keyPrefix 以支持可配置的前缀; * 微信开放平台:增加小程序代码模板库管理 * 小程序:增加代码管理相关 API * 小程序:增加修改服务器地址、成员管理 API * 小程序:增加数据分析相关 API * 微信开放平台:增加 HTTP proxy 机制 * 微信开放平台:增加 WxMaUserService 的实现 * 修复小程序码的相关方法命名:WxCode->WxaCode, WxCodeLimit -> WxaCodeUnlimit * #556 日志信息中如果含有secret值的,将其值隐藏掉 * #585 小程序二维码支持is_hyaline参数生成透明背景二维码 * 发布3.0.5.BETA测试版本 * #584 修复企业付款到银行卡接口签名失败的问题 * 简化代码 * #586 微信支付 WxPayConfig增加支持byte数组方式设置证书 * #581 增加微信公众号错误信息枚举类WxMpErrorMsg,并提供方法,方便根据错误代码查询错误信息内容 * #555 修复微信支付服务商模式支付验证签名失败的问题 * #521 微信支付回调通知类WxPayOrderNotifyResult增加version参数 * #583 企业微信新增人员接口新增字段to_invite * #583 企业微信通讯录管理增加邀请成员接口 * #587 企业微信几个接口增加个人二维码字段 * 修复字符 * 修复单元测试 * 发布3.0.6.BETA测试版本 * 重构WxError相关代码,自动根据代码补充错误中文说明 * 优化微信支付代码 * #584 修复企业付款queryEntPay签名失败问题 * #591 文件上传接口不自动关闭inputStream,由调用方自己控制 * #595 优化WxPayException * 发布3.0.7.BETA测试版本 * 更新pom * 优化代码 * #615 公众号客服消息添加 "发送小程序卡片" 类型 * 优化XStreamTransformer * 微信支付模块jodd-http修改scope * 发布3.0.8.BETA测试版本 * #623 群发接口增加clientmsgid * add author for some files * clean code * 重构规范RequestExecuter代码 * #532 实现微信AI开放接口的三个接口:语音上传、查询识别结果和微信翻译功能 * 发布3.0.9.BETA测试版本 * #516 增加获取Wi-Fi门店列表接口 * #629 修复WxPayOrderNotifyResult解析xml报错问题 * #639 修复小程序代码模版库管理 access_token key 错误 * 发布3.1.0正式版本
384 lines
12 KiB
XML
384 lines
12 KiB
XML
<?xml version="1.0"?>
|
||
<project
|
||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
||
xmlns="http://maven.apache.org/POM/4.0.0">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<groupId>com.github.binarywang</groupId>
|
||
<artifactId>weixin-java-parent</artifactId>
|
||
<version>3.1.0</version>
|
||
<packaging>pom</packaging>
|
||
<name>Weixin Java Tools - Parent</name>
|
||
<description>微信公众号、企业号上级POM</description>
|
||
<url>https://github.com/wechat-group/weixin-java-tools</url>
|
||
|
||
<licenses>
|
||
<license>
|
||
<name>The Apache License, Version 2.0</name>
|
||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||
</license>
|
||
</licenses>
|
||
|
||
<developers>
|
||
<developer>
|
||
<name>Daniel Qian</name>
|
||
<email>chanjarster@gmail.com</email>
|
||
<url>https://github.com/chanjarster</url>
|
||
</developer>
|
||
<developer>
|
||
<name>Binary Wang</name>
|
||
<email>binarywang@gmail.com</email>
|
||
<url>https://github.com/binarywang</url>
|
||
</developer>
|
||
<developer>
|
||
<name>gaigeshen</name>
|
||
<email>gaigeshen@qq.com</email>
|
||
<url>https://github.com/gaigeshen</url>
|
||
</developer>
|
||
<developer>
|
||
<name>Liu Mingbo</name>
|
||
<email>liumingbo2008@gmail.com</email>
|
||
<url>https://github.com/FirenzesEagle</url>
|
||
</developer>
|
||
<developer>
|
||
<name>kakotor</name>
|
||
<email>kakotor@gmail.com</email>
|
||
<url>https://github.com/kakotor</url>
|
||
</developer>
|
||
<developer>
|
||
<name>xiong</name>
|
||
<email>zhaoxiong.tan@gmail.com</email>
|
||
<url>https://github.com/ZhaoxiongTan</url>
|
||
</developer>
|
||
<developer>
|
||
<name>LiuJunGuang</name>
|
||
<email>aimilin@yeah.net</email>
|
||
<url>https://github.com/aimilin6688</url>
|
||
</developer>
|
||
<developer>
|
||
<name>Eric.Tsai</name>
|
||
<email>xiaodong.cai.ks@gmail.com</email>
|
||
<url>https://github.com/iwareserictsai</url>
|
||
</developer>
|
||
<developer>
|
||
<name>withinthefog</name>
|
||
<email>withinthefog@gmail.com</email>
|
||
<url>https://github.com/withinthefog</url>
|
||
</developer>
|
||
<developer>
|
||
<name>Keung</name>
|
||
<email>dongfuqiang1988@163.com</email>
|
||
<url>https://github.com/johnnytung</url>
|
||
</developer>
|
||
<developer>
|
||
<name>Jonk</name>
|
||
<email>aimilin@yeah.net</email>
|
||
<url>https://github.com/aimilin6688</url>
|
||
</developer>
|
||
<developer>
|
||
<name>ecoolper</name>
|
||
<email>crskyp@gmail.com</email>
|
||
<url>https://github.com/crskyp</url>
|
||
</developer>
|
||
<developer>
|
||
<name>007</name>
|
||
<email>007gzs@gmail.com</email>
|
||
<url>https://github.com/007gzs</url>
|
||
</developer>
|
||
</developers>
|
||
|
||
<scm>
|
||
<connection>scm:git:https://github.com/wechat-group/weixin-java-tools.git</connection>
|
||
<developerConnection>scm:git:git@github.com:wechat-group/weixin-java-tools.git</developerConnection>
|
||
<url>https://github.com/wechat-group/weixin-java-tools</url>
|
||
</scm>
|
||
|
||
<modules>
|
||
<module>weixin-java-common</module>
|
||
<module>weixin-java-cp</module>
|
||
<module>weixin-java-mp</module>
|
||
<module>weixin-java-pay</module>
|
||
<module>weixin-java-miniapp</module>
|
||
<module>weixin-java-open</module>
|
||
<!--module>weixin-java-osgi</module-->
|
||
</modules>
|
||
|
||
<properties>
|
||
<maven.compiler.source>1.7</maven.compiler.source>
|
||
<maven.compiler.target>1.7</maven.compiler.target>
|
||
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<httpclient.version>4.5</httpclient.version>
|
||
<jetty.version>9.3.0.RC0</jetty.version>
|
||
</properties>
|
||
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>com.github.binarywang</groupId>
|
||
<artifactId>qrcode-utils</artifactId>
|
||
<version>1.1</version>
|
||
</dependency>
|
||
<!-- 由于jodd-http较新的3.8版本需要jdk8,故而此处采用较低版本 -->
|
||
<dependency>
|
||
<groupId>org.jodd</groupId>
|
||
<artifactId>jodd-http</artifactId>
|
||
<version>3.7.1</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.squareup.okhttp3</groupId>
|
||
<artifactId>okhttp</artifactId>
|
||
<version>3.7.0</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpclient</artifactId>
|
||
<version>${httpclient.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpmime</artifactId>
|
||
<version>${httpclient.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-codec</groupId>
|
||
<artifactId>commons-codec</artifactId>
|
||
<version>1.10</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-io</groupId>
|
||
<artifactId>commons-io</artifactId>
|
||
<version>2.5</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
<version>3.5</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>slf4j-api</artifactId>
|
||
<version>1.7.24</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.thoughtworks.xstream</groupId>
|
||
<artifactId>xstream</artifactId>
|
||
<version>1.4.9</version>
|
||
</dependency>
|
||
<!-- 由于guava较新的21.0版本需要jdk8,故而此处采用较低版本 -->
|
||
<dependency>
|
||
<groupId>com.google.guava</groupId>
|
||
<artifactId>guava</artifactId>
|
||
<version>20.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.google.code.gson</groupId>
|
||
<artifactId>gson</artifactId>
|
||
<version>2.8.0</version>
|
||
</dependency>
|
||
|
||
<!-- 测试所用依赖 -->
|
||
<dependency>
|
||
<groupId>joda-time</groupId>
|
||
<artifactId>joda-time</artifactId>
|
||
<version>2.9.7</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>ch.qos.logback</groupId>
|
||
<artifactId>logback-classic</artifactId>
|
||
<version>1.1.11</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.google.inject</groupId>
|
||
<artifactId>guice</artifactId>
|
||
<version>3.0</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.testng</groupId>
|
||
<artifactId>testng</artifactId>
|
||
<version>6.10</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.mockito</groupId>
|
||
<artifactId>mockito-all</artifactId>
|
||
<version>1.9.5</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.eclipse.jetty</groupId>
|
||
<artifactId>jetty-server</artifactId>
|
||
<version>${jetty.version}</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.eclipse.jetty</groupId>
|
||
<artifactId>jetty-servlet</artifactId>
|
||
<version>${jetty.version}</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.assertj</groupId>
|
||
<artifactId>assertj-guava</artifactId>
|
||
<version>3.0.0</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>redis.clients</groupId>
|
||
<artifactId>jedis</artifactId>
|
||
<version>2.9.0</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<version>1.16.18</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
|
||
<distributionManagement>
|
||
<snapshotRepository>
|
||
<id>ossrh</id>
|
||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||
</snapshotRepository>
|
||
<repository>
|
||
<id>ossrh</id>
|
||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||
</repository>
|
||
</distributionManagement>
|
||
|
||
<profiles>
|
||
<profile>
|
||
<id>doclint-java8-disable</id>
|
||
<activation>
|
||
<jdk>[1.8,)</jdk>
|
||
</activation>
|
||
<properties>
|
||
<javadoc.opts>-Xdoclint:none</javadoc.opts>
|
||
</properties>
|
||
</profile>
|
||
|
||
<profile>
|
||
<id>release</id>
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
<version>2.2.1</version>
|
||
<executions>
|
||
<execution>
|
||
<id>attach-sources</id>
|
||
<goals>
|
||
<goal>jar-no-fork</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-javadoc-plugin</artifactId>
|
||
<version>2.9.1</version>
|
||
<executions>
|
||
<execution>
|
||
<id>attach-javadocs</id>
|
||
<goals>
|
||
<goal>jar</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
<configuration>
|
||
<additionalparam>${javadoc.opts}</additionalparam>
|
||
<charset>UTF-8</charset>
|
||
<locale>zh_CN</locale>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-gpg-plugin</artifactId>
|
||
<version>1.6</version>
|
||
<executions>
|
||
<execution>
|
||
<id>sign-artifacts</id>
|
||
<phase>verify</phase>
|
||
<goals>
|
||
<goal>sign</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</profile>
|
||
</profiles>
|
||
|
||
<build>
|
||
<pluginManagement>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-surefire-plugin</artifactId>
|
||
<version>2.17</version>
|
||
<configuration>
|
||
<skip>true</skip>
|
||
</configuration>
|
||
</plugin>
|
||
</plugins>
|
||
</pluginManagement>
|
||
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.sonatype.plugins</groupId>
|
||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||
<version>1.6.3</version>
|
||
<extensions>true</extensions>
|
||
<configuration>
|
||
<serverId>ossrh</serverId>
|
||
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
||
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-release-plugin</artifactId>
|
||
<version>2.5.1</version>
|
||
<configuration>
|
||
<autoVersionSubmodules>true</autoVersionSubmodules>
|
||
<useReleaseProfile>false</useReleaseProfile>
|
||
<releaseProfiles>release</releaseProfiles>
|
||
<goals>deploy</goals>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||
<version>2.17</version>
|
||
<configuration>
|
||
<configLocation>quality-checks/google_checks.xml</configLocation>
|
||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||
<consoleOutput>true</consoleOutput>
|
||
<failsOnError>true</failsOnError>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<phase>verify</phase>
|
||
<goals>
|
||
<goal>check</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
</project>
|