[Feature] 兼容 Maven 多版本 JAR 项目的 JDT 编译设置
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 12/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- java
- Domain
- build-system
Research direction
The failing case is a Maven multi-release POM (base source/target 8, Java 9 execution with release 9 and multiReleaseOutput) that the JDT pre-run build rejects with a 'Multi-Release Compilation requires the release option' marker. Start by reproducing with the pinned Lanterna commit 08d04a2a1d7b8a788d0d18f2d8d999b8fedaa1c4 and the JDK 11 setup described, then check how the existing Java build integration maps Maven executions to JDT settings. The issue names no test file for this; TestJavaPluginHistoricalProject is mentioned only as a client-side harness. Done means the build, completion, and Run/Debug succeed on the unmodified POM without forcing all sources to Java 8.
Written by the indexing model from the issue text.
Description
Problem to solve / 要解决的问题
Lanterna 3.1.1 固定源码 08d04a2a1d7b8a788d0d18f2d8d999b8fedaa1c4(https://github.com/mabe02/lanterna/tree/08d04a2a1d7b8a788d0d18f2d8d999b8fedaa1c4)在 macOS arm64 / Viva 无头工作台、真实 Java 插件、JDT LS 1.61、项目 JDK 11 中复现:未改原 POM(基础 source/target 8,Java 9 execution 使用 release 9 / multiReleaseOutput),Maven compile 和补全通过,Run 的 JDT 运行前构建失败。Eclipse project marker:Multi-Release Compilation requires the release option enabled in the project settings。Java 8 本来不能执行该 POM 的 --release 构建,后续复现已改用项目实际要求的 JDK 11,不把错误工具链当成插件缺陷。
Proposed solution / 建议方案
核验 m2e/JDT 对多版本输出和各 execution 的 release 映射,优先采用上游支持方式,避免在 Lithe 里重建 Maven 编译模型。原 POM 下验证构建、基础/版本目录选择、补全、Run/Debug 和重新导入;不得只把所有源码统一改为 Java 8 来宣称兼容。
Target platform / 目标平台
Cross-platform / 跨平台
Area / 模块
Language support / 语言服务
Priority / 优先级
P1 / 尽快处理:使用体验大幅下降,但通常仍可继续使用
Alternatives considered / 已考虑的替代方案
保留明确的编译失败和插件日志,外部构建可用但当前 Run/Debug 不完整。重写插件外壳本身不会自动修复上游项目模型差异,需要先验证成熟连接器或上游修复的成本。
Additional context / 补充信息
2026-11-13 本地稳定性矩阵发现;当前仅 macOS 实测,Windows 是待覆盖目标,并未声称已复现。JDT 1.63 与配套 Java 25 的隔离试验尚未提供这些项目的修复证据,不作为已解决方案。客户端 TestJavaPluginHistoricalProject 可输入固定源码和 API 验证表达式;原始下载源码只读,测试工作区与安装目录分离。
Checklist / 提交前检查
- I searched existing issues for duplicates. / 我已搜索现有 Issue,确认没有重复建议。
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 151
- Avg merge
- 3h 48m
- Merged PRs (30d)
- 571
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from 1lck/Lithe-IDEA
-
review: medium
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
1lck/Lithe-IDEA#2432 ·
Maintainers usually reply within 1 day
-
review: medium
Difficulty 1/5 Under an hour Newbie friendliness 82/100
1lck/Lithe-IDEA#2431 ·
Maintainers usually reply within 1 day
-
refactor review: high
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
1lck/Lithe-IDEA#2376 ·
Maintainers usually reply within 1 day
-
area:ui enhancement P2 platform:cross-platform refactor review: high
Difficulty 1/5 Under an hour Newbie friendliness 84/100
1lck/Lithe-IDEA#2365 ·
Maintainers usually reply within 1 day
-
review: medium
Difficulty 3/5 1-2 days Newbie friendliness 57/100
1lck/Lithe-IDEA#2434 ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
rel: fix
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Deltares/fews-web-oc#2400 ·
Maintainers usually reply within 1 day
-
Command bar: Tab-to-search on claude.ai falls back to Google site: search instead of opening a prompt on ClaudePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ardia-browser/ardia#4426 ·
Maintainers usually reply within 1 day
-
Bug report: isValidISODateDashOnly accepts text before or after the date-timePossibly taken @bardrop claimed this today. Open
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
pnp/cli-microsoft365#7713 ·
Maintainers usually reply within 1 day
-
Diagram: Journey Type: Bug / Error
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
mermaid-js/mermaid-v13#1293 ·
Maintainers usually reply within 1 day