Java Maven WildFly helper CLI for building Maven modules and deploying artifacts to WildFly.
- Node.js 20+
- Maven
- Access to the target WildFly installation(s)
npm installCurrent workflow is preserved:
npm run buildbuildsdist/jmwnpm run installcopiesdist/jmwto~/.bio/bin/
npm run devConfiguration is now fully source-owned.
- The config lives in
src/config.js - It is bundled into the CLI at build time
- To change configuration, edit
src/config.jsand rebuild
There is no external runtime config lookup anymore.
The codebase is split into focused ESM modules:
src/cli.js- CLI wiringsrc/commands/- command handlerssrc/project/- project and module detectionsrc/build/- build planning, execution, artifacts, restart analysissrc/deploy/- deployment planning, execution, remote command generationsrc/lifecycle/- lifecycle stages and handlerssrc/config.js- bundled configuration
The tool now emits explicit lifecycle stages for maintainability:
pre-build/post-buildartifact-found/artifact-missingrestart-required/restart-recommended/restart-not-required/restart-unknownpre-deploy/post-deployremote-command-generated
Handlers can react based on target context such as project, packaging, WildFly mode, and whether a module is global.
jmw build
jmw build TEST --client metro
jmw deploy ./target/myapp.war
jmw clients