|
@@ -0,0 +1,491 @@
|
|
|
|
|
+<?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.sckw</groupId>
|
|
|
|
|
+ <artifactId>sckw-ai</artifactId>
|
|
|
|
|
+ <version>1.0.0</version>
|
|
|
|
|
+
|
|
|
|
|
+ <name>sckw-ai</name>
|
|
|
|
|
+ <url>http://git.sckaiwu.cn/18725603264/sckw-ai.git</url>
|
|
|
|
|
+ <description>ai中心</description>
|
|
|
|
|
+
|
|
|
|
|
+ <modules>
|
|
|
|
|
+ <module>sckw-ai-api</module>
|
|
|
|
|
+ <module>sckw-ai-biz</module>
|
|
|
|
|
+ </modules>
|
|
|
|
|
+ <packaging>pom</packaging>
|
|
|
|
|
+
|
|
|
|
|
+ <properties>
|
|
|
|
|
+ <maven.compiler.source>17</maven.compiler.source>
|
|
|
|
|
+ <maven.compiler.target>17</maven.compiler.target>
|
|
|
|
|
+ <!--更新模块-->
|
|
|
|
|
+ <upgrade.version>1.1.0</upgrade.version>
|
|
|
|
|
+ <!--基础模块-->
|
|
|
|
|
+ <basic.version>1.0.0</basic.version>
|
|
|
|
|
+ <project.basic.version>1.0.0</project.basic.version>
|
|
|
|
|
+ <flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
|
|
|
|
|
+ <maven.compiler.source>17</maven.compiler.source>
|
|
|
|
|
+ <maven.compiler.target>17</maven.compiler.target>
|
|
|
|
|
+ <maven.compiler.compilerVersion>17</maven.compiler.compilerVersion>
|
|
|
|
|
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
+ <spring-version>6.0.7</spring-version>
|
|
|
|
|
+ <spring-boot.version>3.0.5</spring-boot.version>
|
|
|
|
|
+ <spring-cloud.version>2022.0.0</spring-cloud.version>
|
|
|
|
|
+ <spring-cloud-alibaba.version>2022.0.0.0-RC1</spring-cloud-alibaba.version>
|
|
|
|
|
+
|
|
|
|
|
+ <!--不能使用3.2.0版本,会导致redisson里面的kryo版本降低值4.2.0-->
|
|
|
|
|
+ <dubbo.version>3.2.2</dubbo.version>
|
|
|
|
|
+ <snakeyaml.version>2.0</snakeyaml.version>
|
|
|
|
|
+ <springdoc.version>2.1.0</springdoc.version>
|
|
|
|
|
+ <redisson.version>3.21.3</redisson.version>
|
|
|
|
|
+ <fastjson.version>2.0.38</fastjson.version>
|
|
|
|
|
+ <easyexcel.version>3.3.2</easyexcel.version>
|
|
|
|
|
+ <cglib.version>3.3.0</cglib.version>
|
|
|
|
|
+ <commons-io.version>2.11.0</commons-io.version>
|
|
|
|
|
+ <alicloud-sms.version>2.2.0.RELEASE</alicloud-sms.version>
|
|
|
|
|
+ <oss.version>2.2.0.RELEASE</oss.version>
|
|
|
|
|
+ <sentinel-csp.version>1.8.6</sentinel-csp.version>
|
|
|
|
|
+ <nacos-client.version>2.2.1</nacos-client.version>
|
|
|
|
|
+ <hutool.version>5.8.18</hutool.version>
|
|
|
|
|
+ <mybatis-plus.version>3.5.3.1</mybatis-plus.version>
|
|
|
|
|
+ <dynamic-datasource.version>3.6.1</dynamic-datasource.version>
|
|
|
|
|
+ <latest.release.version>5.2.0</latest.release.version>
|
|
|
|
|
+ <pagehelper.version>5.3.2</pagehelper.version>
|
|
|
|
|
+ <pagehelper-spring-boot-starter.version>1.4.7</pagehelper-spring-boot-starter.version>
|
|
|
|
|
+ <junit.version>4.13.2</junit.version>
|
|
|
|
|
+ <xxljob.version>2.4.0</xxljob.version>
|
|
|
|
|
+ <project.version>1.0.0</project.version>
|
|
|
|
|
+ <!--maven插件版本声明-->
|
|
|
|
|
+ <maven-clean-plugin.version>3.2.0</maven-clean-plugin.version>
|
|
|
|
|
+ <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
|
|
|
|
|
+ <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
|
|
|
|
|
+ <maven-resources-plugin.version>3.3.0</maven-resources-plugin.version>
|
|
|
|
|
+ <maven-install-plugin.version>3.0.1</maven-install-plugin.version>
|
|
|
|
|
+ <maven-deploy-plugin.version>3.0.0</maven-deploy-plugin.version>
|
|
|
|
|
+ <maven-openapi-ui.version>1.7.0</maven-openapi-ui.version>
|
|
|
|
|
+ </properties>
|
|
|
|
|
+
|
|
|
|
|
+ <dependencyManagement>
|
|
|
|
|
+ <dependencies>
|
|
|
|
|
+
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
|
+ <version>${spring-boot.version}</version>
|
|
|
|
|
+ <type>pom</type>
|
|
|
|
|
+ <scope>import</scope>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- spring-cloud -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
|
|
+ <artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
|
+ <version>${spring-cloud.version}</version>
|
|
|
|
|
+ <type>pom</type>
|
|
|
|
|
+ <scope>import</scope>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- spring-cloud-alibaba -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
+ <artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
|
|
|
|
+ <version>${spring-cloud-alibaba.version}</version>
|
|
|
|
|
+ <type>pom</type>
|
|
|
|
|
+ <scope>import</scope>
|
|
|
|
|
+ <exclusions>
|
|
|
|
|
+ <exclusion>
|
|
|
|
|
+ <groupId>com.alibaba.nacos</groupId>
|
|
|
|
|
+ <artifactId>nacos-client</artifactId>
|
|
|
|
|
+ </exclusion>
|
|
|
|
|
+ </exclusions>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <!-- apache dubbo -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.apache.dubbo</groupId>
|
|
|
|
|
+ <artifactId>dubbo-bom</artifactId>
|
|
|
|
|
+ <version>${dubbo.version}</version>
|
|
|
|
|
+ <type>pom</type>
|
|
|
|
|
+ <scope>import</scope>
|
|
|
|
|
+ <exclusions>
|
|
|
|
|
+ <exclusion>
|
|
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
|
|
+ <artifactId>hessian-lite</artifactId>
|
|
|
|
|
+ </exclusion>
|
|
|
|
|
+ </exclusions>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- yaml/yml配置文件 -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.yaml</groupId>
|
|
|
|
|
+ <artifactId>snakeyaml</artifactId>
|
|
|
|
|
+ <version>${snakeyaml.version}</version>
|
|
|
|
|
+ <!--<scope>compile</scope>-->
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!--处理序列化问题-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.caucho</groupId>
|
|
|
|
|
+ <artifactId>hessian</artifactId>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!--reids操作-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.redisson</groupId>
|
|
|
|
|
+ <artifactId>redisson-spring-boot-starter</artifactId>
|
|
|
|
|
+ <version>${redisson.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!--alibaba fastjson-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
|
|
+ <artifactId>fastjson</artifactId>
|
|
|
|
|
+ <version>${fastjson.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <!--cglib-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>cglib</groupId>
|
|
|
|
|
+ <artifactId>cglib</artifactId>
|
|
|
|
|
+ <exclusions>
|
|
|
|
|
+ <exclusion>
|
|
|
|
|
+ <groupId>org.ow2.asm</groupId>
|
|
|
|
|
+ <artifactId>asm</artifactId>
|
|
|
|
|
+ </exclusion>
|
|
|
|
|
+ </exclusions>
|
|
|
|
|
+ <version>${cglib.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>commons-io</groupId>
|
|
|
|
|
+ <artifactId>commons-io</artifactId>
|
|
|
|
|
+ <version>${commons-io.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!--alibaba 短信-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
+ <artifactId>spring-cloud-alicloud-sms</artifactId>
|
|
|
|
|
+ <version>${alicloud-sms.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!--alibaba oss-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
+ <artifactId>spring-cloud-starter-alicloud-oss</artifactId>
|
|
|
|
|
+ <version>${oss.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- Sentinel Datasource Nacos 持久化存储-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.alibaba.csp</groupId>
|
|
|
|
|
+ <artifactId>sentinel-datasource-nacos</artifactId>
|
|
|
|
|
+ <version>${sentinel-csp.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!--nacos-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.alibaba.nacos</groupId>
|
|
|
|
|
+ <artifactId>nacos-client</artifactId>
|
|
|
|
|
+ <version>${nacos-client.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <!--hutool-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>cn.hutool</groupId>
|
|
|
|
|
+ <artifactId>hutool-http</artifactId>
|
|
|
|
|
+ <version>${hutool.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>cn.hutool</groupId>
|
|
|
|
|
+ <artifactId>hutool-extra</artifactId>
|
|
|
|
|
+ <version>${hutool.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!--mybatis-plus 依赖-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
|
|
+ <artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
|
+ <version>${mybatis-plus.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
|
|
+ <artifactId>mybatis-plus-annotation</artifactId>
|
|
|
|
|
+ <version>${mybatis-plus.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
|
|
+ <artifactId>mybatis-plus-extension</artifactId>
|
|
|
|
|
+ <version>${mybatis-plus.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <!--多数据源-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
|
|
+ <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
|
|
|
+ <version>${dynamic-datasource.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!--ShardingSphere-JDBC-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.apache.shardingsphere</groupId>
|
|
|
|
|
+ <artifactId>shardingsphere-jdbc-core-spring-boot-starter</artifactId>
|
|
|
|
|
+ <version>${latest.release.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!--分页-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.github.pagehelper</groupId>
|
|
|
|
|
+ <artifactId>pagehelper</artifactId>
|
|
|
|
|
+ <version>${pagehelper.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.github.pagehelper</groupId>
|
|
|
|
|
+ <artifactId>pagehelper-spring-boot-autoconfigure</artifactId>
|
|
|
|
|
+ <version>${pagehelper-spring-boot-starter.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.github.pagehelper</groupId>
|
|
|
|
|
+ <artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
|
|
+ <version>${pagehelper-spring-boot-starter.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!--junit-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>junit</groupId>
|
|
|
|
|
+ <artifactId>junit</artifactId>
|
|
|
|
|
+ <version>${junit.version}</version>
|
|
|
|
|
+ <scope>test</scope>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!--Lombok-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
|
|
+ <version>1.18.26</version>
|
|
|
|
|
+ <!--<scope>provided</scope>-->
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.apache.tomcat.embed</groupId>
|
|
|
|
|
+ <artifactId>tomcat-embed-core</artifactId>
|
|
|
|
|
+ <version>10.1.7</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework</groupId>
|
|
|
|
|
+ <artifactId>spring-webmvc</artifactId>
|
|
|
|
|
+ <version>${spring-version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!--xxx-job-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.xuxueli</groupId>
|
|
|
|
|
+ <artifactId>xxl-job-core</artifactId>
|
|
|
|
|
+ <version>${xxljob.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.bouncycastle</groupId>
|
|
|
|
|
+ <artifactId>bcprov-jdk18on</artifactId>
|
|
|
|
|
+ <version>1.74</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <!--热部署-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-devtools</artifactId>
|
|
|
|
|
+ <optional>true</optional>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>org.springdoc</groupId>
|
|
|
|
|
+ <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
|
|
|
+ <version>2.1.0</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
|
|
+ <artifactId>dynamic-datasource-spring-boot3-starter</artifactId>
|
|
|
|
|
+ <version>4.2.0</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ </dependencies>
|
|
|
|
|
+ </dependencyManagement>
|
|
|
|
|
+ <profiles>
|
|
|
|
|
+ <profile>
|
|
|
|
|
+ <id>local</id>
|
|
|
|
|
+ <activation>
|
|
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
|
|
+ </activation>
|
|
|
|
|
+ <properties>
|
|
|
|
|
+ <profiles.active>local</profiles.active>
|
|
|
|
|
+ <nacos.server>127.0.0.1:8848</nacos.server>
|
|
|
|
|
+ <nacos.namespace>sckw-ng-service-platform</nacos.namespace>
|
|
|
|
|
+ </properties>
|
|
|
|
|
+ </profile>
|
|
|
|
|
+ <profile>
|
|
|
|
|
+ <id>dev</id>
|
|
|
|
|
+ <properties>
|
|
|
|
|
+ <profiles.active>dev</profiles.active>
|
|
|
|
|
+ <nacos.server>10.10.10.224:8848</nacos.server>
|
|
|
|
|
+ <nacos.namespace>sckw-ng-service-platform-dev</nacos.namespace>
|
|
|
|
|
+ </properties>
|
|
|
|
|
+ </profile>
|
|
|
|
|
+ <profile>
|
|
|
|
|
+ <id>test</id>
|
|
|
|
|
+ <properties>
|
|
|
|
|
+ <profiles.active>test</profiles.active>
|
|
|
|
|
+ <nacos.server>10.10.10.224:8848</nacos.server>
|
|
|
|
|
+ <nacos.namespace>sckw-ng-service-platform</nacos.namespace>
|
|
|
|
|
+ </properties>
|
|
|
|
|
+ </profile>
|
|
|
|
|
+ <profile>
|
|
|
|
|
+ <id>prod</id>
|
|
|
|
|
+ <properties>
|
|
|
|
|
+ <profiles.active>prod</profiles.active>
|
|
|
|
|
+ <nacos.server>172.17.0.4:8848</nacos.server>
|
|
|
|
|
+ <nacos.namespace>sckw-ng-service-platform</nacos.namespace>
|
|
|
|
|
+ </properties>
|
|
|
|
|
+ </profile>
|
|
|
|
|
+ </profiles>
|
|
|
|
|
+ <build>
|
|
|
|
|
+ <pluginManagement>
|
|
|
|
|
+ <plugins>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-clean-plugin</artifactId>
|
|
|
|
|
+ <version>${maven-clean-plugin.version}</version>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
+ <version>${maven-compiler-plugin.version}</version>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
|
+ <version>${maven-deploy-plugin.version}</version>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-install-plugin</artifactId>
|
|
|
|
|
+ <version>${maven-install-plugin.version}</version>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-jar-plugin</artifactId>
|
|
|
|
|
+ <version>${maven-jar-plugin.version}</version>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-resources-plugin</artifactId>
|
|
|
|
|
+ <version>${maven-resources-plugin.version}</version>
|
|
|
|
|
+ <configuration>
|
|
|
|
|
+ <propertiesEncoding>${project.build.sourceEncoding}</propertiesEncoding>
|
|
|
|
|
+ <delimiters>
|
|
|
|
|
+ <delimiter>@</delimiter>
|
|
|
|
|
+ </delimiters>
|
|
|
|
|
+ <useDefaultDelimiters>false</useDefaultDelimiters>
|
|
|
|
|
+ </configuration>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
+ <version>${spring-boot.version}</version>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ </plugins>
|
|
|
|
|
+ </pluginManagement>
|
|
|
|
|
+ <plugins>
|
|
|
|
|
+ <!-- 统一 revision 版本 -->
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
+ <artifactId>flatten-maven-plugin</artifactId>
|
|
|
|
|
+ <version>${flatten-maven-plugin.version}</version>
|
|
|
|
|
+ <configuration>
|
|
|
|
|
+ <flattenMode>resolveCiFriendliesOnly</flattenMode>
|
|
|
|
|
+ <updatePomFile>true</updatePomFile>
|
|
|
|
|
+ </configuration>
|
|
|
|
|
+ <executions>
|
|
|
|
|
+ <execution>
|
|
|
|
|
+ <goals>
|
|
|
|
|
+ <goal>flatten</goal>
|
|
|
|
|
+ </goals>
|
|
|
|
|
+ <id>flatten</id>
|
|
|
|
|
+ <phase>process-resources</phase>
|
|
|
|
|
+ </execution>
|
|
|
|
|
+ <execution>
|
|
|
|
|
+ <goals>
|
|
|
|
|
+ <goal>clean</goal>
|
|
|
|
|
+ </goals>
|
|
|
|
|
+ <id>flatten.clean</id>
|
|
|
|
|
+ <phase>clean</phase>
|
|
|
|
|
+ </execution>
|
|
|
|
|
+ </executions>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-clean-plugin</artifactId>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-install-plugin</artifactId>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <!-- 其他插件 -->
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
+ <configuration>
|
|
|
|
|
+ <jvmArguments>--enable-native-access=ALL-UNNAMED</jvmArguments>
|
|
|
|
|
+ </configuration>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
+ <version>3.10.1</version>
|
|
|
|
|
+ <configuration>
|
|
|
|
|
+ <source>17</source>
|
|
|
|
|
+ <target>17</target>
|
|
|
|
|
+ <encoding>UTF-8</encoding>
|
|
|
|
|
+ <annotationProcessorPaths>
|
|
|
|
|
+ <path>
|
|
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
|
|
+ <version>1.18.38</version>
|
|
|
|
|
+ </path>
|
|
|
|
|
+ </annotationProcessorPaths>
|
|
|
|
|
+ </configuration>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ </plugins>
|
|
|
|
|
+ <resources>
|
|
|
|
|
+ <resource>
|
|
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
|
|
+ <!-- 关闭过滤 -->
|
|
|
|
|
+ <filtering>false</filtering>
|
|
|
|
|
+ <includes>
|
|
|
|
|
+ <include>**/*</include>
|
|
|
|
|
+ </includes>
|
|
|
|
|
+ </resource>
|
|
|
|
|
+ <resource>
|
|
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
|
|
+ <!-- 启用过滤 即该资源中的变量将会被过滤器中的值替换 -->
|
|
|
|
|
+ <filtering>true</filtering>
|
|
|
|
|
+ <!--资源-->
|
|
|
|
|
+ <includes>
|
|
|
|
|
+ <include>**/*.properties</include>
|
|
|
|
|
+ <include>**/*.yml</include>
|
|
|
|
|
+ </includes>
|
|
|
|
|
+ </resource>
|
|
|
|
|
+ </resources>
|
|
|
|
|
+
|
|
|
|
|
+ </build>
|
|
|
|
|
+</project>
|
|
|
|
|
+
|