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.
222 lines
9.5 KiB
222 lines
9.5 KiB
<?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.management</groupId>
|
|
<artifactId>sims-back-consumer</artifactId>
|
|
<version>8.0.3-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
<properties>
|
|
<!-- 需要放在外置的jar包groupId-->
|
|
<out.jar.name>
|
|
com.alibaba,com.alibaba.cloud,com.alibaba.nacos,com.alibaba.fastjson2,com.alibaba.spring,com.aliyun,com.aliyun.oss,
|
|
org.springframework,org.springframework.amqp,org.springframework.boot,org.springframework.cloud,org.springframework.data,org.springframework.integration,org.springframework.plugin,org.springframework.retry,org.springframework.security,
|
|
io.github.classgraph,io.lettuce,io.micrometer,io.netty,io.projectreactor,io.prometheus,io.springfox,io.swagger,io.swagger.core.v3,io.zipkin.aws,io.zipkin.brave,io.zipkin.reporter2,io.zipkin.zipkin2,
|
|
org.apache.commons,org.apache.groovy,org.apache.httpcomponents,org.apache.poi,org.apache.tomcat.embed,org.apache.xmlbeans,mysql,joda-time,org.codehaus.jettison,org.yaml,
|
|
org.aspectj,org.bouncycastle,org.freemarker,org.ehcache,org.hdrhistogram,org.hibernate.validator,org.latencyutils,org.mapstruct,
|
|
org.mongodb,org.mybatis,org.mybatis.spring.boot,org.projectlombok,org.reactivestreams,org.skyscreamer,org.slf4j,org.glassfish.jaxb,org.jboss.logging,
|
|
commons-io,commons-codec,ch.qos.logback,net.bytebuddy,net.jodah,
|
|
jakarta.activation,jakarta.annotation,jakarta.validation,jakarta.xml.bind,javax.validation,javax.annotation,javax.cache,
|
|
stax,
|
|
com.fasterxml,com.fasterxml.jackson.core,com.fasterxml.jackson.datatype,com.fasterxml.jackson.module,com.zaxxer,
|
|
com.xuxueli,com.rabbitmq,com.sun.activation,com.sun.istack,com.google.code.gson,cn.hutool,
|
|
com.github.pagehelper,com.github.virtuald,com.github.jsqlparser,de.codecentric
|
|
</out.jar.name>
|
|
</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.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.management</groupId>
|
|
<artifactId>sims-back-service</artifactId>
|
|
<version>${sims-back.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
<build>
|
|
<finalName>sims-management-service</finalName>
|
|
|
|
<plugins>
|
|
<!--打包时添加版本信息-->
|
|
<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>
|
|
|
|
<!-- maven打包定制化 开始 -->
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<version>${spring.boot.version}</version>
|
|
<configuration>
|
|
<fork>true</fork>
|
|
<finalName>${project.build.finalName}</finalName>
|
|
<!--解决windows命令行窗口中文乱码-->
|
|
<jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
|
|
<layout>ZIP</layout>
|
|
<!--这里是填写需要包含进去的jar,
|
|
必须项目中的某些模块,会经常变动,那么就应该将其坐标写进来
|
|
如果没有则non-exists ,表示不打包依赖
|
|
-->
|
|
<!-- <includes>-->
|
|
<!-- <include>-->
|
|
<!-- <groupId>non-exists</groupId>-->
|
|
<!-- <artifactId>non-exists</artifactId>-->
|
|
<!-- </include>-->
|
|
<!-- </includes>-->
|
|
<!-- 需要排除掉的groupId列表,不会打到服务jar中-->
|
|
<excludeGroupIds>${out.jar.name}</excludeGroupIds>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!--此插件用于将依赖包抽出-->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.6.0</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy-dependencies</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy-dependencies</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>${project.build.directory}/lib</outputDirectory>
|
|
<stripVersion>false</stripVersion>
|
|
<excludeTransitive>false</excludeTransitive>
|
|
<!-- 需要添加到外部的groupId列表,不会打到服务jar中,会放在指定位置-->
|
|
<includeGroupIds>${out.jar.name}</includeGroupIds>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>3.2.5</version>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- maven打包定制化 开始 -->
|
|
|
|
<!--打包排除-->
|
|
<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.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>
|
|
|