🧪 Skills

Maven Full Runner

Run Maven commands with full argument passthrough, optionally specifying the working directory, using a Node.js wrapper for safer execution.

v1.1.0
❤️ 0
⬇️ 198
👁 1
Share

Description

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 <path>: 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.

Reviews (0)

Sign in to write a review.

No reviews yet. Be the first to review!

Comments (0)

Sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Compatible Platforms

Pricing

Free

Related Configs