Repository navigation
🚀 Entity Model Generator v1.2.3
EMG 1.2.3 是继 v1.2.2 之后的兼容性修复版本,也是首个通过 GitHub Packages 正式分发 Maven 构件的版本。
📦 Maven 软件包分发
Group ID:io.github.forgottenlab.emg
| Artifact ID | Version | 用途 |
|---|---|---|
| entity-model-generator | 1.2.3 | 父 POM |
| emg-annotations | 1.2.3 | 公开注解 |
| emg-core | 1.2.3 | 内部核心组件 |
| emg-processor | 1.2.3 | 编译期注解处理器 |
消费者只需显式配置 emg-annotations 和 emg-processor,其余内部构件由 Maven 自动解析。
Maven 仓库地址:
https://maven.pkg.github.com/forgottenlab/entity-model-generator
在 pom.xml 中配置 Maven 仓库:
<repositories>
<repository>
<id>emg-github</id>
<url>https://maven.pkg.github.com/forgottenlab/entity-model-generator</url>
</repository>
</repositories>
在 Maven settings.xml 的 servers 中配置对应的认证信息:
<server>
<id>emg-github</id>
<username>${env.EMG_PACKAGES_USER}</username>
<password>${env.EMG_PACKAGES_READ_TOKEN}</password>
</server>
下载需要 GitHub 用户名和具有 read:packages 权限的 Classic PAT,即使软件包为 Public。请通过环境变量提供凭据,不要将实际 Token 写入项目文件。
消费者配置参考:
🐛 问题修复
- 修复 Windows 文件 URI 大小写差异及长短路径名导致的增量编译 View 归属识别问题。
- 保留过期 schema、外部类型冲突及生成源码归属检查。
🔧 工程改进
- 建立 Ubuntu、Windows 与 JDK 17、21 的兼容性测试矩阵。
- 建立带有版本、标签、CI 和库存检查的 Maven 发布工作流。
- 保持公开注解与编译期处理器的独立依赖边界。
🧪 验证
- Java 17 编译目标。
- Ubuntu 和 Windows 上的 Temurin 17、21 CI 全部通过。
- 每组 CI 通过 84 项 Processor 测试,其中包含 22 项增量回归。
- JDK 17、21 本地 staging 验证通过。
- 七个远程 Maven 构件认证下载及完整性验证通过。
- 双 JDK 下的六组独立远程消费者编译全部通过。
验证记录:
📋 校验与限制
SHA256SUMS.txt 记录实际从 GitHub Packages 下载的四个 POM 和三个 JAR 的 SHA-256。
Maven 构件通过 GitHub Packages 分发,本 Release 不重复提供独立 JAR 安装包。
本版本未宣称 Maven Central 分发或 Java 25 兼容性。Lingxi 正式构件集成回归将在后续单独进行。
项目采用 Apache License 2.0。
English Summary
EMG 1.2.3 is a backward-compatible maintenance release and the first version distributed through GitHub Packages.
It fixes incremental View ownership recovery on Windows and retains the existing schema and provenance checks.
The Java 17 compilation target remains unchanged. CI passed on Ubuntu and Windows with Temurin 17 and 21. All six isolated remote consumer builds passed on JDK 17 and 21.
Consumers configure emg-annotations and emg-processor. Internal Maven dependencies are resolved automatically. GitHub Packages requires authenticated access.
SHA256SUMS.txt contains checksums for all seven remotely downloaded Maven artifacts. Maven Central distribution, Java 25 compatibility, and Lingxi integration acceptance remain outside the verified scope of this release.