|
|
|
<?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>1.0.0-sdenergy</version>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>order-management-consumer</artifactId>
|
|
|
|
<version>1.0.0-sdenergy</version>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<kaptcha.version>0.0.9</kaptcha.version>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<!-- Spring Boot dependencies -->
|
|
|
|
<!--Spring Boot 初始化引用-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
|
|
</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>
|
|
|
|
<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</groupId>
|
|
|
|
<artifactId>ojdbc6</artifactId>
|
|
|
|
<version>${odbc.version}</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 tomcat支持引用-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
|
|
<artifactId>tomcat-embed-websocket</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</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>
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.alibaba.nacos</groupId>
|
|
|
|
<artifactId>nacos-client</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.nacos</groupId>
|
|
|
|
<artifactId>nacos-client</artifactId>
|
|
|
|
<version>2.1.2</version>
|
|
|
|
</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>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.alibaba.nacos</groupId>
|
|
|
|
<artifactId>nacos-client</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Spring Cloud Sentinel -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- Spring Cloud Sentinel Nacos DataSource -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.csp</groupId>
|
|
|
|
<artifactId>sentinel-datasource-nacos</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.alibaba.nacos</groupId>
|
|
|
|
<artifactId>nacos-client</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</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>
|
|
|
|
|
|
|
|
<!-- 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>-->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
<version>${hutool.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- json解析的工具 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
<version>${fastjson.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-order-split</artifactId>
|
|
|
|
<version>1.0.4.1.release-sdenergy</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- 订单合并 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.dxhy.base</groupId>
|
|
|
|
<artifactId>sims-base-order-merge</artifactId>
|
|
|
|
<version>1.0.1-sdenergy</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- 价税分离 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.dxhy.base</groupId>
|
|
|
|
<artifactId>sims-base-price-separation</artifactId>
|
|
|
|
<version>${sims.base.price.separation.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- 发票业务模块 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.dxhy.order.invoice</groupId>
|
|
|
|
<artifactId>order-management-invoice</artifactId>
|
|
|
|
<version>${modules.version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!--订单邮件发送工具-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.dxhy.base</groupId>
|
|
|
|
<artifactId>sims-base-sms</artifactId>
|
|
|
|
<version>${sims.base.sms.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--基础服务文件操作-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.dxhy.base</groupId>
|
|
|
|
<artifactId>sims-base-file-operate</artifactId>
|
|
|
|
<version>6.1.4.3-BASE</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!--订单mq工具-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.dxhy.base</groupId>
|
|
|
|
<artifactId>sims-base-rabbitmq</artifactId>
|
|
|
|
<version>${sims.base.rabbitmq.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- xxlJob 支持 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.xuxueli</groupId>
|
|
|
|
<artifactId>xxl-job-core</artifactId>
|
|
|
|
<version>2.4.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- swaggerUi 支持 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
|
|
<version>${swagger.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
|
|
<version>${swagger.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</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-ooxml</artifactId>
|
|
|
|
<version>${poi.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi-ooxml-schemas</artifactId>
|
|
|
|
<version>${poi.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<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-collections</groupId>
|
|
|
|
<artifactId>commons-collections</artifactId>
|
|
|
|
<version>${commonsCollections.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-beanutils</groupId>
|
|
|
|
<artifactId>commons-beanutils</artifactId>
|
|
|
|
<version>${commonsBeanutils.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- <dependency>-->
|
|
|
|
<!-- <groupId>org.fusesource.mqtt-client</groupId>-->
|
|
|
|
<!-- <artifactId>mqtt-client</artifactId>-->
|
|
|
|
<!-- <version>${mqtt.client.version}</version>-->
|
|
|
|
<!-- <scope>compile</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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate.validator</groupId>
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
|
<version>${hibernate.validator.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- 二维码生成 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
<artifactId>core</artifactId>
|
|
|
|
<version>3.3.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
<artifactId>javase</artifactId>
|
|
|
|
<version>3.3.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 京东宙斯对接SDK -->
|
|
|
|
<!--<dependency>-->
|
|
|
|
<!--<groupId>com.jd</groupId>-->
|
|
|
|
<!--<artifactId>open-api-sdk</artifactId>-->
|
|
|
|
<!--<version>2.2</version>-->
|
|
|
|
<!--</dependency>-->
|
|
|
|
<!-- 京东宙斯对接SDK依赖包 -->
|
|
|
|
<!-- 大数据服务依赖包 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>jdom</groupId>
|
|
|
|
<artifactId>jdom</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- 京东宙斯对接SDK依赖包 -->
|
|
|
|
<!-- 大数据服务依赖包 -->
|
|
|
|
<!--<dependency>-->
|
|
|
|
<!--<groupId>com.aisino</groupId>-->
|
|
|
|
<!--<artifactId>aisinoutils</artifactId>-->
|
|
|
|
<!--<version>1.0</version>-->
|
|
|
|
<!--</dependency>-->
|
|
|
|
<!-- 京东宙斯对接SDK依赖包 -->
|
|
|
|
<!-- 大数据服务依赖包 -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>dom4j</groupId>
|
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
|
<version>1.6.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
|
|
<version>1.9.13</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.dxhy.order.invoicesender</groupId>
|
|
|
|
<artifactId>order-management-invoice-sender</artifactId>
|
|
|
|
<version>${modules.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-mail</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- maven依赖-->
|
|
|
|
<!-- axis 1.4 jar start -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.axis</groupId>
|
|
|
|
<artifactId>axis</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-discovery</groupId>
|
|
|
|
<artifactId>commons-discovery</artifactId>
|
|
|
|
<version>0.2</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.axis</groupId>
|
|
|
|
<artifactId>axis-jaxrpc</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.axis</groupId>
|
|
|
|
<artifactId>axis-saaj</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>wsdl4j</groupId>
|
|
|
|
<artifactId>wsdl4j</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
<artifactId>easyexcel-core</artifactId>
|
|
|
|
<version>3.1.1</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- axis 1.4 jar end -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-pool2</artifactId>
|
|
|
|
<version>2.5.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>redis.clients</groupId>
|
|
|
|
<artifactId>jedis</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<finalName>order-api</finalName>
|
|
|
|
<resources>
|
|
|
|
<!-- 资源文件处理,优先去除不需要打包服务(download,redinvoice中包含excel文件,不能进行打包,不然会无法下载,后面进行复制操作), -->
|
|
|
|
<resource>
|
|
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<excludes>
|
|
|
|
<exclude>download/*</exclude>
|
|
|
|
<exclude>redinvoice/*</exclude>
|
|
|
|
<exclude>generator.properties</exclude>
|
|
|
|
<exclude>generatorConfig.xml</exclude>
|
|
|
|
<!-- <exclude>application-*.yml</exclude>-->
|
|
|
|
</excludes>
|
|
|
|
</resource>
|
|
|
|
<!-- 上一步过滤完之后,选择保留的文件 -->
|
|
|
|
<!-- <resource>-->
|
|
|
|
<!-- <directory>${project.basedir}/src/main/resources</directory>-->
|
|
|
|
<!-- <filtering>true</filtering>-->
|
|
|
|
<!-- <includes>-->
|
|
|
|
<!-- <include>application-${deployType}.yml</include>-->
|
|
|
|
<!-- </includes>-->
|
|
|
|
<!-- </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>
|
|
|
|
|
|
|
|
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<!--打包时对xls和xlsx文件不进行转码压缩,否则下载文件会损坏-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<version>2.6</version>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
<nonFilteredFileExtensions>
|
|
|
|
<nonFilteredFileExtension>xlsx</nonFilteredFileExtension><!--xlsx结尾的文件不压缩-->
|
|
|
|
<nonFilteredFileExtension>xls</nonFilteredFileExtension>
|
|
|
|
</nonFilteredFileExtensions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<version>${spring.boot.version}</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.mybatis.generator</groupId>
|
|
|
|
<artifactId>mybatis-generator-maven-plugin</artifactId>
|
|
|
|
<version>1.3.2</version>
|
|
|
|
<configuration>
|
|
|
|
<configurationFile>src/main/resources/generatorConfig.xml</configurationFile>
|
|
|
|
<verbose>true</verbose>
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
|
|
|
|
</executions>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mybatis.generator</groupId>
|
|
|
|
<artifactId>mybatis-generator-core</artifactId>
|
|
|
|
<version>1.3.2</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|