|
|
|
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>cn.wustlinghang.wusthelper</groupId>
|
|
|
|
<artifactId>backend-main</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>backend-web</artifactId>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
|
|
|
<consul-discovery.version>4.0.2</consul-discovery.version>
|
|
|
|
|
|
|
|
<feign.version>4.0.3</feign.version>
|
|
|
|
|
|
|
|
<idgen.version>1.0.6</idgen.version>
|
|
|
|
<java-jwt.version>4.4.0</java-jwt.version>
|
|
|
|
<lettuce.bersion>6.2.5.RELEASE</lettuce.bersion>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>org.springframework.cloud</groupId>-->
|
|
|
|
<!-- <artifactId>spring-cloud-starter-consul-discovery</artifactId>-->
|
|
|
|
<!-- <version>${consul-discovery.version}</version>-->
|
|
|
|
<!-- </dependency>-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
|
<version>${feign.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.wustlinghang.wusthelper</groupId>
|
|
|
|
<artifactId>backend-data</artifactId>
|
|
|
|
<version>${revision}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- id生成 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.yitter</groupId>
|
|
|
|
<artifactId>yitter-idgenerator</artifactId>
|
|
|
|
<version>${idgen.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.auth0</groupId>
|
|
|
|
<artifactId>java-jwt</artifactId>
|
|
|
|
<version>${java-jwt.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- redis -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-pool2</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.lettuce</groupId>
|
|
|
|
<artifactId>lettuce-core</artifactId>
|
|
|
|
<version>${lettuce.bersion}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- <plugin>-->
|
|
|
|
<!-- <groupId>org.graalvm.buildtools</groupId>-->
|
|
|
|
<!-- <artifactId>native-maven-plugin</artifactId>-->
|
|
|
|
<!-- </plugin>-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<version>${springboot.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<file.encoding>UTF-8</file.encoding>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
<mainClass>wusthelper.WebBackendMain</mainClass>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>repackage</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|