redhat-developer / redhat-developer/vscode-java

When projects are built from maven tab, compilation results are not reflected in JAVA problems tab

未关闭
#4,117 19 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

compile
主要语言
TypeScript
星标
2.3k
派生
547
平均合并
20 小时 1 分钟
30 天内合并 PR
11

描述

My project is composed by the following:

  • java, maven, spring boot
  • one main directory with several maven modules

Currently my settings are:

  "maven.executable.options": "-am",
  "java.configuration.updateBuildConfiguration": "automatic",
  "java.import.maven.enabled": true,
  "java.dependency.packagePresentation": "hierarchical",
  "java.dependency.syncWithFolderExplorer": true,
  "java.autobuild.enabled": false,
  "java.debug.settings.onBuildFailureProceed": true,

Since i disabled the java autobuild (following a suggestion from #4100 ), i build my project using maven (using the maven tab)

Image

When i build, i can see i can see the maven build logs in the terminal tab, but that outcome is not reflected in the problems tab.

Image

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

使用列出的设置从 Maven 选项卡复现该问题,尤其是将 java.autobuild.enabled 设置为 false,并将 Maven 终端输出与 Problems 选项卡进行比较。跟踪 Maven 构建入口点和诊断报告路径。当 Maven 构建中的编译失败能够反映到多模块项目的 Problems 选项卡中时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
build-system, devtools
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。