Repository navigation
feat(new-project): 接手 Java Support 的 Maven 新建项目入口、Archetype 与模板 - #12
Merged
Merged
Conversation
Maven 的新建项目入口(maven-java)和 Maven Archetype 生成器从 Java Support 移到本插件:模板与图标逐字节搬来,字段、条件和步骤与原定义一致。打包脚本检查每个入口引用的图标和模板目录确实在包内。
This was referenced Nov 5, 2026
xiaoyumuxi
marked this pull request as ready for review
November 5, 2026 11:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
做了什么
Java 拆分的一部分:Maven 相关的新建项目入口从 Java Support 移到本插件,宿主和 Java 插件都不再写 Maven 内容。
maven-java:项目区,Maven 工程,可选 JDK、示例代码、GroupId、ArtifactId。maven-archetype:生成器区,用mvn archetype:generate生成工程。openFiles与 Java Support 原定义逐项核对一致,只是去掉了原来的buildSystem选择。templates/java/maven、standard-*)和入口图标(maven-project*.svg)从 Java Support 逐字节搬来,NOTICE 补了来源说明。requires加projectGenerators: 1,权限加project.generate。scripts/package.mjs打包前检查每个入口引用的图标和模板目录都在包内,并且不能用绝对路径或..。合入顺序
要和 Lithe-IDEA/lithe-plugin-java#5 、Lithe-IDEA/lithe-plugin-gradle#6 一起合入、一起发版。只合 Java 那边,新建项目窗口里会少掉 Maven 入口。
languageImport.settings的导出(把 Maven settings 交给 Java)不在这个 PR,等 #8 合入后用 Rust 后端单独做。验证
node scripts/package.mjs:通过,zip 里有全部模板和图标。node scripts/test-process.mjs、node scripts/test-backend.mjs、node scripts/test.mjs(本机 Maven):全部通过。validate-index.mjs校验dist/maven-build-0.1.2-darwin.zip:通过。