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.
190 lines
6.7 KiB
190 lines
6.7 KiB
12 months ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
||
|
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>
|
||
|
<groupId>com.dxhy.base.baseservice</groupId>
|
||
|
<artifactId>sims-base-consumer</artifactId>
|
||
|
<version>8.0.3-SNAPSHOT</version>
|
||
|
<name>sims-base-consumer</name>
|
||
|
<packaging>jar</packaging>
|
||
|
<description>订单基础服务-打包入口</description>
|
||
|
<properties>
|
||
|
</properties>
|
||
|
<dependencies>
|
||
|
|
||
|
<!-- Spring Boot Web引用-->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
<optional>true</optional>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>org.yaml</groupId>
|
||
|
<artifactId>snakeyaml</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- Spring Boot Test Dependencies -->
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-test</artifactId>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.yaml</groupId>
|
||
|
<artifactId>snakeyaml</artifactId>
|
||
|
<version>${snakeyaml.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>commons-io</groupId>
|
||
|
<artifactId>commons-io</artifactId>
|
||
|
<version>${commonsIo.version}</version>
|
||
|
<scope>compile</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.apache.commons</groupId>
|
||
|
<artifactId>commons-compress</artifactId>
|
||
|
<version>${commonsCompress.version}</version>
|
||
|
<scope>compile</scope>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.projectlombok</groupId>
|
||
|
<artifactId>lombok</artifactId>
|
||
|
<version>${lombok.version}</version>
|
||
|
<scope>provided</scope>
|
||
|
<optional>true</optional>
|
||
|
</dependency>
|
||
|
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>cn.hutool</groupId>
|
||
|
<artifactId>hutool-all</artifactId>
|
||
|
<version>${hutool.version}</version>
|
||
|
<scope>compile</scope>
|
||
|
</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>com.dxhy.base</groupId>
|
||
|
<artifactId>sims-base-service</artifactId>
|
||
|
<version>${sims-base.version}</version>
|
||
|
<scope>compile</scope>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>commons-io</groupId>
|
||
|
<artifactId>commons-io</artifactId>
|
||
|
</exclusion>
|
||
|
<exclusion>
|
||
|
<groupId>cn.hutool</groupId>
|
||
|
<artifactId>hutool-all</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
|
||
|
</dependencies>
|
||
|
<build>
|
||
|
<finalName>sims-base-api</finalName>
|
||
|
<resources>
|
||
|
<!-- 资源文件处理,优先去除不需要打包服务(download,redinvoice中包含excel文件,不能进行打包,不然会无法下载,后面进行复制操作), -->
|
||
|
<resource>
|
||
|
<directory>${project.basedir}/src/main/resources</directory>
|
||
|
<filtering>true</filtering>
|
||
|
<excludes>
|
||
|
<exclude>generator.properties</exclude>
|
||
|
<exclude>generatorConfig.xml</exclude>
|
||
|
</excludes>
|
||
|
</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>
|
||
|
|
||
|
<!--打包排除-->
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-deploy-plugin</artifactId>
|
||
|
<version>${maven.deploy.plugin.version}</version>
|
||
|
<configuration>
|
||
|
<skip>true</skip>
|
||
|
</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>
|