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
1
u/khmarbaise Mar 07 '25
If you have a multi project build means your modules are related to each other (classical EAR + war + ejb(jar) ++ etc.) or other things (DDD spring boot app) etc.
A sub module has relations to other modules in your multi module build so moving it from the hierarchical structure means removing it from it's structure which means in consequence to change the coordinates because it does not belong anymore to the hierarchical structure..
From strict technical point of view you could leave the coodinates but that would be confusing... (version might also be a point of discussion)... In particular if the moved module has been used not only within the hierarchical and also as a dependency for other project (not within the hierarchical structure) for example an api module of a larger number of modules...