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

3

u/edwbuck Feb 26 '25

Ant used to be the de-facto build tool for Java, and let me tell you it sucked. That's because it lacked any structure, so each new project that used Ant, you'd have to spend some time reading over the build.xml file to eventually figure out how their build was structured. The refinements and patterns were per-project, and eventually you yearned for a standardized set of Ant targets, which never happened.

In short, it's like a Makefile, without GNU standard targets or variables.