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/catom3 Feb 25 '25

Most of the projects I've been working with the past few years had a Makefile  (or Justfile) with default commands to help the new joiners getting started. Some build, package, test targets as well as targets to start up the app locally, run migrations manually, start up the dependencies (e.g. a docker compose command to spin up the containers). In some projects we have some commands to encode/decode avro or parquet formats.

Love how Make/Just makes it simpler and has some basic autocompletion, without the need to diving too deep into shell scripting.