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.
745 lines
27 KiB
745 lines
27 KiB
<?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">
|
|
<parent>
|
|
<groupId>com.dxhy.order</groupId>
|
|
<artifactId>order-management</artifactId>
|
|
<version>8.0.3-SNAPSHOT</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>order-management-order</artifactId>
|
|
<version>8.0.3-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<kaptcha.version>0.0.9</kaptcha.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
<artifactId>mssql-jdbc</artifactId>
|
|
<version>7.4.0.jre8</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-net</groupId>
|
|
<artifactId>commons-net</artifactId>
|
|
<version>3.6</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-pool2</artifactId>
|
|
<version>2.7.0</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- 多数据源 -->
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
<version>4.3.0</version>
|
|
</dependency>
|
|
|
|
|
|
<!-- 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>
|
|
</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>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-to-slf4j</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!--Spring Boot 执行器工具引用-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</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 redisson支持引用 使用springboot2.0版本,不能升级大于3.18.0版本-->
|
|
<dependency>
|
|
<groupId>org.redisson</groupId>
|
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
|
<version>${spring.boot.redisson.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</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>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.objenesis</groupId>
|
|
<artifactId>objenesis</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</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>
|
|
<artifactId>commons-io</artifactId>
|
|
<groupId>commons-io</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- Spring Cloud bootstrap 2020版本需要引用 -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
|
</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 Sleuth -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-sleuth</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>io.zipkin.brave</groupId>
|
|
<artifactId>brave-context-log4j2</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- 如果是加了链路需要使用这个rabbit,如果不需要用springboot的 -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-stream-rabbit</artifactId>
|
|
</dependency>
|
|
|
|
<!-- SkyWalking Agent -->
|
|
<dependency>
|
|
<groupId>org.apache.skywalking</groupId>
|
|
<artifactId>apm-toolkit-logback-1.x</artifactId>
|
|
<version>${skywalking.version}</version>
|
|
</dependency>
|
|
|
|
<!-- springboot admin插件 -->
|
|
<dependency>
|
|
<groupId>de.codecentric</groupId>
|
|
<artifactId>spring-boot-admin-starter-client</artifactId>
|
|
<version>${spring.boot.admin.version}</version>
|
|
</dependency>
|
|
|
|
<!-- spring boot cxf -->
|
|
<dependency>
|
|
<groupId>org.apache.cxf</groupId>
|
|
<artifactId>cxf-spring-boot-starter-jaxws</artifactId>
|
|
<version>${spring.boot.cxf.version}</version>
|
|
</dependency>
|
|
<!-- 只有使用测试工具的时候需要这个,webserviceclient-->
|
|
<!-- <dependency>-->
|
|
<!-- <groupId>com.github.hiwepy</groupId>-->
|
|
<!-- <artifactId>axis-spring-boot-starter</artifactId>-->
|
|
<!-- <version>2.0.0.RELEASE</version>-->
|
|
<!-- </dependency>-->
|
|
|
|
|
|
<!-- springboot 日志支持 -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
<scope>runtime</scope>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-all</artifactId>
|
|
<version>${hutool.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- json解析的工具 -->
|
|
<dependency>
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
<artifactId>fastjson2</artifactId>
|
|
<version>${fastjson2.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-lang</groupId>
|
|
<artifactId>commons-lang</artifactId>
|
|
<version>${commonsLang.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>
|
|
<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>cn.hutool</groupId>
|
|
<artifactId>hutool-all</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!--订单拆分 -->
|
|
<dependency>
|
|
<groupId>com.dxhy.base</groupId>
|
|
<artifactId>sims-base-order-split</artifactId>
|
|
<version>${sims-base-order-split.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>cn.hutool</groupId>
|
|
<artifactId>hutool-all</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- 订单合并 -->
|
|
<dependency>
|
|
<groupId>com.dxhy.base</groupId>
|
|
<artifactId>sims-base-order-merge</artifactId>
|
|
<version>${sims-base-order-merge.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>cn.hutool</groupId>
|
|
<artifactId>hutool-all</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- 价税分离 -->
|
|
<dependency>
|
|
<groupId>com.dxhy.base</groupId>
|
|
<artifactId>sims-base-price-separation</artifactId>
|
|
<version>${sims-base-price-separation.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>cn.hutool</groupId>
|
|
<artifactId>hutool-all</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- 发票业务模块 -->
|
|
<dependency>
|
|
<groupId>com.dxhy.order.invoice</groupId>
|
|
<artifactId>order-management-invoice</artifactId>
|
|
<version>${sims-order.version}</version>
|
|
<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>commons-lang</groupId>
|
|
<artifactId>commons-lang</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>cn.hutool</groupId>
|
|
<artifactId>hutool-all</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
|
|
<!--订单邮件发送工具-->
|
|
<dependency>
|
|
<groupId>com.dxhy.base</groupId>
|
|
<artifactId>sims-base-sms</artifactId>
|
|
<version>${sims-base-sms.version}</version>
|
|
<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>cn.hutool</groupId>
|
|
<artifactId>hutool-all</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</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>
|
|
|
|
<!-- xxlJob 支持 -->
|
|
<dependency>
|
|
<groupId>com.xuxueli</groupId>
|
|
<artifactId>xxl-job-core</artifactId>
|
|
<version>${xxljob.version}</version>
|
|
</dependency>
|
|
|
|
<!-- swaggerUi 3.0 支持 -->
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-boot-starter</artifactId>
|
|
<version>${swagger.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>${guava.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>joda-time</groupId>
|
|
<artifactId>joda-time</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- poi组件 -->
|
|
<dependency>
|
|
<groupId>org.apache.poi</groupId>
|
|
<artifactId>poi</artifactId>
|
|
<version>${poi.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>fluent-hc</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpmime</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>${lombok.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>${commonsIo.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- 校验工具jar引用-->
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
</dependency>
|
|
|
|
<!-- 京东宙斯对接SDK -->
|
|
<dependency>
|
|
<groupId>com.jd</groupId>
|
|
<artifactId>open-api-sdk</artifactId>
|
|
<version>2.2</version>
|
|
</dependency>
|
|
<!-- 大数据服务依赖包 -->
|
|
<dependency>
|
|
<groupId>org.jdom</groupId>
|
|
<artifactId>jdom2</artifactId>
|
|
<version>${jdom2.version}</version>
|
|
</dependency>
|
|
<!-- 大数据服务依赖包 -->
|
|
<dependency>
|
|
<groupId>com.aisino</groupId>
|
|
<artifactId>aisinoutils</artifactId>
|
|
<version>1.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.dxhy.order.invoicesender</groupId>
|
|
<artifactId>order-management-invoice-sender</artifactId>
|
|
<version>${sims-order.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>cn.hutool</groupId>
|
|
<artifactId>hutool-all</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.yaml</groupId>
|
|
<artifactId>snakeyaml</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
<build>
|
|
<resources>
|
|
<!-- 资源文件处理,优先去除不需要打包服务(download,redinvoice中包含excel文件,不能进行打包,不然会无法下载,后面进行复制操作), -->
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
<excludes>
|
|
<exclude>print/*</exclude>
|
|
<exclude>download/*</exclude>
|
|
<exclude>redinvoice/*</exclude>
|
|
<exclude>generator.properties</exclude>
|
|
<exclude>generatorConfig.xml</exclude>
|
|
</excludes>
|
|
</resource>
|
|
<!-- 把excel的资源文件复制到指定目录 -->
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources/download</directory>
|
|
<filtering>false</filtering>
|
|
<targetPath>download</targetPath>
|
|
</resource>
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources/redinvoice</directory>
|
|
<filtering>false</filtering>
|
|
<targetPath>redinvoice</targetPath>
|
|
</resource>
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources/print</directory>
|
|
<filtering>false</filtering>
|
|
<targetPath>print</targetPath>
|
|
</resource>
|
|
|
|
</resources>
|
|
<plugins>
|
|
<!--编译环境-->
|
|
<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>
|
|
|
|
<!--打包时添加版本信息-->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>3.3.0</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifestEntries>
|
|
<version>${project.parent.version}</version>
|
|
</manifestEntries>
|
|
</archive>
|
|
</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>
|
|
<nonFilteredFileExtension>docx</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>exe</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>rar</nonFilteredFileExtension>
|
|
<nonFilteredFileExtension>zip</nonFilteredFileExtension>
|
|
</nonFilteredFileExtensions>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|
|
|