2 ms·
I don't think that Java would be different if one would want to replicate all features that author felt necessary. I'll speak for Maven as it's the most popula
by vbezhenar 4y ago
I don't think that Java would be different if one would want to replicate all features that author felt necessary.
I'll speak for Maven as it's the most popular build tool and most straightforward. With gradle it would be worse.
To build two configurations you ideally want at least two modules. So multi-module projects. Weak point for maven. Doable, but with lots of quirks.
Last time I checked, to publish Java library, you would need to GPG sign it. This fact alone is a serious stuff. Pushing library to internal repository is easier.
Tooling in maven is terrible. Plugins are archaic, some of those seen last commits 10 years ago. I don't even know which tools to autoformat Java code are popular nowadays. I think that most people just use their Idea to format before commit with shared style or something like that. I think it's good enough.
Github bot to update dependencies and deploying demo site - I don't know, never did that, but I couldn't imagine it being easier with Java either.
So Java tooling has its share of quirks.
Most sane tooling I ever saw was for go, as long as you're ready to adjust your expectations and requirements to happy path.
What's unique for node is huge numbers of tooling attempts. Java has Ant, Maven, Gradle. I don't think I've ever heard about anything else. Bazel may be. Well, may be Makefiles for some old beards. JavaScript guys just can't stop trying to invent new tools. And this fragments ecosystem and user base. I don't know why is that. I've never heard of alternative Rust build system, for example.
- Zardoz84 4y agoYou know that maven have profiles that are tool to use when you need different configurations, not ?
- kaba0 4y ago> So multi-module projects. Weak point for maven But not for gradle. > Last time I checked, to publish Java library, you would need to GPG sign it. This fact alone is a serious stuff Why is it a problem? This is partly the reason why the Java ecosystem wasn’t hit by all the malicious package fiasco. > Github bot to update dependencies and deploying demo site Never felt a need for this, but contrary to your misrepresentation, even maven plugins have a healthy ecosystem and being part of the 3rd biggest language, I would be honestly surprised if no such plugin would exist.