You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
502 lines
18 KiB
502 lines
18 KiB
12 months ago
|
<?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">
|
||
|
<parent>
|
||
|
<groupId>com.dxhy.order</groupId>
|
||
|
<artifactId>order-management</artifactId>
|
||
|
<version>8.0.3-SNAPSHOT</version>
|
||
|
</parent>
|
||
|
|
||
|
<description>订单管理项目内部基础服务</description>
|
||
|
<groupId>com.dxhy.base</groupId>
|
||
|
<artifactId>sims-base-service</artifactId>
|
||
|
<modelVersion>4.0.0</modelVersion>
|
||
|
<version>8.0.3-SNAPSHOT</version>
|
||
|
<packaging>jar</packaging>
|
||
|
|
||
|
<dependencies>
|
||
|
<!-- Spring Boot dependencies -->
|
||
|
<!--Spring Boot 初始化引用-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter</artifactId>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>org.yaml</groupId>
|
||
|
<artifactId>snakeyaml</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.yaml</groupId>
|
||
|
<artifactId>snakeyaml</artifactId>
|
||
|
<version>${snakeyaml.version}</version>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!--Spring Boot 自动配置工具引用-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-autoconfigure</artifactId>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
|
||
|
<!--Spring Boot 配置自定义工具引用-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!--Spring Boot 日志工具引用-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-logging</artifactId>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
|
||
|
<!--Spring Boot 执行器工具引用-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Boot Web引用-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Boot 事务引用-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-aop</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Boot Mybatis支持引用-->
|
||
|
<dependency>
|
||
|
<groupId>org.mybatis.spring.boot</groupId>
|
||
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||
|
<scope>compile</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Boot Mysql支持-->
|
||
|
<dependency>
|
||
|
<groupId>mysql</groupId>
|
||
|
<artifactId>mysql-connector-java</artifactId>
|
||
|
<scope>runtime</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.oracle.ojdbc</groupId>
|
||
|
<artifactId>ojdbc8</artifactId>
|
||
|
<version>${odbc.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.oracle.ojdbc</groupId>
|
||
|
<artifactId>orai18n</artifactId>
|
||
|
<version>${odbc.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!--KingBase-->
|
||
|
<dependency>
|
||
|
<groupId>cn.com.kingbase</groupId>
|
||
|
<artifactId>kingbase8</artifactId>
|
||
|
<version>8.6.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Boot Redis支持引用-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
|
<scope>compile</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Boot MongoDB支持引用-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Boot freemarker引用-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Boot 分页插件支持引用-->
|
||
|
<dependency>
|
||
|
<groupId>com.github.pagehelper</groupId>
|
||
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
||
|
<version>${spring.boot.pagehelper.version}</version>
|
||
|
<scope>compile</scope>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>org.mybatis.spring.boot</groupId>
|
||
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Boot Test Dependencies -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-test</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Boot 切面注解支持 -->
|
||
|
<dependency>
|
||
|
<groupId>org.aspectj</groupId>
|
||
|
<artifactId>aspectjweaver</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Boot 事物支持 -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework</groupId>
|
||
|
<artifactId>spring-tx</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Cloud Nacos Service Config -->
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||
|
<scope>compile</scope>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>org.yaml</groupId>
|
||
|
<artifactId>snakeyaml</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Cloud Nacos Service Discovery -->
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>org.hdrhistogram</groupId>
|
||
|
<artifactId>HdrHistogram</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Cloud Sentinel -->
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
||
|
<scope>compile</scope>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>com.alibaba</groupId>
|
||
|
<artifactId>fastjson</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<!-- Spring Cloud Sentinel Nacos DataSource -->
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba.csp</groupId>
|
||
|
<artifactId>sentinel-datasource-nacos</artifactId>
|
||
|
<scope>compile</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Cloud bootstrap 2020版本需要引用 -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Cloud Sleuth -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.cloud</groupId>
|
||
|
<artifactId>spring-cloud-starter-sleuth</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- SkyWalking Agent -->
|
||
|
<dependency>
|
||
|
<groupId>org.apache.skywalking</groupId>
|
||
|
<artifactId>apm-toolkit-logback-1.x</artifactId>
|
||
|
<version>9.0.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
|
||
|
<!-- springboot admin插件 -->
|
||
|
<dependency>
|
||
|
<groupId>de.codecentric</groupId>
|
||
|
<artifactId>spring-boot-admin-starter-client</artifactId>
|
||
|
<version>${spring.boot.admin.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
|
||
|
<!-- springboot 日志支持 -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-devtools</artifactId>
|
||
|
<scope>runtime</scope>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- json解析的工具 -->
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba.fastjson2</groupId>
|
||
|
<artifactId>fastjson2</artifactId>
|
||
|
<version>${fastjson2.version}</version>
|
||
|
<scope>compile</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>cn.hutool</groupId>
|
||
|
<artifactId>hutool-all</artifactId>
|
||
|
<version>${hutool.version}</version>
|
||
|
<scope>provided</scope>
|
||
|
</dependency>
|
||
|
|
||
|
|
||
|
<!--通用第三方或中间件工具-->
|
||
|
<dependency>
|
||
|
<groupId>com.dxhy.base</groupId>
|
||
|
<artifactId>sims-base-thirdservice</artifactId>
|
||
|
<version>${sims-base-thirdservice.version}</version>
|
||
|
<scope>compile</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!--订单通用工具-->
|
||
|
<dependency>
|
||
|
<groupId>com.dxhy.base</groupId>
|
||
|
<artifactId>sims-base-common</artifactId>
|
||
|
<version>${sims-base-common.version}</version>
|
||
|
<scope>compile</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- xxlJob 支持 -->
|
||
|
<dependency>
|
||
|
<groupId>com.xuxueli</groupId>
|
||
|
<artifactId>xxl-job-core</artifactId>
|
||
|
<version>${xxljob.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- 通用存储服务 -->
|
||
|
<dependency>
|
||
|
<groupId>com.dxhy.tools</groupId>
|
||
|
<artifactId>common-fileStore</artifactId>
|
||
|
<version>${filestore.version}</version>
|
||
|
<scope>compile</scope>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>cn.hutool</groupId>
|
||
|
<artifactId>hutool-all</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>commons-io</groupId>
|
||
|
<artifactId>commons-io</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>org.yaml</groupId>
|
||
|
<artifactId>snakeyaml</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>com.google.guava</groupId>
|
||
|
<artifactId>guava</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>com.alibaba</groupId>
|
||
|
<artifactId>fastjson</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>org.apache.commons</groupId>
|
||
|
<artifactId>commons-math3</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>org.apache.commons</groupId>
|
||
|
<artifactId>commons-compress</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>com.thoughtworks.xstream</groupId>
|
||
|
<artifactId>xstream</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>org.yaml</groupId>
|
||
|
<artifactId>snakeyaml</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
|
||
|
<!--新版本税控服务SDK-->
|
||
|
<dependency>
|
||
|
<groupId>com.dxhy.tools</groupId>
|
||
|
<artifactId>invoice-sdk</artifactId>
|
||
|
<version>2.0.231127</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<artifactId>fastjson</artifactId>
|
||
|
<groupId>com.alibaba</groupId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>com.thoughtworks.xstream</groupId>
|
||
|
<artifactId>xstream</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
|
||
|
|
||
|
<!--订单后台服务-->
|
||
|
<dependency>
|
||
|
<groupId>com.dxhy.management</groupId>
|
||
|
<artifactId>sims-back-service</artifactId>
|
||
|
<version>${sims-back.version}</version>
|
||
|
<scope>compile</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- swaggerUi 3.0 支持 -->
|
||
|
<dependency>
|
||
|
<groupId>io.springfox</groupId>
|
||
|
<artifactId>springfox-boot-starter</artifactId>
|
||
|
<version>${swagger.version}</version>
|
||
|
<scope>compile</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- poi组件 -->
|
||
|
<dependency>
|
||
|
<groupId>org.apache.poi</groupId>
|
||
|
<artifactId>poi</artifactId>
|
||
|
<version>${poi.version}</version>
|
||
|
<scope>compile</scope>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>commons-io</groupId>
|
||
|
<artifactId>commons-io</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- 二维码生成 -->
|
||
|
<dependency>
|
||
|
<groupId>com.google.zxing</groupId>
|
||
|
<artifactId>core</artifactId>
|
||
|
<version>${googleZxing.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.google.zxing</groupId>
|
||
|
<artifactId>javase</artifactId>
|
||
|
<version>${googleZxing.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.projectlombok</groupId>
|
||
|
<artifactId>lombok</artifactId>
|
||
|
<version>${lombok.version}</version>
|
||
|
<scope>provided</scope>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>com.dxhy.base</groupId>
|
||
|
<artifactId>sims-base-file-operate</artifactId>
|
||
|
<version>${sims-base-file-operate.version}</version>
|
||
|
<scope>compile</scope>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>com.alibaba</groupId>
|
||
|
<artifactId>fastjson</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>com.google.guava</groupId>
|
||
|
<artifactId>guava</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<artifactId>commons-io</artifactId>
|
||
|
<groupId>commons-io</groupId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>org.apache.commons</groupId>
|
||
|
<artifactId>commons-compress</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>cn.hutool</groupId>
|
||
|
<artifactId>hutool-all</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>commons-io</groupId>
|
||
|
<artifactId>commons-io</artifactId>
|
||
|
<version>${commonsIo.version}</version>
|
||
|
<scope>compile</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>junit</groupId>
|
||
|
<artifactId>junit</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<resources>
|
||
|
<!-- 资源文件处理,优先去除不需要打包服务(download,redinvoice中包含excel文件,不能进行打包,不然会无法下载,后面进行复制操作), -->
|
||
|
<resource>
|
||
|
<directory>${project.basedir}/src/main/resources</directory>
|
||
|
<filtering>true</filtering>
|
||
|
<excludes>
|
||
|
<exclude>download/*</exclude>
|
||
|
</excludes>
|
||
|
</resource>
|
||
|
<!-- 把excel的资源文件复制到指定目录 -->
|
||
|
<resource>
|
||
|
<directory>${project.basedir}/src/main/resources/download</directory>
|
||
|
<filtering>false</filtering>
|
||
|
<targetPath>download</targetPath>
|
||
|
</resource>
|
||
|
|
||
|
|
||
|
</resources>
|
||
|
|
||
|
<plugins>
|
||
|
<!--打包时添加版本信息-->
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-jar-plugin</artifactId>
|
||
|
<version>3.3.0</version>
|
||
|
<configuration>
|
||
|
<archive>
|
||
|
<manifestEntries>
|
||
|
<version>${project.version}</version>
|
||
|
</manifestEntries>
|
||
|
</archive>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<!--编译环境-->
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>${maven.compiler.plugin.version}</version>
|
||
|
<configuration>
|
||
|
<fork>true</fork>
|
||
|
<source>${java.version}</source>
|
||
|
<target>${java.version}</target>
|
||
|
<encoding>${project.build.sourceEncoding}</encoding>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
|
||
|
<!--打包时对xls和xlsx文件不进行转码压缩,否则下载文件会损坏-->
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-resources-plugin</artifactId>
|
||
|
<version>3.3.1</version>
|
||
|
<configuration>
|
||
|
<encoding>UTF-8</encoding>
|
||
|
<nonFilteredFileExtensions>
|
||
|
<nonFilteredFileExtension>xlsx</nonFilteredFileExtension><!--xlsx结尾的文件不压缩-->
|
||
|
<nonFilteredFileExtension>xls</nonFilteredFileExtension>
|
||
|
</nonFilteredFileExtensions>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
</build>
|
||
|
|
||
|
</project>
|