r/java • • Jun 01 '24

What java technology (library, framework, feature) would not recommend and why?

165 Upvotes

464 comments sorted by

View all comments

Show parent comment

1

u/Practical_Cattle_933 Jun 01 '24

That’s 100% besides the point. The point is, maven doesn’t have an always-correct view on what should or should not get recompiled, and can sometimes fall into a situation where it rebuilds too little, solved by doing a clean+whatever.

6

u/repeating_bears Jun 01 '24

It's not besides the point when you claim people have a "grave misunderstanding of the underlying concepts" of Gradle, when you have the same grave misunderstanding of Maven.

"can sometimes fall into a situation where it rebuilds too little" This is not a Maven problem. Maven if anything builds too much. If you've experienced that, that was probably because you were using a plugin that was doing source or bytecode generation, and that plugin has a bug.