- 包根 cn.iocoder.yudao → com.wanxiang.huijing;业务 cn.wanxiang.game → com.wanxiang.huijing.game(统一单一命名空间) - groupId cn.iocoder.cloud → com.wanxiang;artifactId + 模块目录 yudao-* → huijing-*(含 huijing-server/framework/gateway/dependencies) - 类名 Yudao* → Huijing*(44 个);配置前缀 yudao.* → huijing.*(Tier A 标识符 + Tier B 配置) - 排除不动:Flyway 迁移脚本(不可变历史,保 checksum)、上游归属 URL/LICENSE、DB 表名(真表 system_*/game_*,无 yudao_ 业务表) - 范围:game-cloud + game-admin。范围外 contracts/docs/.agents 的 yudao 引用=文档漂移,后续单独清(Opus H4 判不阻断) 评审:Opus 对抗复审(逮 Flyway checksum Blocker→已修排除迁移);Codex 未同步交回。 本地验证:apply 幂等✓;范围内真代码残留 0(16 处 \bYudao 均在已排除迁移注释内)。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
168 lines
7.9 KiB
XML
168 lines
7.9 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>com.wanxiang</groupId>
|
||
<artifactId>huijing</artifactId>
|
||
<version>${revision}</version>
|
||
<packaging>pom</packaging>
|
||
<modules>
|
||
<module>huijing-dependencies</module>
|
||
<module>huijing-gateway</module>
|
||
<module>huijing-framework</module>
|
||
<!-- Server 主项目 -->
|
||
<module>huijing-server</module>
|
||
<!-- 各种 module 拓展(绘境 MVP 保留:system/infra 基座 + pay/bpm 复用;已裁剪 11 个 demo 模块:member/report/mp/mall/crm/erp/iot/mes/wms/im/ai) -->
|
||
<module>huijing-module-system</module>
|
||
<module>huijing-module-infra</module>
|
||
<module>huijing-module-bpm</module>
|
||
<module>huijing-module-pay</module>
|
||
<!-- 绘境 game 业务模块(黄金模板先行,其余 12 模块克隆) -->
|
||
<module>game-module-project</module>
|
||
<!-- Wave1 闭环脊柱 4 模块(aigc/runtime/feed/telemetry) -->
|
||
<module>game-module-aigc</module>
|
||
<module>game-module-runtime</module>
|
||
<module>game-module-feed</module>
|
||
<module>game-module-telemetry</module>
|
||
<!-- Wave2 变现域:ad(广告引擎,钱财闭环上游) -->
|
||
<module>game-module-ad</module>
|
||
<!-- Wave2 变现域:trade(分账/结算/提现,钱财闭环下游,消费 ad 收入做 T+1 分账) -->
|
||
<module>game-module-trade</module>
|
||
<!-- Wave3:compliance(锁风门 Gate/分级/封禁,发布前合规)、studio(创作主链路编排,调 project/aigc) -->
|
||
<module>game-module-compliance</module>
|
||
<module>game-module-studio</module>
|
||
<!-- Wave4:community(通知底座:站内信/创作者等级/新人奖励触发)、biz(B/G 端轻量定制 lead form 信息流) -->
|
||
<module>game-module-community</module>
|
||
<module>game-module-biz</module>
|
||
</modules>
|
||
|
||
<name>${project.artifactId}</name>
|
||
<description>芋道项目基础脚手架</description>
|
||
<url>https://github.com/YunaiV/ruoyi-vue-pro</url>
|
||
|
||
<properties>
|
||
<revision>2026.05-SNAPSHOT</revision>
|
||
<!-- Maven 相关 -->
|
||
<java.version>17</java.version>
|
||
<maven.compiler.source>${java.version}</maven.compiler.source>
|
||
<maven.compiler.target>${java.version}</maven.compiler.target>
|
||
<maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
|
||
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
|
||
<flatten-maven-plugin.version>1.7.2</flatten-maven-plugin.version>
|
||
<!-- maven-surefire-plugin 暂时无法通过 bom 的依赖读取(兼容老版本 IDEA 2024 及以前版本) -->
|
||
<lombok.version>1.18.46</lombok.version>
|
||
<spring.boot.version>3.5.9</spring.boot.version>
|
||
<mapstruct.version>1.6.3</mapstruct.version>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
</properties>
|
||
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>com.wanxiang</groupId>
|
||
<artifactId>huijing-dependencies</artifactId>
|
||
<version>${revision}</version>
|
||
<type>pom</type>
|
||
<scope>import</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
|
||
<build>
|
||
<pluginManagement>
|
||
<plugins>
|
||
<!-- maven-surefire-plugin 插件,用于运行单元测试。 -->
|
||
<!-- 注意,需要使用 3.0.X+,因为要支持 Junit 5 版本 -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-surefire-plugin</artifactId>
|
||
<version>${maven-surefire-plugin.version}</version>
|
||
</plugin>
|
||
<!-- maven-compiler-plugin 插件,解决 Lombok + MapStruct 组合 -->
|
||
<!-- https://stackoverflow.com/questions/33483697/re-run-spring-boot-configuration-annotation-processor-to-update-generated-metada -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>${maven-compiler-plugin.version}</version>
|
||
<configuration>
|
||
<annotationProcessorPaths>
|
||
<path>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||
<version>${spring.boot.version}</version>
|
||
</path>
|
||
<path>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<version>${lombok.version}</version>
|
||
</path>
|
||
<path>
|
||
<!-- 确保 Lombok 生成的 getter/setter 方法能被 MapStruct 正确识别,
|
||
避免出现 No property named “xxx" exists 的编译错误 -->
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok-mapstruct-binding</artifactId>
|
||
<version>0.2.0</version>
|
||
</path>
|
||
<path>
|
||
<groupId>org.mapstruct</groupId>
|
||
<artifactId>mapstruct-processor</artifactId>
|
||
<version>${mapstruct.version}</version>
|
||
</path>
|
||
</annotationProcessorPaths>
|
||
<!-- 编译参数写在 arg 内,解决 Spring Boot 3.2 的 Parameter Name Discovery 问题 -->
|
||
<debug>false</debug>
|
||
<compilerArgs>
|
||
<arg>-parameters</arg>
|
||
</compilerArgs>
|
||
</configuration>
|
||
</plugin>
|
||
</plugins>
|
||
</pluginManagement>
|
||
|
||
<plugins>
|
||
<!-- 统一 revision 版本 -->
|
||
<plugin>
|
||
<groupId>org.codehaus.mojo</groupId>
|
||
<artifactId>flatten-maven-plugin</artifactId>
|
||
<version>${flatten-maven-plugin.version}</version>
|
||
<configuration>
|
||
<flattenMode>oss</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>
|
||
</plugins>
|
||
</build>
|
||
|
||
<!-- 使用 huawei / aliyun 的 Maven 源,提升下载速度 -->
|
||
<repositories>
|
||
<repository>
|
||
<id>huaweicloud</id>
|
||
<name>huawei</name>
|
||
<url>https://mirrors.huaweicloud.com/repository/maven/</url>
|
||
</repository>
|
||
<repository>
|
||
<id>aliyunmaven</id>
|
||
<name>aliyun</name>
|
||
<url>https://maven.aliyun.com/repository/public</url>
|
||
</repository>
|
||
</repositories>
|
||
|
||
</project>
|