mirror of
https://github.com/continew-org/continew-starter.git
synced 2025-09-09 02:58:38 +08:00

Co-authored-by: 吴泽威<958142070@qq.com> # message auto-generated for no-merge-commit merge: merge echo/storage into dev 增强文件上传功能并优化验证器 Created-by: QAQ_Z Commit-by: 吴泽威 Merged-by: Charles_7c Description: <!-- 非常感谢您的 PR!在提交之前,请务必确保您 PR 的代码经过了完整测试,并且通过了代码规范检查。 --> <!-- 在 [] 中输入 x 来勾选) --> ## PR 类型 <!-- 您的 PR 引入了哪种类型的变更? --> <!-- 只支持选择一种类型,如果有多种类型,可以在更新日志中增加 “类型” 列。 --> - [ ] 新 feature - [ ] Bug 修复 - [x] 功能增强 - [ ] 文档变更 - [ ] 代码样式变更 - [ ] 重构 - [ ] 性能改进 - [ ] 单元测试 - [ ] CI/CD - [ ] 其他 ## PR 目的 <!-- 描述一下您的 PR 解决了什么问题。如果可以,请链接到相关 issues。 --> 增强文件上传功能并优化验证器 ## 解决方案 <!-- 详细描述您是如何解决的问题 --> 增强文件上传功能并优化验证器 ## PR 测试 <!-- 如果可以,请为您的 PR 添加或更新单元测试。 --> <!-- 请描述一下您是如何测试 PR 的。例如:创建/更新单元测试或添加相关的截图。 --> ## Changelog | 模块 | Changelog | Related issues | |-----|-----------| -------------- | | continew-starter-storage |增强文件上传功能并优化验证器 | | <!-- 如果有多种类型的变更,可以在变更日志表中增加 “类型” 列,该列的值与上方 “PR 类型” 相同。 --> <!-- Related issues 格式为 Closes #<issue号>,或者 Fixes #<issue号>,或者 Resolves #<issue号>。 --> ## 其他信息 <!-- 请描述一下还有哪些注意事项。例如:如果引入了一个不向下兼容的变更,请描述其影响。 --> ## 提交前确认 - [x] PR 代码经过了完整测试,并且通过了代码规范检查 - [ ] 已经完整填写 Changelog,并链接到了相关 issues - [x] PR 代码将要提交到 dev 分支 See merge request: continew/continew-starter!2
432 lines
18 KiB
XML
432 lines
18 KiB
XML
<?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>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-bom</artifactId>
|
||
<version>${revision}</version>
|
||
<packaging>pom</packaging>
|
||
|
||
<name>${project.artifactId}</name>
|
||
<description>ContiNew Starter BOM</description>
|
||
|
||
<properties>
|
||
<revision>2.13.4</revision>
|
||
</properties>
|
||
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<!-- 核心模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-core</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- JSON 模块 - Jackson -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-json-jackson</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- API 文档模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-api-doc</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 校验模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-validation</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- Web 模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-web</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 缓存模块 - Redisson -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-cache-redisson</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- 缓存模块 - Spring Cache -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-cache-springcache</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- 缓存模块 - JetCache -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-cache-jetcache</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 认证模块 - SaToken -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-auth-satoken</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- 认证模块 - JustAuth -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-auth-justauth</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 数据访问模块 - MyBatis Plus -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-data-mp</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- 数据访问模块 - MyBatis Flex -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-data-mf</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- 数据访问模块 - 核心模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-data-core</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 安全模块 - 加密 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-security-crypto</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- 安全模块 - 脱敏 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-security-mask</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- 安全模块 - XSS 过滤 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-security-xss</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- 安全模块 - 敏感词 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-security-sensitivewords</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 限流模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-ratelimiter</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 幂等模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-idempotent</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 链路追踪模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-trace</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 验证码模块 - 图形验证码 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-captcha-graphic</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 验证码模块 - 行为验证码 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-captcha-behavior</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 消息模块 - 邮件 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-messaging-mail</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 消息模块 - WebSocket -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-messaging-websocket</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 日志模块 - 基于拦截器实现(Spring Boot Actuator HttpTrace 增强版) -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-log-interceptor</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- 日志模块 - 基于 AOP 实现 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-log-aop</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- 日志模块 - 核心模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-log-core</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- Excel 文件处理模块 - FastExcel -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-excel-fastexcel</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- Excel 文件处理模块 - POI -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-excel-poi</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- Excel 文件处理模块 - 核心模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-excel-core</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 存储模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-storage</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- License 模块 - 生成器 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-license-generator</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- License 模块 - 校验器 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-license-verifier</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- License 模块 - 核心模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-license-core</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 扩展模块 - CRUD - MyBatis Plus ORM 模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-extension-crud-mp</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- 扩展模块 - CRUD - MyBatis Flex ORM 模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-extension-crud-mf</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- 扩展模块 - CRUD - 核心模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-extension-crud-core</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 扩展模块 - 数据权限 - MyBatis Plus ORM 模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-extension-datapermission-mp</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- 扩展模块 - 数据权限 - 核心模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-extension-datapermission-core</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
|
||
<!-- 扩展模块 - 租户 - MyBatis Plus ORM 模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-extension-tenant-mp</artifactId>
|
||
<version>${revision}</version>
|
||
</dependency>
|
||
<!-- 扩展模块 - 租户 - 核心模块 -->
|
||
<dependency>
|
||
<groupId>top.continew.starter</groupId>
|
||
<artifactId>continew-starter-extension-tenant-core</artifactId>
|
||
<version>${revision}</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>continew-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>
|
||
</pomElements>
|
||
</configuration>
|
||
</execution>
|
||
<execution>
|
||
<id>flatten-clean</id>
|
||
<phase>clean</phase>
|
||
<goals>
|
||
<goal>clean</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
<profiles>
|
||
<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>
|
||
<executions>
|
||
<execution>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>jar</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<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>
|
||
|
||
<url>https://github.com/continew-org/continew-starter</url>
|
||
<licenses>
|
||
<license>
|
||
<name>GNU LESSER GENERAL PUBLIC LICENSE</name>
|
||
<url>http://www.gnu.org/licenses/lgpl.html</url>
|
||
</license>
|
||
</licenses>
|
||
<developers>
|
||
<developer>
|
||
<id>charles7c</id>
|
||
<name>Charles7c</name>
|
||
<email>charles7c@126.com</email>
|
||
<roles>
|
||
<role>Creator</role>
|
||
<role>Java Development Engineer</role>
|
||
</roles>
|
||
<timezone>+8</timezone>
|
||
<url>https://github.com/Charles7c</url>
|
||
</developer>
|
||
</developers>
|
||
<scm>
|
||
<connection>scm:git:git@github.com:continew-org/continew-starter.git</connection>
|
||
<developerConnection>scm:git:git@github.com:continew-org/continew-starter.git</developerConnection>
|
||
<url>https://github.com/continew-org/continew-starter</url>
|
||
</scm>
|
||
</project> |