From 17f5374096d9d3086bbc11d184ff7ad77a222c6a Mon Sep 17 00:00:00 2001 From: Sutra Zhou Date: Mon, 16 Aug 2021 18:50:08 +0800 Subject: [PATCH] Upgrade dependencies. --- maven-version-rules.xml | 23 +++++++++++++++++ pom.xml | 55 ++++++++++++++++++++++++++++++++++++++-- weixin4j-base/pom.xml | 6 +---- weixin4j-example/pom.xml | 3 --- weixin4j-mp/pom.xml | 1 - weixin4j-pay/pom.xml | 1 - weixin4j-server/pom.xml | 3 --- weixin4j-serverX/pom.xml | 6 ----- weixin4j-wxa/pom.xml | 6 ++--- 9 files changed, 79 insertions(+), 25 deletions(-) create mode 100644 maven-version-rules.xml diff --git a/maven-version-rules.xml b/maven-version-rules.xml new file mode 100644 index 00000000..b3872f47 --- /dev/null +++ b/maven-version-rules.xml @@ -0,0 +1,23 @@ + + + .*(-|\.)(alpha|Alpha|ALPHA|beta|Beta|BETA|rc|RC).* + + + + + .*-alpha[\.\-].* + .*-b[0-9]+ + + + + + .*-b.* + + + + diff --git a/pom.xml b/pom.xml index 24a6cdd6..adaf509e 100644 --- a/pom.xml +++ b/pom.xml @@ -58,7 +58,6 @@ 1.6 1.6 zh_CN - 1.2.31 @@ -103,6 +102,13 @@ + + org.codehaus.mojo + versions-maven-plugin + + file:///${session.executionRootDirectory}/maven-version-rules.xml + + @@ -276,6 +282,16 @@ + + javax.servlet.jsp + jsp-api + 2.2 + + + javax.xml.bind + jaxb-api + 2.3.1 + org.apache.httpcomponents httpclient @@ -286,10 +302,45 @@ bcprov-jdk16 1.46 + + org.springframework + spring-context + 5.3.9 + + + org.springframework + spring-webmvc + 5.3.9 + + + com.alibaba + fastjson + 1.2.78 + + + com.squareup.okhttp3 + okhttp + 4.9.1 + + + ch.qos.logback + logback-core + 1.2.5 + + + io.netty + netty-all + 4.1.67.Final + + + commons-codec + commons-codec + 1.15 + junit junit - 4.13.1 + 4.13.2 test diff --git a/weixin4j-base/pom.xml b/weixin4j-base/pom.xml index 3ab94260..375e5f48 100644 --- a/weixin4j-base/pom.xml +++ b/weixin4j-base/pom.xml @@ -26,7 +26,6 @@ com.alibaba fastjson - ${fastjson.version} junit @@ -35,7 +34,7 @@ commons-httpclient commons-httpclient - 3.0 + 3.1 true @@ -46,13 +45,11 @@ io.netty netty-all - 4.1.42.Final true com.squareup.okhttp3 okhttp - 3.4.1 true @@ -80,7 +77,6 @@ javax.xml.bind jaxb-api - 2.2.11 provided diff --git a/weixin4j-example/pom.xml b/weixin4j-example/pom.xml index fbe6f645..005133ba 100644 --- a/weixin4j-example/pom.xml +++ b/weixin4j-example/pom.xml @@ -76,7 +76,6 @@ org.springframework spring-webmvc - 4.1.3.RELEASE javax.servlet @@ -87,7 +86,6 @@ javax.servlet.jsp jsp-api - 2.1 provided @@ -103,7 +101,6 @@ com.squareup.okhttp3 okhttp - 3.3.1 diff --git a/weixin4j-mp/pom.xml b/weixin4j-mp/pom.xml index b3b9da03..480fad38 100644 --- a/weixin4j-mp/pom.xml +++ b/weixin4j-mp/pom.xml @@ -32,7 +32,6 @@ javax.xml.bind jaxb-api - 2.2.11 provided diff --git a/weixin4j-pay/pom.xml b/weixin4j-pay/pom.xml index 0533be55..b7e60605 100644 --- a/weixin4j-pay/pom.xml +++ b/weixin4j-pay/pom.xml @@ -48,7 +48,6 @@ javax.xml.bind jaxb-api - 2.2.11 provided diff --git a/weixin4j-server/pom.xml b/weixin4j-server/pom.xml index ad4191da..a3f3e53d 100644 --- a/weixin4j-server/pom.xml +++ b/weixin4j-server/pom.xml @@ -30,13 +30,11 @@ com.alibaba fastjson - ${fastjson.version} javax.xml.bind jaxb-api - 2.2.11 provided @@ -51,7 +49,6 @@ org.springframework spring-context - 4.2.0.RELEASE true diff --git a/weixin4j-serverX/pom.xml b/weixin4j-serverX/pom.xml index dd611991..d91226b5 100644 --- a/weixin4j-serverX/pom.xml +++ b/weixin4j-serverX/pom.xml @@ -12,9 +12,6 @@ weixin4j-serverX https://github.com/foxinmy/weixin4j/tree/master/weixin4j-serverX 微信消息接入服务(spring mvc实现) - - 4.2.0.RELEASE - junit @@ -23,13 +20,11 @@ org.springframework spring-webmvc - ${spring.version} javax.xml.bind jaxb-api - 2.2.11 provided @@ -47,7 +42,6 @@ javax.servlet.jsp jsp-api provided - 2.1 diff --git a/weixin4j-wxa/pom.xml b/weixin4j-wxa/pom.xml index bc44651d..ab687ec2 100644 --- a/weixin4j-wxa/pom.xml +++ b/weixin4j-wxa/pom.xml @@ -21,19 +21,18 @@ - com.foxinmy + ${project.groupId} weixin4j-base ${project.version} - com.foxinmy + ${project.groupId} weixin4j-mp ${project.version} commons-codec commons-codec - 1.10 junit @@ -42,7 +41,6 @@ ch.qos.logback logback-core - 1.2.0 test