node-maven is a CLI tool for helping you escape from search-copy-paste, when you wanna compile a maven central library.
Based on Maven Central API
First of all, you are required to have a Node.js environment.
$ npm install node-maven -g
$ maven search <keyword>
Then you will get a list of search results.
Enter to copy the maven library url (the latest version) to clipboard.
Backspace to get out of list.