All you need to know about Maven 4!
summary
Maven 4 requires Java 17 to run while still compiling older target JDKs, and removes the old Plexus resolver; the plugin API is redesigned so unmaintained custom plugins can break. It introduces a generated consumer POM (model 4.0) and optional build POM (4.1), adds automatic versioning for parent and inter-module dependencies, uses a project-local repository to avoid polluting ~/.m2, improves reactor ordering and lifecycle with before/after phases, and supports alternate syntaxes via an SPI extension.
AI-written summary · about
chapters (9)
- 0:00Introduction and motivation
- 3:06Maven evolution
- 9:01Major breaking changes
- 12:27POM and build syntax updates
- 19:27User experience improvements
- 24:26Build project configuration
- 31:16Lifecycle and profile changes
- 35:26Migration and wrap-up
- 38:45Q&A session
related talks
49mThe Current State of Apache Maven 4 - Development
02h 27mWait no more, here comes Maven 4!
51mMaven 4: New foundations for a classic structure
58mThe Current State of Apache Maven 4
50mApache #Maven 4 is Awesome
45mWhat's cooking in Maven?
54mWhat I Wish I Knew About Maven Years Ago
42mApache Maven Survival Guide “Bring It On! -Mode”
