|
|
<?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>
|
|
|
<parent>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
<version>2.5.6</version>
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
</parent>
|
|
|
<groupId>com.imitate</groupId>
|
|
|
<artifactId>parent</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
<name>parent</name>
|
|
|
<description>parent</description>
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
<java.version>1.8</java.version>
|
|
|
<fastjson.version>1.2.83</fastjson.version>
|
|
|
<httpcore.version>4.4.5</httpcore.version>
|
|
|
<javax.validation.version>2.0.1.Final</javax.validation.version>
|
|
|
<!--通用Mapper与SpringBoot整合依赖-->
|
|
|
<mapper.version>2.1.0</mapper.version>
|
|
|
<!--com.github.pagehelper 基于AOP的分页插件 -->
|
|
|
<pagehelper.version>1.2.10</pagehelper.version>
|
|
|
<!--阿里druid连接池-->
|
|
|
<druid.version>1.1.10</druid.version>
|
|
|
<!--超级开发工具 hutool -->
|
|
|
<hutool.version>5.7.11</hutool.version>
|
|
|
<!-- EasyExcel -->
|
|
|
<esayexcel.version>2.1.6</esayexcel.version>
|
|
|
<commons-lang3-version>3.12.0</commons-lang3-version>
|
|
|
<gson.version>2.9.0</gson.version>
|
|
|
<commons-io.version>2.7</commons-io.version>
|
|
|
<commons-net.version>3.6</commons-net.version>
|
|
|
<commons-text.version>1.9</commons-text.version>
|
|
|
<kubernetes-client.version>5.11.2</kubernetes-client.version>
|
|
|
<jedis.version>2.9.0</jedis.version>
|
|
|
<swagger2.version>2.7.0</swagger2.version>
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-aop</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-data-redis</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
<version>${fastjson.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
<version>${httpcore.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 入参 参数校验工具 -->
|
|
|
<dependency>
|
|
|
<groupId>javax.validation</groupId>
|
|
|
<artifactId>validation-api</artifactId>
|
|
|
<version>${javax.validation.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- easyexcel -->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>easyexcel</artifactId>
|
|
|
<version>${esayexcel.version}</version>
|
|
|
</dependency>
|
|
|
<!-- hutool工具集 -->
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
<version>${hutool.version}</version>
|
|
|
<scope>compile</scope>
|
|
|
</dependency>
|
|
|
<!--持久层框架,通用mapper 即 tk.mybatis-->
|
|
|
<dependency>
|
|
|
<groupId>tk.mybatis</groupId>
|
|
|
<artifactId>mapper-spring-boot-starter</artifactId>
|
|
|
<version>${mapper.version}</version>
|
|
|
<exclusions>
|
|
|
<!-- 排除掉springboot内置的org.mybatis -->
|
|
|
<exclusion>
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
</exclusion>
|
|
|
<exclusion>
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
|
|
|
<!--mysql驱动包-->
|
|
|
<!--<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
<scope>runtime</scope>
|
|
|
</dependency>-->
|
|
|
<!--SQLite 驱动-->
|
|
|
<dependency>
|
|
|
<groupId>org.xerial</groupId>
|
|
|
<artifactId>sqlite-jdbc</artifactId>
|
|
|
<version>3.36.0.1</version> <!-- 使用你需要的版本 -->
|
|
|
</dependency>
|
|
|
<!--druid依赖添加-->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|
|
<version>${druid.version}</version>
|
|
|
</dependency>
|
|
|
<!--springboot 集成Mybatis所需jar配置 end -->
|
|
|
|
|
|
<!--底层基于AOP的pagehelper分页组件-->
|
|
|
<dependency>
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
<version>${pagehelper.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
<version>1.3.2</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
<version>${commons-lang3-version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>commons-io</groupId>
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
<version>${commons-io.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
<version>4.9.3</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>redis.clients</groupId>
|
|
|
<artifactId>jedis</artifactId>
|
|
|
<version>${jedis.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
|
|
<version>4.4.6</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
<configuration>
|
|
|
<mainClass>com.imitate.web.WebApplication</mainClass>
|
|
|
<classifier>execute</classifier>
|
|
|
</configuration>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
<goals>
|
|
|
<goal>repackage</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<version>3.8.0</version>
|
|
|
<configuration>
|
|
|
<verbose>false</verbose>
|
|
|
<fork>true</fork>
|
|
|
<compilerVersion>1.8</compilerVersion>
|
|
|
<source>${java.version}</source>
|
|
|
<target>${java.version}</target>
|
|
|
<optimize>false</optimize>
|
|
|
<encoding>UTF8</encoding>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
|
|
|
<!--跳过测试 -->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
<configuration>
|
|
|
<skipTests>true</skipTests>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
|
|
|
<resources>
|
|
|
<resource>
|
|
|
<directory>src/main/java</directory>
|
|
|
<includes>
|
|
|
<!--将java包下这两种格式文件让maven在编译过程中携带过去 -->
|
|
|
<include>**/*.xml</include>
|
|
|
<include>**/*.properties</include>
|
|
|
<include>**/*.db</include>
|
|
|
</includes>
|
|
|
<filtering>false</filtering>
|
|
|
</resource>
|
|
|
<resource>
|
|
|
<directory>src/main/resources</directory>
|
|
|
<includes>
|
|
|
<include>**/*.py</include>
|
|
|
<include>**/*.sh</include>
|
|
|
<include>**/*.xml</include>
|
|
|
<include>**/*.properties</include>
|
|
|
<include>**/*.db</include>
|
|
|
</includes>
|
|
|
<filtering>false</filtering>
|
|
|
</resource>
|
|
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
|
<finalName>imitate-${project.version}</finalName>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
</project>
|