本次提交包含: 1. 11个Maven模块全部创建并编译通过 2. 4个数据库初始化脚本(14张表) 3. fund-sys服务启动验证 4. Gateway路由配置完成 5. API端到端测试通过 核心能力: - 多租户数据隔离(MyBatis-Plus) - JWT认证+BCrypt密码 - 统一返回结构 - 参数校验 - OpenFeign示例 - API网关统一入口 修复: - MyBatis-Plus与Spring Boot 3兼容性问题 - BaseEntity字段类型统一(Long) - Gateway版本兼容性
52 lines
1.8 KiB
XML
52 lines
1.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
|
||
https://maven.apache.org/xsd/settings-1.0.0.xsd">
|
||
|
||
<!-- 项目级 Maven 设置:
|
||
1. 使用当前项目目录下的 .mvn/repository 作为本地仓库;
|
||
2. 明确使用 Maven Central 作为远程仓库;
|
||
3. 不依赖用户家目录 ~/.m2/settings.xml 中配置的私服(如 hongma)。 -->
|
||
<localRepository>${user.dir}/.mvn/repository</localRepository>
|
||
|
||
<mirrors>
|
||
<!-- 不配置任何私服镜像,避免外部镜像强制接管 central -->
|
||
</mirrors>
|
||
|
||
<profiles>
|
||
<profile>
|
||
<id>project-repos</id>
|
||
<repositories>
|
||
<repository>
|
||
<id>central</id>
|
||
<url>https://repo1.maven.org/maven2</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>false</enabled>
|
||
</snapshots>
|
||
</repository>
|
||
</repositories>
|
||
<pluginRepositories>
|
||
<pluginRepository>
|
||
<id>central</id>
|
||
<url>https://repo1.maven.org/maven2</url>
|
||
<releases>
|
||
<enabled>true</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>false</enabled>
|
||
</snapshots>
|
||
</pluginRepository>
|
||
</pluginRepositories>
|
||
</profile>
|
||
</profiles>
|
||
|
||
<activeProfiles>
|
||
<activeProfile>project-repos</activeProfile>
|
||
</activeProfiles>
|
||
|
||
</settings>
|