Add a vfox plugin for Apache Maven Daemon (mvnd)

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

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
50/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
停滞
领域
tooling

调研方向

Start by reading the existing maven plugin in version-fox/vfox-maven (referenced via #3) and its search, install and EnvKeys flow, then compare the release layout at https://downloads.apache.org/maven/mvnd/ for maven-mvnd-<version>-<os>-<arch>.tar.gz and checksum sidecars. Implement the mvnd plugin so vfox search mvnd lists 1.0.6 and 2.0.0-rc-3 stable-first, while vfox install [email protected] selects the current platform archive, verifies it and adds bin to PATH.

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

描述

enhancement help wanted

Please add a vfox plugin for Apache Maven Daemon (mvnd), so that vfox install mvnd@<version> works. Suggested plugin name: mvnd.

This was first requested in version-fox/vfox-maven#3, which proposed either mvnd support in the maven plugin or a new plugin. A new plugin fits better:

  • Different artifacts. mvnd is a separate distribution. Its archives are per platform (maven-mvnd-<version>-<os>-<arch>.tar.gz, with .zip for Windows). The maven plugin installs one platform-independent Maven archive.
  • Different version lines. The current release is 1.0.6, based on Maven 3.9.16. The preview is 2.0.0-rc-3, based on Maven 4.0.x. Listing them next to Maven releases would make [email protected] read as a Maven version.
  • Self-contained. mvnd embeds Maven core, so it does not need the maven plugin.

Where the releases are published (checked on 2026-11-15):

Expected behaviour, as the maven plugin does it:

  • vfox search mvnd lists the releases, stable first, newest first.
  • vfox install mvnd@<version> picks the archive for the current OS and architecture, and checks it against the published checksum.
  • EnvKeys puts the bin directory on PATH, so mvnd runs.

Other version managers already treat mvnd as its own tool: mise maps mvnd to aqua:apache/maven-mvnd and asdf:joschi/asdf-mvnd.

主要语言
Python
星标
32
派生
21
平均合并
4 小时 55 分钟
30 天内合并 PR
3

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

version-fox/vfox-plugins 的其他 Issue

查看 version-fox/vfox-plugins 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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