🧪 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
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 tomvnunchanged- All non-wrapper args are passed directly to Maven
Wrapper help
node {baseDir}/scripts/mvn.mjs --help-skill
Notes
- Requires
nodeandmvnbinaries in PATH. - The wrapper itself only parses
--dir; everything else is forwarded as-is. - Uses process spawn with
shell: falsefor safer execution.
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!