317 lines
11 KiB
XML
317 lines
11 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
|
|
<modelVersion>4.0.0</modelVersion>
|
||
|
|
<parent>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||
|
|
<version>2.7.18</version>
|
||
|
|
<relativePath/>
|
||
|
|
</parent>
|
||
|
|
<groupId>{{ .groupId }}</groupId>
|
||
|
|
<artifactId>{{ .artifactId }}</artifactId>
|
||
|
|
<version>${revision}</version>
|
||
|
|
<packaging>pom</packaging>
|
||
|
|
<properties>
|
||
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
|
<maven.compiler.source>11</maven.compiler.source>
|
||
|
|
<maven.compiler.target>11</maven.compiler.target>
|
||
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
|
<revision>3.0-SNAPSHOT</revision>
|
||
|
|
{{- if eq .dbType "dm" }}
|
||
|
|
<dm.driver.version>18</dm.driver.version>
|
||
|
|
<db.hiernate.dialect.version>8.1.3.140</db.hiernate.dialect.version>
|
||
|
|
{{- end }}
|
||
|
|
</properties>
|
||
|
|
<dependencies>
|
||
|
|
<dependency>
|
||
|
|
<groupId>cn.hutool</groupId>
|
||
|
|
<artifactId>hutool-all</artifactId>
|
||
|
|
<version>5.7.4</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>javax.persistence</groupId>
|
||
|
|
<artifactId>javax.persistence-api</artifactId>
|
||
|
|
<version>2.2</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>junit</groupId>
|
||
|
|
<artifactId>junit</artifactId>
|
||
|
|
<version>4.13</version>
|
||
|
|
<scope>test</scope>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>ch.qos.logback</groupId>
|
||
|
|
<artifactId>logback-classic</artifactId>
|
||
|
|
<version>1.2.3</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.json</groupId>
|
||
|
|
<artifactId>json</artifactId>
|
||
|
|
<version>20170516</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.httpcomponents</groupId>
|
||
|
|
<artifactId>httpasyncclient</artifactId>
|
||
|
|
<version>4.1.5</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework</groupId>
|
||
|
|
<artifactId>spring-webmvc</artifactId>
|
||
|
|
<version>5.3.14</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.slf4j</groupId>
|
||
|
|
<artifactId>slf4j-api</artifactId>
|
||
|
|
<version>1.7.30</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.google.guava</groupId>
|
||
|
|
<artifactId>guava</artifactId>
|
||
|
|
<version>23.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.httpcomponents</groupId>
|
||
|
|
<artifactId>httpclient</artifactId>
|
||
|
|
<version>4.5.13</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.httpcomponents</groupId>
|
||
|
|
<artifactId>httpmime</artifactId>
|
||
|
|
<version>4.5.13</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||
|
|
<artifactId>jackson-databind</artifactId>
|
||
|
|
<version>2.13.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>javax.servlet</groupId>
|
||
|
|
<artifactId>javax.servlet-api</artifactId>
|
||
|
|
<version>4.0.1</version>
|
||
|
|
<scope>provided</scope>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>javax.validation</groupId>
|
||
|
|
<artifactId>validation-api</artifactId>
|
||
|
|
<version>2.0.1.Final</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>cglib</groupId>
|
||
|
|
<artifactId>cglib-nodep</artifactId>
|
||
|
|
<version>3.3.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.xuxueli</groupId>
|
||
|
|
<artifactId>xxl-job-core</artifactId>
|
||
|
|
<version>2.2.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.commons</groupId>
|
||
|
|
<artifactId>commons-lang3</artifactId>
|
||
|
|
<version>3.12.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework</groupId>
|
||
|
|
<artifactId>spring-context</artifactId>
|
||
|
|
<version>5.3.14</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.aspectj</groupId>
|
||
|
|
<artifactId>aspectjrt</artifactId>
|
||
|
|
<version>1.9.6</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-autoconfigure</artifactId>
|
||
|
|
<version>2.7.18</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>redis.clients</groupId>
|
||
|
|
<artifactId>jedis</artifactId>
|
||
|
|
<version>3.3.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework</groupId>
|
||
|
|
<artifactId>spring-web</artifactId>
|
||
|
|
<version>5.3.14</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||
|
|
<version>2.6.3</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.hibernate.validator</groupId>
|
||
|
|
<artifactId>hibernate-validator</artifactId>
|
||
|
|
<version>6.1.6.Final</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>javax.transaction</groupId>
|
||
|
|
<artifactId>javax.transaction-api</artifactId>
|
||
|
|
<version>1.3</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>javax.annotation</groupId>
|
||
|
|
<artifactId>javax.annotation-api</artifactId>
|
||
|
|
<version>1.3.2</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>cn.hutool</groupId>
|
||
|
|
<artifactId>hutool-all</artifactId>
|
||
|
|
<version>5.7.4</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.projectlombok</groupId>
|
||
|
|
<artifactId>lombok</artifactId>
|
||
|
|
<version>1.18.20</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>commons-collections</groupId>
|
||
|
|
<artifactId>commons-collections</artifactId>
|
||
|
|
<version>3.2.2</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
||
|
|
<version>2.6.2</version>
|
||
|
|
<type>pom</type>
|
||
|
|
<scope>import</scope>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>commons-logging</groupId>
|
||
|
|
<artifactId>commons-logging</artifactId>
|
||
|
|
<version>1.2</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.caucho</groupId>
|
||
|
|
<artifactId>hessian</artifactId>
|
||
|
|
<version>4.0.63</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.jsonwebtoken</groupId>
|
||
|
|
<artifactId>jjwt</artifactId>
|
||
|
|
<version>0.9.1</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.hibernate</groupId>
|
||
|
|
<artifactId>hibernate-core</artifactId>
|
||
|
|
<version>5.5.7.Final</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>io.github.think-1024</groupId>
|
||
|
|
<artifactId>toco-all-spring5-springboot2-community</artifactId>
|
||
|
|
<version>1.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
||
|
|
<artifactId>tomcat-embed-core</artifactId>
|
||
|
|
<version>9.0.56</version>
|
||
|
|
<scope>provided</scope>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.tomcat</groupId>
|
||
|
|
<artifactId>tomcat-jdbc</artifactId>
|
||
|
|
<version>9.0.56</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.glassfish</groupId>
|
||
|
|
<artifactId>javax.el</artifactId>
|
||
|
|
<version>3.0.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.apache.logging.log4j</groupId>
|
||
|
|
<artifactId>log4j-core</artifactId>
|
||
|
|
<version>2.17.0</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.baomidou</groupId>
|
||
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||
|
|
<version>3.5.7</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.alibaba</groupId>
|
||
|
|
<artifactId>transmittable-thread-local</artifactId>
|
||
|
|
<version>2.12.3</version>
|
||
|
|
</dependency>
|
||
|
|
{{- if eq .dbType "dm" }}
|
||
|
|
<dependency>
|
||
|
|
<groupId>dm</groupId>
|
||
|
|
<artifactId>DmJdbcDriver</artifactId>
|
||
|
|
<version>18</version>
|
||
|
|
</dependency>
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.dameng</groupId>
|
||
|
|
<artifactId>DmDialect-for-hibernate5.6</artifactId>
|
||
|
|
<version>8.1.3.140</version>
|
||
|
|
</dependency>
|
||
|
|
{{- else if eq .dbType "mysql" }}
|
||
|
|
<dependency>
|
||
|
|
<groupId>mysql</groupId>
|
||
|
|
<artifactId>mysql-connector-java</artifactId>
|
||
|
|
<version>8.0.27</version>
|
||
|
|
</dependency>
|
||
|
|
{{- else if eq .dbType "postgresql" }}
|
||
|
|
<dependency>
|
||
|
|
<groupId>org.postgresql</groupId>
|
||
|
|
<artifactId>postgresql</artifactId>
|
||
|
|
<version>42.6.2</version>
|
||
|
|
</dependency>
|
||
|
|
{{- else if eq .dbType "oracle" }}
|
||
|
|
<dependency>
|
||
|
|
<groupId>com.oracle</groupId>
|
||
|
|
<artifactId>ojdbc8</artifactId>
|
||
|
|
<version>12.2.0.1</version>
|
||
|
|
</dependency>
|
||
|
|
{{- end }}
|
||
|
|
</dependencies>
|
||
|
|
<build>
|
||
|
|
<plugins>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||
|
|
<version>3.4.1</version>
|
||
|
|
<executions>
|
||
|
|
<execution>
|
||
|
|
<id>enforce</id>
|
||
|
|
<goals>
|
||
|
|
<goal>enforce</goal>
|
||
|
|
</goals>
|
||
|
|
<configuration>
|
||
|
|
<rules>
|
||
|
|
<requireJavaVersion>
|
||
|
|
<version>[11.0,21.0)</version>
|
||
|
|
</requireJavaVersion>
|
||
|
|
<requireMavenVersion>
|
||
|
|
<version>3.8</version>
|
||
|
|
</requireMavenVersion>
|
||
|
|
</rules>
|
||
|
|
<fail>true</fail>
|
||
|
|
</configuration>
|
||
|
|
</execution>
|
||
|
|
</executions>
|
||
|
|
</plugin>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
|
<artifactId>maven-resources-plugin</artifactId>
|
||
|
|
<version>3.3.1</version>
|
||
|
|
<configuration>
|
||
|
|
<encoding>UTF-8</encoding>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
<plugin>
|
||
|
|
<groupId>org.springframework.boot</groupId>
|
||
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
|
|
<configuration>
|
||
|
|
<skip>true</skip>
|
||
|
|
</configuration>
|
||
|
|
</plugin>
|
||
|
|
</plugins>
|
||
|
|
</build>
|
||
|
|
<modules>
|
||
|
|
<module>entrance</module>
|
||
|
|
<module>common</module>
|
||
|
|
</modules>
|
||
|
|
</project>
|