simple-starter/simple-starter-bom/pom.xml
2026-11-24 20:45:25 +08:00

527 lines
22 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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>reliable.simple.starter</groupId>
<artifactId>simple-starter-bom</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>Simple Starter BOM</description>
<!-- ==================== 发布元数据 ====================
本 POM 无 parent,无法继承 simple-starter-dependencies 的元数据,
发布到私服 / Maven Central 时必须在此单独声明。 -->
<url>https://git.xcynet.com/pangu/simple-starter</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<id>pangu</id>
<name>Simple Starter Team</name>
<email>dev@xcynet.com</email>
<organization>XCYNet</organization>
<organizationUrl>https://www.xcynet.com</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:https://git.xcynet.com/pangu/simple-starter.git</connection>
<developerConnection>scm:git:ssh://git@git.xcynet.com/pangu/simple-starter.git</developerConnection>
<url>https://git.xcynet.com/pangu/simple-starter</url>
<tag>HEAD</tag>
</scm>
<!-- ==================== 发布目标仓库(阿里云云效制品仓库) ====================
本 POM 无 parent,必须与 simple-starter-dependencies 保持同一套地址与 id。
仓库为 Hybrid 模式,Release 与 Snapshot 共用同一地址。 -->
<distributionManagement>
<repository>
<id>xcynet-simple-starter</id>
<name>Alyun Devops Maven Repository</name>
<url>https://packages.aliyun.com/6916925f9add35de197b8556/maven/repo-mtndz</url>
</repository>
<snapshotRepository>
<id>xcynet-simple-starter</id>
<name>Alyun Devops Maven Repository</name>
<url>https://packages.aliyun.com/6916925f9add35de197b8556/maven/repo-mtndz</url>
</snapshotRepository>
</distributionManagement>
<properties>
<!-- 本 POM 无 parent,版本号只能在此单独维护;
发布时统一用 -Drevision=x.y.z 覆盖(用户属性优先级高于此处),
若手工改版本,必须同步修改 simple-starter-dependencies/pom.xml 中的 revision -->
<revision>2.7.1</revision>
<!-- 必须与 simple-starter-dependencies 的 spring-boot.version 保持一致 -->
<spring-boot.version>4.1.2</spring-boot.version>
</properties>
<dependencyManagement>
<dependencies>
<!-- Spring Boot BOM(统一管理 Spring Boot 全生态版本) -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- 核心模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-core</artifactId>
<version>${project.version}</version>
</dependency>
<!-- JSON 模块 - Jackson -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-json-jackson</artifactId>
<version>${project.version}</version>
</dependency>
<!-- API 文档模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-doc</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 校验模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-validation</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Web 模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-web</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 缓存模块 - Redisson -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-cache-redisson</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 缓存模块 - Spring Cache -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-cache-springcache</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 缓存模块 - JetCache -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-cache-jetcache</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 认证模块 - SaToken -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-auth-satoken</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 认证模块 - JustAuth -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-auth-justauth</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 数据访问模块 - MyBatis Plus -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-data-mp</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 数据访问模块 - 核心模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-data-core</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 加密模块 - 字段加密 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-encrypt-field</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 加密模块 - API 加密 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-encrypt-api</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 加密模块 - 密码编码器 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-encrypt-password</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 加密模块 - 核心模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-encrypt-core</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 验证码模块 - 图形验证码 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-captcha-graphic</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 验证码模块 - 行为验证码 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-captcha-behavior</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 安全模块 - 脱敏 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-security-mask</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 安全模块 - XSS 过滤 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-security-xss</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 安全模块 - 敏感词 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-security-sensitive</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 限流模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-security-ratelimiter</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 幂等模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-security-idempotent</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 链路追踪模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-trace</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 消息模块 - 邮件 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-messaging-mail</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 消息模块 - ws -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-messaging-ws</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 消息模块 - SSE -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-messaging-sse</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 消息模块 - MQTT -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-messaging-mqtt</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 日志模块 - 基于拦截器实现(Spring Boot Actuator HttpTrace 增强版) -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-log-interceptor</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 日志模块 - 基于 AOP 实现 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-log-aop</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 日志模块 - 核心模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-log-core</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 日志模块 - 异步持久化引擎 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-log-engine</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 监控模块 - Micrometer + Prometheus 指标采集 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-metrics</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Excel 文件处理模块 - Fesod -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-excel-fesod</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Excel 文件处理模块 - POI -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-excel-poi</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Excel 文件处理模块 - 核心模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-excel-core</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 存储模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-storage</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 扩展模块 - CRUD - MyBatis Plus ORM 模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-enhance-crud-mp</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 扩展模块 - CRUD - MyBatis Flex ORM 模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-enhance-crud-mf</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 扩展模块 - CRUD - 核心模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-enhance-crud-core</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 扩展模块 - 数据权限 - MyBatis Plus ORM 模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-enhance-datapermission-mp</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 扩展模块 - 数据权限 - 核心模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-enhance-datapermission-core</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 扩展模块 - 租户 - MyBatis Plus ORM 模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-enhance-tenant-mp</artifactId>
<version>${project.version}</version>
</dependency>
<!-- 扩展模块 - 租户 - 核心模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-enhance-tenant-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-network</artifactId>
<version>${project.version}</version>
</dependency>
<!-- gRPC 模块 - etcd 服务注册发现 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-cluster-grpc</artifactId>
<version>${project.version}</version>
</dependency>
<!-- HTTP 服务注册发现模块 -->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-cluster-http-registry</artifactId>
<version>${project.version}</version>
</dependency>
<!--任务调度核心模块-->
<dependency>
<groupId>reliable.simple.starter</groupId>
<artifactId>simple-starter-job-core</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<!-- 统一版本号插件 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.7.0</version>
<executions>
<execution>
<!-- Create an effective POM (with versions expanded) for the CLI and documentation -->
<id>flatten-effective-pom</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
<configuration>
<updatePomFile>false</updatePomFile>
<outputDirectory>${project.build.directory}/effective-pom</outputDirectory>
<flattenedPomFilename>simple-starter-dependencies.xml</flattenedPomFilename>
<flattenMode>oss</flattenMode>
<pomElements>
<dependencyManagement>expand</dependencyManagement>
<pluginManagement>expand</pluginManagement>
<properties>remove</properties>
<repositories>remove</repositories>
</pomElements>
</configuration>
</execution>
<execution>
<!-- Flatten and simplify our own POM for install/deploy -->
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>bom</flattenMode>
<pomElements>
<parent>expand</parent>
<properties>keep</properties>
<pluginManagement>keep</pluginManagement>
<repositories>remove</repositories>
<!-- bom 模式默认删除 distributionManagement,会导致本 POM 自身无法 deploy -->
<distributionManagement>keep</distributionManagement>
</pomElements>
</configuration>
</execution>
<execution>
<id>flatten-clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<!-- 内部发布(云效私服):产出 sources/javadoc 包 -->
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<doclint>none</doclint>
<additionalJOption>-Xdoclint:none</additionalJOption>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- 发布到 Maven Central:需同时激活 -Prelease,central -->
<profile>
<id>central</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.4.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<tokenAuth>true</tokenAuth>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>