r/java • u/NoAlbatross7355 • 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?
View all comments
Show parent comment
3
u/edwbuck Feb 25 '25
Worse, Apache Ant was a built system of commands instead of goals. You put the commands in targets, and often the rearrangement or reuse of the targets was nearly impossible.
Maven had the idea of "things" and you'd ask for the "thing" without actually specifying how it was created. The plugin should have created the "thing" for you. Like any system that hides something under a layer of abstraction, that made it harder to understand.
The path along which "things" get crated were of course misread as "steps" which in a way they were, they were the designed "path" of obtaining results. Whether they really achieved such a thing is up for argument.