2 ms·
And I've worked on large Java projects. Things that have like 420+ dependencies (spring boot + some other requirements). I timed the maven clean compile. And i
by Ygg2 5y ago
And I've worked on large Java projects.
Things that have like 420+ dependencies (spring boot + some other requirements). I timed the maven clean compile. And it takes around 2min.
- brabel 5y agoMaven is very slow. Gradle and Bazel avoid doing wasteful things like Maven does so generally are a lot faster... if you want to know the speed of compiling Java you should just run `javac`, assuming Maven speed is Java compilation speed is far from correct even if a lot of projects still use Maven to build Java projects.
- lenkite 5y agoUse Maven Daemon. (https://github.com/apache/maven-mvnd https://github.com/apache/maven-mvnd) . With Maven Daemon, traditional maven builds get a spectacular boost factor that put them ahead of Gradle. (Haven't tried Bazel though)