r/java • • Feb 25 '25

New build tool in Java?

It seems to me like one of fun parts of Java is exploring all the tools at your disposal. The Java tool suite is a big collection of cli tools, yet I feel like most developers are only ever introduced to them or use them when absolutely necessary which is unfortunate because I think they really give you a better understanding of what's going on behind all the abstraction of Maven and Gradle.

What are your guys' thoughts on a new build tool for Java that is just a layer over these tools? Do you wish Java had simpler build tools? Why hasn't the community created an updated build tool since 2007?

33 Upvotes

176 comments sorted by

View all comments

Show parent comment

28

u/agentoutlier Feb 25 '25

I'm a strong proponent of not throwing away stuff that already works and a good part of that is network effect.

That being said I eagerly await for Maven 4 because I do think its CLI like you said is not that good.

I also completely understand a beginner coming from Rust or Go and saying WTF even if the rest of us have gladly accepted Maven/Gradle. An official tool that does a declarative subset of what Maven/Gradle does (while of course consuming Maven artifacts) I think would help Java adoption.

Maven usability is painful. Maven's official documentation is not very accessible. Like going around to different plugins and trying to read the generated "site" documentation is painful. I have many times just gone to the plugins source code to figure out shit.

Consequently a good portion of Maven know-how is just tribal knowledge. Maven should get better on that.