← 返回
开发者工具 中文

Maven Full Runner

Run Maven commands with full argument passthrough, optionally specifying the working directory, using a Node.js wrapper for safer execution.
使用 Node.js 包装器安全执行 Maven 命令,支持完整参数传递,可选指定工作目录。
yuanyongm
开发者工具 clawhub v1.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 619
下载
💾 19
安装
1
版本
#latest

概述

Maven Build Skill

Run Maven with full passthrough support for all Maven capabilities.

Usage

node {baseDir}/scripts/mvn.mjs --dir "/path/to/project" -- clean test -DskipTests
node {baseDir}/scripts/mvn.mjs --dir "/path/to/project" -- package -Pprod -T 1C
node {baseDir}/scripts/mvn.mjs --dir "/path/to/project" -- help:effective-pom
node {baseDir}/scripts/mvn.mjs -- -v
node {baseDir}/scripts/mvn.mjs -- --version

Options

  • --dir : optional working directory for Maven
  • --: optional separator; arguments after it are passed to mvn unchanged
  • All non-wrapper args are passed directly to Maven

Wrapper help

node {baseDir}/scripts/mvn.mjs --help-skill

Notes

  • Requires node and mvn binaries in PATH.
  • The wrapper itself only parses --dir; everything else is forwarded as-is.
  • Uses process spawn with shell: false for safer execution.

版本历史

共 1 个版本

  • v1.1.0 当前
    2026-03-30 00:21 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,502
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,920
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,450