2024-03-05 11:39:57 +08:00
|
|
|
<?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.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-module-system</artifactId>
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
</parent>
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<artifactId>cf-module-system-biz</artifactId>
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
|
|
<name>${project.artifactId}</name>
|
|
|
|
|
<description>
|
|
|
|
|
system 模块下,我们放通用业务,支撑上层的核心业务。
|
|
|
|
|
例如说:用户、部门、权限、数据字典等等
|
|
|
|
|
</description>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!-- Spring Cloud 基础 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-bootstrap</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-env</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 依赖服务 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-module-system-api</artifactId>
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-module-infra-api</artifactId>
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 业务组件 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-biz-operatelog</artifactId>
|
|
|
|
|
</dependency>
|
2025-07-17 17:02:51 +08:00
|
|
|
|
2024-03-05 11:39:57 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-biz-organ</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-biz-ip</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Web 相关 -->
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.datatype</groupId>
|
|
|
|
|
<artifactId>jackson-datatype-jsr310</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-security</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- DB 相关 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-mybatis</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-redis</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-elasticsearch</artifactId>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>jakarta.json</groupId>
|
|
|
|
|
<artifactId>jakarta.json-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>jakarta.json</groupId>
|
|
|
|
|
<artifactId>jakarta.json-api</artifactId>
|
|
|
|
|
<version>2.1.1</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- RPC 远程调用相关 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-rpc</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Registry 注册中心相关 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Config 配置中心相关 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Job 定时任务相关 -->
|
|
|
|
|
<!-- <dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-job</artifactId>
|
|
|
|
|
</dependency>-->
|
|
|
|
|
|
|
|
|
|
<!-- 消息队列相关 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-mq</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 服务保障相关 TODO 晨丰:暂时去掉 -->
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
<!-- <groupId>com.cf.imes</groupId>-->
|
|
|
|
|
<!-- <artifactId>cf-spring-boot-starter-protection</artifactId>-->
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
|
|
|
|
<!-- Test 测试相关 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-test</artifactId>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 工具类相关 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-excel</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
2025-07-17 16:03:16 +08:00
|
|
|
<groupId>com.anji-plus</groupId>
|
|
|
|
|
<artifactId>captcha-spring-boot-starter</artifactId> <!-- 验证码,一般用于登录使用 -->
|
2024-03-05 11:39:57 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-mail</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 监控相关 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-monitor</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 三方云服务相关 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.xingyuv</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-justauth</artifactId> <!-- 社交登陆(例如说,个人微信、企业微信等等) -->
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.binarywang</groupId>
|
|
|
|
|
<artifactId>wx-java-mp-spring-boot-starter</artifactId> <!-- 微信登录(公众号) -->
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.binarywang</groupId>
|
|
|
|
|
<artifactId>wx-java-miniapp-spring-boot-starter</artifactId> <!-- 微信登录(小程序) -->
|
|
|
|
|
</dependency>
|
2024-05-17 18:05:03 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-module-prod-executor-api</artifactId>
|
2025-06-18 10:26:21 +08:00
|
|
|
<version>${revision}</version>
|
2024-05-17 18:05:03 +08:00
|
|
|
</dependency>
|
2024-03-05 11:39:57 +08:00
|
|
|
|
2025-03-04 16:16:07 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- JJWT 依赖 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-api</artifactId>
|
|
|
|
|
<version>0.11.5</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-impl</artifactId>
|
|
|
|
|
<version>0.11.5</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt-jackson</artifactId>
|
|
|
|
|
<version>0.11.5</version>
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
2025-04-08 18:28:04 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-biz-pay</artifactId>
|
|
|
|
|
</dependency>
|
2025-03-04 16:16:07 +08:00
|
|
|
|
|
|
|
|
|
2024-03-05 11:39:57 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<!-- 设置构建的 jar 包名 -->
|
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
|
<plugins>
|
|
|
|
|
<!-- 打包 -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<version>${spring.boot.version}</version>
|
2024-09-23 16:15:43 +08:00
|
|
|
<configuration>
|
|
|
|
|
<layout>ZIP</layout>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-common</artifactId>
|
|
|
|
|
</include>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-module-infra-api</artifactId>
|
|
|
|
|
</include>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-module-prod-executor-api</artifactId>
|
|
|
|
|
</include>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-module-system-api</artifactId>
|
|
|
|
|
</include>
|
2025-07-17 17:02:51 +08:00
|
|
|
|
2024-09-23 16:15:43 +08:00
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-biz-ip</artifactId>
|
|
|
|
|
</include>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-biz-operatelog</artifactId>
|
|
|
|
|
</include>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-biz-organ</artifactId>
|
|
|
|
|
</include>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-elasticsearch</artifactId>
|
|
|
|
|
</include>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-env</artifactId>
|
|
|
|
|
</include>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-excel</artifactId>
|
|
|
|
|
</include>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-monitor</artifactId>
|
|
|
|
|
</include>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-mybatis</artifactId>
|
|
|
|
|
</include>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-redis</artifactId>
|
|
|
|
|
</include>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-rpc</artifactId>
|
|
|
|
|
</include>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-security</artifactId>
|
|
|
|
|
</include>
|
|
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-web</artifactId>
|
|
|
|
|
</include>
|
2024-09-23 16:48:56 +08:00
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-mq</artifactId>
|
|
|
|
|
</include>
|
2025-04-08 18:28:04 +08:00
|
|
|
<include>
|
|
|
|
|
<groupId>com.cf.imes</groupId>
|
|
|
|
|
<artifactId>cf-spring-boot-starter-biz-pay</artifactId>
|
|
|
|
|
</include>
|
2024-09-23 16:15:43 +08:00
|
|
|
</includes>
|
|
|
|
|
</configuration>
|
2024-03-05 11:39:57 +08:00
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2024-06-17 18:47:52 +08:00
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
|
<version>${maven.dependency.plugin.version}</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<!-- 将依赖放到target/lib目录下 -->
|
|
|
|
|
<outputDirectory>target/lib</outputDirectory>
|
|
|
|
|
<!-- 排除自身的代码包-->
|
|
|
|
|
<excludeGroupIds>com.cf.imes</excludeGroupIds>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
|
<version>${maven.assembly.plugin.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
|
|
|
<descriptors>
|
|
|
|
|
<!--指定assembly配置文件位置-->
|
|
|
|
|
<descriptor>src/main/build/assembly.xml</descriptor>
|
|
|
|
|
</descriptors>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>bundle</id>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>single</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2024-03-05 11:39:57 +08:00
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
</project>
|