4 ms·
Really? I've recently been recruited to pitch in on a Java project, they're using maven, and the compiles sure aren't incremental. What should we be using inst
by dilap 9y ago
Really? I've recently been recruited to pitch in on a Java project, they're using maven, and the compiles sure aren't incremental.
What should we be using instead?
- therealdrag0 9y agoEclipse or IntelliJ IDEs will compile while you code (like C#). Depends on the project setup and dependencies. But I've found that this works for most development until I need to produce an artifact. Then I run maven which does a lot more than just compile code and usually is longer than 40s.
- dilap 9y agoYeah, having to run a whole IDE just to get incremental compilation is pretty annoying tho. Perhaps I should just bite the Java bullet and try to use IntelliJ.
- christophilus 9y agoGradle? https://gradle.org/gradle-vs-maven-performance/ https://gradle.org/gradle-vs-maven-performance/
- peoplewindow 9y agoYou don't normally use Maven to compile every change when doing Java projects. Your IDE will incrementally compile what's needed based on importing the Maven config. You use Maven for tasks like packaging, linting, building JavaDocs etc.