~/talk

Speed Up Your Maven Build x10… Before You Move to Gradle

Talkat Voxxed Days Amsterdam 2025 · on Thursday, 2025-04-03· [developer-experience]
links:none on file
slides:none on file

Claim: Maven builds can be sped up by around tenfold by combining small and deep changes rather than migrating immediately to Gradle. Concrete interventions include switching JDK/vendor (40%+ gains), adopting Kotlin K2 (big compile wins), enabling parallel reactor carefully and using Apache Build Cache or Develocity-style build scans (observed 2x compilation boost, remote cache for CI), and extract code generation to jar to avoid rebuilds. A Gradle prototype needs +10 GB RAM and huge caches, so optimizing Maven first often pays off.

AI-written summary · about

  1. 0:00Introduction and disclaimer
  2. 0:27Maven vs Gradle overview
  3. 2:37JDK and CPU architecture optimizations
  4. 3:39Updating JDK and compiler choices
  5. 4:21Kotlin K2 compiler benefits
  6. 6:11Maven build caching solutions
  7. 7:35Build scans for performance insights
  8. 9:25Parallel builds in Maven
  9. 11:11Maven Daemon and bottlenecks
  10. 12:36Maven reactor parallelization limits
  11. 14:49Customizing Maven reactor behavior
  12. 15:55Gradle vs Maven parallelism
  13. 16:37Removing redundant dependencies
  14. 17:19Splitting modules for efficiency
  15. 18:23Extracting API modules
  16. 19:26Source code generation strategies
  17. 20:51Log output and artifact optimization
  18. 21:56Test jar dependencies issues
  19. 22:40CI/CD pipeline separation
  20. 23:41Maven profiles for efficiency
  21. 24:24Persistent build agents
  22. 25:05IntelliJ parallel compilation
  23. 25:48Memory management for builds
  24. 26:32Gradle migration considerations
  25. 27:38Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.