This is a utility for developers who prefer searching maven dependencies in the command line instead of the web UI of search.maven.org
Prerequisite: node 10.9.0
or newer should be installed.
npm install -g @erosb/mvn-search
This will list the found artifacts with their latest version numbers. After selecting the coordinates the tool displays
the maven <dependency>
tag to be pasted into the pom.xml
.
mvn-search hibernate-validator
mvn-search g:org.slf4j