503 lines
18 KiB
XML
503 lines
18 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>
|
|||
|
|
|
|||
|
|
<groupId>com.wuqian.www</groupId>
|
|||
|
|
<artifactId>redmall-main</artifactId>
|
|||
|
|
<version>0.0.1-SNAPSHOT</version>
|
|||
|
|
<!--<packaging>pom</packaging>-->
|
|||
|
|
<packaging>jar</packaging>
|
|||
|
|
|
|||
|
|
<name>redmall-main</name>
|
|||
|
|
|
|||
|
|
<parent>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|||
|
|
<version>2.1.1.RELEASE</version>
|
|||
|
|
<relativePath/>
|
|||
|
|
</parent>
|
|||
|
|
|
|||
|
|
<properties>
|
|||
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|||
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|||
|
|
<java.version>1.8</java.version>
|
|||
|
|
</properties>
|
|||
|
|
|
|||
|
|
<dependencies>
|
|||
|
|
<!-- 上上签 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>cc.jinyun</groupId>
|
|||
|
|
<artifactId>bestsign-spring-boot-starter</artifactId>
|
|||
|
|
<version>1.0</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!--RabbitMQ依赖-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-starter-amqp</artifactId>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.wuqian.www</groupId>
|
|||
|
|
<artifactId>redmall-edm</artifactId>
|
|||
|
|
<version>1.0-SNAPSHOT</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.github.anji-plus</groupId>
|
|||
|
|
<artifactId>redmall-captcha</artifactId>
|
|||
|
|
<version>1.2.4</version>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.google.auto.service</groupId>
|
|||
|
|
<artifactId>auto-service</artifactId>
|
|||
|
|
<version>1.0-rc7</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|||
|
|
<exclusions>
|
|||
|
|
<exclusion>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|||
|
|
</exclusion>
|
|||
|
|
</exclusions>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-starter-jetty</artifactId>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!--mybatis-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>mysql</groupId>
|
|||
|
|
<artifactId>mysql-connector-java</artifactId>
|
|||
|
|
<version>8.0.11</version>
|
|||
|
|
<scope>runtime</scope>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.alibaba</groupId>
|
|||
|
|
<artifactId>druid</artifactId>
|
|||
|
|
<version>1.1.2</version>
|
|||
|
|
</dependency>
|
|||
|
|
<!-- MyBatis plus增强和springboot的集成-->
|
|||
|
|
<!--<dependency>
|
|||
|
|
<groupId>com.baomidou</groupId>
|
|||
|
|
<artifactId>mybatis-plus</artifactId>
|
|||
|
|
<version>2.1.8</version>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.baomidou</groupId>
|
|||
|
|
<artifactId>mybatisplus-spring-boot-starter</artifactId>
|
|||
|
|
<version>1.0.5</version>
|
|||
|
|
</dependency>-->
|
|||
|
|
<!-- mybatis-plus begin -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.baomidou</groupId>
|
|||
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|||
|
|
<version>3.0-RC3</version>
|
|||
|
|
</dependency>
|
|||
|
|
<!-- mybatis-plus end -->
|
|||
|
|
|
|||
|
|
|
|||
|
|
<!--lombok依赖-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.projectlombok</groupId>
|
|||
|
|
<artifactId>lombok</artifactId>
|
|||
|
|
<optional>true</optional>
|
|||
|
|
<version>1.14.2</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!--拦截器依赖-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework</groupId>
|
|||
|
|
<artifactId>spring-webmvc</artifactId>
|
|||
|
|
<version>5.1.8.RELEASE</version>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>javax.servlet</groupId>
|
|||
|
|
<artifactId>javax.servlet-api</artifactId>
|
|||
|
|
<version>4.0.1</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!--安全认证-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.security</groupId>
|
|||
|
|
<artifactId>spring-security-core</artifactId>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<!--JWT依赖-->
|
|||
|
|
<!-- <dependency>
|
|||
|
|
<groupId>com.auth0</groupId>
|
|||
|
|
<artifactId>java-jwt</artifactId>
|
|||
|
|
<version>3.4.0</version>
|
|||
|
|
</dependency>-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>io.jsonwebtoken</groupId>
|
|||
|
|
<artifactId>jjwt</artifactId>
|
|||
|
|
<version>0.9.0</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!--redis依赖-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.redisson</groupId>
|
|||
|
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
|||
|
|
<version>3.10.0</version>
|
|||
|
|
<exclusions>
|
|||
|
|
<!-- 排除可能冲突的 Spring Data Redis 依赖,使用 Spring Boot 管理的版本 -->
|
|||
|
|
<exclusion>
|
|||
|
|
<groupId>org.springframework.data</groupId>
|
|||
|
|
<artifactId>spring-data-redis</artifactId>
|
|||
|
|
</exclusion>
|
|||
|
|
</exclusions>
|
|||
|
|
</dependency>
|
|||
|
|
<!--对象池依赖,springBoot这里用redis需要加入该依赖-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.apache.commons</groupId>
|
|||
|
|
<artifactId>commons-pool2</artifactId>
|
|||
|
|
</dependency>
|
|||
|
|
<!-- 方便为RedisTemplate的key-value做序列化操作 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|||
|
|
<artifactId>jackson-core</artifactId>
|
|||
|
|
<version>2.9.4</version>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|||
|
|
<artifactId>jackson-databind</artifactId>
|
|||
|
|
<version>2.9.4</version>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|||
|
|
<artifactId>jackson-annotations</artifactId>
|
|||
|
|
<version>2.9.4</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!-- 阿里云OSS -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.aliyun.oss</groupId>
|
|||
|
|
<artifactId>aliyun-sdk-oss</artifactId>
|
|||
|
|
<version>3.6.0</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!--阿里云内容安全依赖,文本反垃圾、图片审核、视频审核-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.aliyun</groupId>
|
|||
|
|
<artifactId>aliyun-java-sdk-green</artifactId>
|
|||
|
|
<version>3.6.3</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!--json依赖-->
|
|||
|
|
<!--<dependency>-->
|
|||
|
|
<!--<groupId>com.alibaba</groupId>-->
|
|||
|
|
<!--<artifactId>fastjson</artifactId>-->
|
|||
|
|
<!--<version>1.2.35</version>-->
|
|||
|
|
<!--</dependency>-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.alibaba</groupId>
|
|||
|
|
<artifactId>fastjson</artifactId>
|
|||
|
|
<version>1.2.59</version>
|
|||
|
|
<scope>compile</scope>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>net.sf.json-lib</groupId>
|
|||
|
|
<artifactId>json-lib</artifactId>
|
|||
|
|
<classifier>jdk15</classifier>
|
|||
|
|
<version>2.4</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<!--第三方支付配置-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.wuqian.www</groupId>
|
|||
|
|
<artifactId>redmall-ijpay</artifactId>
|
|||
|
|
<version>1.0-SNAPSHOT</version>
|
|||
|
|
</dependency>
|
|||
|
|
<!-- 支付宝必须 -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.alipay.sdk</groupId>
|
|||
|
|
<artifactId>alipay-sdk-java</artifactId>
|
|||
|
|
<version>4.8.10.ALL</version>
|
|||
|
|
</dependency>
|
|||
|
|
<!-- 支付宝必须 -->
|
|||
|
|
<!-- huTool 工具包 -->
|
|||
|
|
<!-- <dependency>-->
|
|||
|
|
<!-- <groupId>cn.hutool</groupId>-->
|
|||
|
|
<!-- <artifactId>hutool-crypto</artifactId>-->
|
|||
|
|
<!-- <version>5.0.4</version>-->
|
|||
|
|
<!-- </dependency>-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>cn.hutool</groupId>
|
|||
|
|
<artifactId>hutool-http</artifactId>
|
|||
|
|
<version>5.0.4</version>
|
|||
|
|
</dependency>
|
|||
|
|
<!-- huTool 工具包 End -->
|
|||
|
|
|
|||
|
|
<!-- swagger2 集成-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>io.springfox</groupId>
|
|||
|
|
<artifactId>springfox-swagger2</artifactId>
|
|||
|
|
<version>2.8.0</version>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>io.springfox</groupId>
|
|||
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|||
|
|
<version>2.8.0</version>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.pegdown</groupId>
|
|||
|
|
<artifactId>pegdown</artifactId>
|
|||
|
|
<version>1.6.0</version>
|
|||
|
|
<scope>test</scope>
|
|||
|
|
</dependency>
|
|||
|
|
<!-- <dependency>-->
|
|||
|
|
<!-- <groupId>io.github.swagger2markup</groupId>-->
|
|||
|
|
<!-- <artifactId>swagger2markup</artifactId>-->
|
|||
|
|
<!-- <version>1.3.1</version>-->
|
|||
|
|
<!-- <scope>test</scope>-->
|
|||
|
|
<!-- </dependency>-->
|
|||
|
|
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.springframework.boot</groupId>
|
|||
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|||
|
|
<scope>test</scope>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.hamcrest</groupId>
|
|||
|
|
<artifactId>hamcrest-all</artifactId>
|
|||
|
|
<version>1.3</version>
|
|||
|
|
<scope>test</scope>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|||
|
|
<artifactId>okhttp</artifactId>
|
|||
|
|
<version>3.14.4</version>
|
|||
|
|
<scope>test</scope>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!--WebSocket核心依赖包-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.java-websocket</groupId>
|
|||
|
|
<artifactId>Java-WebSocket</artifactId>
|
|||
|
|
<version>1.3.8</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!--个推依赖-->
|
|||
|
|
<!-- https://mvnrepository.com/artifact/com.getui.push/restful-sdk -->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.getui.push</groupId>
|
|||
|
|
<artifactId>restful-sdk</artifactId>
|
|||
|
|
<version>1.0.0.1</version>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
<!-- 快递100-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.github.kuaidi100-api</groupId>
|
|||
|
|
<artifactId>sdk</artifactId>
|
|||
|
|
<version>1.0.11</version>
|
|||
|
|
</dependency>
|
|||
|
|
<!-- 腾讯IM集成-->
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>com.github.tencentyun</groupId>
|
|||
|
|
<artifactId>tls-sig-api-v2</artifactId>
|
|||
|
|
<version>2.0</version>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.apache.poi</groupId>
|
|||
|
|
<artifactId>poi</artifactId>
|
|||
|
|
<version>4.1.2</version>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.apache.poi</groupId>
|
|||
|
|
<artifactId>poi-ooxml</artifactId>
|
|||
|
|
<version>4.1.2</version>
|
|||
|
|
</dependency>
|
|||
|
|
<dependency>
|
|||
|
|
<groupId>org.junit.jupiter</groupId>
|
|||
|
|
<artifactId>junit-jupiter</artifactId>
|
|||
|
|
<version>RELEASE</version>
|
|||
|
|
<scope>test</scope>
|
|||
|
|
</dependency>
|
|||
|
|
|
|||
|
|
</dependencies>
|
|||
|
|
|
|||
|
|
|
|||
|
|
<profiles>
|
|||
|
|
<profile>
|
|||
|
|
<id>prod</id>
|
|||
|
|
<properties>
|
|||
|
|
<package.environment>prod</package.environment>
|
|||
|
|
</properties>
|
|||
|
|
<build>
|
|||
|
|
<resources>
|
|||
|
|
<resource>
|
|||
|
|
<directory>src/main/resources</directory>
|
|||
|
|
<!-- 资源根目录排除各环境的配置,使用单独的资源目录来指定 -->
|
|||
|
|
<!--<includes>
|
|||
|
|
<include>mapper/**</include>
|
|||
|
|
<include>swagger/**</include>
|
|||
|
|
</includes>-->
|
|||
|
|
<includes>
|
|||
|
|
<include>mapper/**</include>
|
|||
|
|
<include>META-INF/**</include>
|
|||
|
|
<include>pay/**</include>
|
|||
|
|
<include>**/*.xml</include>
|
|||
|
|
<include>**/*.yml</include>
|
|||
|
|
<include>swagger/**</include>
|
|||
|
|
<include>*.txt</include>
|
|||
|
|
<include>*.xml</include>
|
|||
|
|
</includes>
|
|||
|
|
<!-- 是否替换资源中的属性 -->
|
|||
|
|
<filtering>true</filtering>
|
|||
|
|
</resource>
|
|||
|
|
</resources>
|
|||
|
|
</build>
|
|||
|
|
</profile>
|
|||
|
|
<profile>
|
|||
|
|
<id>dev</id>
|
|||
|
|
<activation>
|
|||
|
|
<activeByDefault>true</activeByDefault>
|
|||
|
|
</activation>
|
|||
|
|
<properties>
|
|||
|
|
<package.environment>dev</package.environment>
|
|||
|
|
</properties>
|
|||
|
|
<build>
|
|||
|
|
<resources>
|
|||
|
|
<resource>
|
|||
|
|
<directory>src/main/resources</directory>
|
|||
|
|
<!-- 资源根目录排除各环境的配置,使用单独的资源目录来指定 -->
|
|||
|
|
<includes>
|
|||
|
|
<include>mapper/**</include>
|
|||
|
|
<include>META-INF/**</include>
|
|||
|
|
<include>pay/**</include>
|
|||
|
|
<include>**/*.xml</include>
|
|||
|
|
<include>**/*.yml</include>
|
|||
|
|
<include>swagger/**</include>
|
|||
|
|
<include>*.txt</include>
|
|||
|
|
<include>*.xml</include>
|
|||
|
|
</includes>
|
|||
|
|
<!-- 是否替换资源中的属性 -->
|
|||
|
|
<filtering>true</filtering>
|
|||
|
|
</resource>
|
|||
|
|
</resources>
|
|||
|
|
</build>
|
|||
|
|
</profile>
|
|||
|
|
</profiles>
|
|||
|
|
|
|||
|
|
<build>
|
|||
|
|
<finalName>redmall-boot</finalName>
|
|||
|
|
<plugins>
|
|||
|
|
<!-- 设置编译版本 -->
|
|||
|
|
<plugin>
|
|||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|||
|
|
<configuration>
|
|||
|
|
<source>1.8</source>
|
|||
|
|
<target>1.8</target>
|
|||
|
|
<encoding>UTF-8</encoding>
|
|||
|
|
</configuration>
|
|||
|
|
</plugin>
|
|||
|
|
|
|||
|
|
<!--swagger接口-->
|
|||
|
|
<plugin>
|
|||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|||
|
|
<version>2.20</version>
|
|||
|
|
<configuration>
|
|||
|
|
<systemPropertyVariables>
|
|||
|
|
<swaggerOutputDir>${project.basedir}/src/main/resources/swagger</swaggerOutputDir>
|
|||
|
|
<asciiDocOutputDir>${project.basedir}/src/main/resources/swagger/swagger</asciiDocOutputDir>
|
|||
|
|
</systemPropertyVariables>
|
|||
|
|
<skip>true</skip>
|
|||
|
|
</configuration>
|
|||
|
|
</plugin>
|
|||
|
|
|
|||
|
|
<!-- 打包jar文件时,配置manifest文件,加入lib包的jar依赖 -->
|
|||
|
|
<plugin>
|
|||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|||
|
|
<configuration>
|
|||
|
|
<archive>
|
|||
|
|
<!-- 清单文件 -->
|
|||
|
|
<manifest>
|
|||
|
|
<mainClass>com.wuqian.www.Application</mainClass>
|
|||
|
|
<!-- 打包时 MANIFEST.MF文件不记录的时间戳版本 父工程开发版本需要加,不然依赖的父工程jar引用不了-->
|
|||
|
|
<useUniqueVersions>false</useUniqueVersions>
|
|||
|
|
<addClasspath>true</addClasspath>
|
|||
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|||
|
|
</manifest>
|
|||
|
|
<!-- 给清单文件添加键值对(配置文件外置) -->
|
|||
|
|
<manifestEntries>
|
|||
|
|
<Class-Path>config/</Class-Path>
|
|||
|
|
</manifestEntries>
|
|||
|
|
</archive>
|
|||
|
|
<classesDirectory>
|
|||
|
|
</classesDirectory>
|
|||
|
|
</configuration>
|
|||
|
|
</plugin>
|
|||
|
|
<!-- 拷贝依赖的jar包到lib目录 -->
|
|||
|
|
<plugin>
|
|||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|||
|
|
<version>3.1.1</version>
|
|||
|
|
<executions>
|
|||
|
|
<execution>
|
|||
|
|
<id>copy</id>
|
|||
|
|
<phase>package</phase>
|
|||
|
|
<goals>
|
|||
|
|
<goal>copy-dependencies</goal>
|
|||
|
|
</goals>
|
|||
|
|
<configuration>
|
|||
|
|
<outputDirectory>
|
|||
|
|
${project.build.directory}/lib
|
|||
|
|
</outputDirectory>
|
|||
|
|
</configuration>
|
|||
|
|
</execution>
|
|||
|
|
</executions>
|
|||
|
|
</plugin>
|
|||
|
|
|
|||
|
|
<!-- 解决资源文件的编码问题 -->
|
|||
|
|
<plugin>
|
|||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|||
|
|
<configuration>
|
|||
|
|
<encoding>UTF-8</encoding>
|
|||
|
|
<!-- 过滤后缀文件 -->
|
|||
|
|
<nonFilteredFileExtensions>
|
|||
|
|
<nonFilteredFileExtension>xlsx</nonFilteredFileExtension>
|
|||
|
|
<nonFilteredFileExtension>xls</nonFilteredFileExtension>
|
|||
|
|
<nonFilteredFileExtension>p12</nonFilteredFileExtension>
|
|||
|
|
</nonFilteredFileExtensions>
|
|||
|
|
</configuration>
|
|||
|
|
</plugin>
|
|||
|
|
<!-- 打包source文件为zip文件 -->
|
|||
|
|
<plugin>
|
|||
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|||
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|||
|
|
<version>3.1.0</version>
|
|||
|
|
<configuration>
|
|||
|
|
<descriptors>
|
|||
|
|
<descriptor>src/main/assembly/assembly.xml</descriptor>
|
|||
|
|
</descriptors>
|
|||
|
|
</configuration>
|
|||
|
|
<executions>
|
|||
|
|
<execution>
|
|||
|
|
<id>make-assembly</id>
|
|||
|
|
<phase>package</phase>
|
|||
|
|
<goals>
|
|||
|
|
<goal>single</goal>
|
|||
|
|
</goals>
|
|||
|
|
</execution>
|
|||
|
|
</executions>
|
|||
|
|
</plugin>
|
|||
|
|
</plugins>
|
|||
|
|
</build>
|
|||
|
|
|
|||
|
|
</project>
|