A modern CLI tool that simplifies managing Maven dependencies for Spring Boot and Java developers — no more manual pom.xml edits!
Inspired by the simplicity of npm install <package>, mvntool brings a seamless, scriptable experience for:
- 🔍 Searching for Maven packages
- 📦 Installing dependencies directly into your
pom.xml - 🔄 Updating existing dependencies
ezyZip.mp4
- Clean and intuitive CLI powered by picocli
- Works with any Maven-based Java/Spring Boot project
- Supports
install,search, andupdatecommands - Automatically modifies your
pom.xml - Cross-platform support (macOS, Linux, Windows)
Install via shell script:
curl -sSL https://raw.githubusercontent.com/JASIM0021/mvntool/refs/heads/main/install.sh | bashMake sure ~/.local/bin is in your PATH. Restart your terminal or run:
export PATH="$PATH:$HOME/.local/bin"Run this in PowerShell:
irm https://raw.githubusercontent.com/JASIM0021/mvntool/refs/heads/main/install.ps1 | iexmvntool install spring-boot-starter-web
mvntool search kafka
mvntool update spring-boot-starter-data-jpaNeed help?
mvntool --help| Command | Description |
|---|---|
install |
Adds a Maven package to your pom.xml |
search |
Searches Maven Central for dependencies |
update |
Updates version of a specified dependency |
We welcome contributions!
- Fork the repository.
- Clone your fork:
git clone https://github.com/your-username/mvntool.git cd mvntool - Build and test locally:
mvn clean package java -jar ./target/mvntool-1.0.0.jar install spring-boot
src/main/java/org/mvntool/cli/— Main CLI logiccommands/—InstallCommand,SearchCommand,UpdateCommand
Update the version in:
install.shdownload URLREADME.mdcommands (optional)
MIT License © Jasim Uddin
Inspired by developer productivity tools like:
npm(Node.js)brew(Homebrew)cargo(Rust)
Found an issue? Have a feature request? Open an issue or drop a ⭐ if you like the tool!