199 lines
7.0 KiB
XML
199 lines
7.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<groupId>cn.van333</groupId>
|
||
<artifactId>wxSend</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
<name>wxSend</name>
|
||
<description>wxSend</description>
|
||
<properties>
|
||
<java.version>1.8</java.version>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
<spring-boot.version>2.6.13</spring-boot.version>
|
||
<fastjson.version>2.0.14</fastjson.version>
|
||
<hutool.version>5.8.24</hutool.version>
|
||
<jwt.version>0.9.1</jwt.version>
|
||
</properties>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-security</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
|
||
<!--
|
||
降级Java的版本:降级到Java 8或者更低版本,这些版本包含了这些包。
|
||
添加缺失的依赖:如果你不希望降级Java的版本,你可以通过添加缺失的依赖来解决这个问题。
|
||
如果缺少的是javax.rmi.CORBA包,添加以下依赖:
|
||
-->
|
||
|
||
<dependency>
|
||
<groupId>com.sun.activation</groupId>
|
||
<artifactId>jakarta.activation</artifactId>
|
||
<version>1.2.1</version>
|
||
</dependency>
|
||
<!-- redis 缓存操作 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
</dependency>
|
||
<!-- spring2.X集成redis所需common-pool2-->
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-pool2</artifactId>
|
||
</dependency>
|
||
<!-- spring security 安全认证 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-security</artifactId>
|
||
</dependency>
|
||
<!--fastjson-->
|
||
<dependency>
|
||
<groupId>com.alibaba.fastjson2</groupId>
|
||
<artifactId>fastjson2</artifactId>
|
||
<version>${fastjson.version}</version>
|
||
</dependency>
|
||
<!--hutool-->
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-all</artifactId>
|
||
<version>${hutool.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-aop</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>io.jsonwebtoken</groupId>
|
||
<artifactId>jjwt</artifactId>
|
||
<version>0.12.2</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
<version>3.10</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>eu.bitwalker</groupId>
|
||
<artifactId>UserAgentUtils</artifactId>
|
||
<version>1.21</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.mybatis.spring.boot</groupId>
|
||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||
<version>2.2.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.squareup.okhttp3</groupId>
|
||
<artifactId>okhttp</artifactId>
|
||
<version>3.6.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
<!-- 京东依赖-->
|
||
<dependency>
|
||
|
||
<groupId>org.codehaus.jackson</groupId>
|
||
|
||
<artifactId>jackson-mapper-asl</artifactId>
|
||
|
||
<version>1.9.2</version>
|
||
|
||
</dependency>
|
||
|
||
|
||
<dependency>
|
||
|
||
<groupId>org.codehaus.jackson</groupId>
|
||
|
||
<artifactId>jackson-core-asl</artifactId>
|
||
|
||
<version>1.9.2</version>
|
||
|
||
</dependency>
|
||
</dependencies>
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-dependencies</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
<type>pom</type>
|
||
<scope>import</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
|
||
<build>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>3.8.1</version>
|
||
<configuration>
|
||
<source>1.8</source>
|
||
<target>1.8</target>
|
||
<encoding>UTF-8</encoding>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<version>${spring-boot.version}</version>
|
||
<configuration>
|
||
<mainClass>cn.van333.wxsend.WxSendApplication</mainClass>
|
||
<skip>false</skip>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<id>repackage</id>
|
||
<goals>
|
||
<goal>repackage</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.jetbrains.kotlin</groupId>
|
||
<artifactId>kotlin-maven-plugin</artifactId>
|
||
<version>1.6.10</version>
|
||
<executions>
|
||
<execution>
|
||
<id>compile</id>
|
||
<phase>process-sources</phase>
|
||
<goals>
|
||
<goal>compile</goal>
|
||
</goals>
|
||
<configuration>
|
||
<sourceDirs>
|
||
<source>src/main/java</source>
|
||
<source>target/generated-sources/annotations</source>
|
||
</sourceDirs>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
</project>
|