Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[MPLUGIN-522] The auto prerequisites are way too aggressive

未关闭
#825 12 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
java

调研方向

先阅读 MPLUGIN-425 和 MPLUGIN-424 中描述的行为,然后检查 Pull Request #282 以及相关的 MPLUGIN-523 和 MNG-7566 issue。确认当前如何推断前置条件值,以及该变更是否在不强制要求未满足的前置条件的情况下保留 opt-in 行为和向后兼容性。

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

描述

bug

Tamas Cservenak opened MPLUGIN-522 and commented

IMHO the implementation done in MPLUGIN-425 and MPLUGIN-424 are wrong.

They are way too aggresive and violate backward compatibility: if new feature is not explicitly set by user, code should not "come up" with some automatic value. By having the value not set simply means user does not want to use it.

This is especially true for (maven or java) prerequisite, as it creates HARD BREAKAGE if not met. Use of prerequisite is opt-in, but now it is FORCED onto user.

Konrad Windszus 


Issue Links:

  • MPLUGIN-523 Split Maven3 and Maven4 support
    ("is blocked by")
  • MNG-7566 Allow a Maven plugin to require a Java version through its plugin descriptor
    ("is caused by")
  • MPLUGIN-425 Plugin descriptor should contain the requiredJavaVersion/requiredMavenVersion
    ("is caused by")

Remote Links:

主要语言
Java
星标
63
派生
78
平均合并
1 天 8 小时
30 天内合并 PR
19

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

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

apache/maven-plugin-tools 的其他 Issue

查看 apache/maven-plugin-tools 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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