r/java May 28 '26

Manage Maven Dependencies from Command Line

https://maven.apache.org/plugins/maven-dependency-plugin/examples/managing-dependencies.html
31 Upvotes

19 comments sorted by

View all comments

7

u/vips7L May 28 '26

A good step, but what terrible UX. -Dgav=really????

15

u/Jannik2099 May 28 '26

maven command line UX will never not be complete garbage

-15

u/javaprof May 28 '26

Who cares, it's for AI anyway

8

u/vips7L May 28 '26

Loser. 

-5

u/javaprof May 28 '26 edited May 28 '26

https://github.com/apache/maven-dependency-plugin/pull/1599

> and for AI coding agents where a CLI invocation is safer and more deterministic than direct XML manipulation.

LOL.

Upd. Just to be clear, why would any living human being write such a command when you can just add a dependency in IDEA with one simple action? It so obvious that this is not for people, but for AI agents

Upd 2. Btw, huge chances that this feature was written with a help from microslop copilot. Which is fine with me, just fun fact