Dump a Maven POM file as JSON so that it can be more easily read by a human.
Don't you hate reading POM files? They're mostly XML noise, and all you want to do is understand the build process and get back to work. Well, if you simply convert it to well-formatted JSON, it's actually pretty easy to understand!
-
Check for dependencies and install NPM module
./setup.sh
-
Copy your pom.xml to the current working directory
cp /path/to/my/pom.xml .
-
Run the parser
./pom-to-json
This tool is nothing but a wrapper around node-pom-parser and jq.