Maven Puzzlers
Talkat JCON Europe 2023 · on Thursday, 2023-06-22· at 14:00· Cinema 9, Im Mediapark 1, 50670 Köln, Germany·
summary
Demonstrates exact Maven rules: direct dependency always wins (position irrelevant), but when two transitive versions tie the first discovered wins, so resolution is transitive first, direct last; BOM imports only dependencyManagement entries (no dependency blocks), parent/child dependencyManagement lets child override parent, and Maven 3 warns on duplicate deps while Maven 4 errors. Recommends tooling: enforcer plugin to fail builds early, prefer mvn verify over mvn install, and use Maven Wrapper, Maven Daemon or SDKMAN to pin reproducible environments.
AI-written summary · about
chapters (10)
- 0:00Introduction to Maven Puzzlers
- 1:46Why Maven matters today
- 5:15Maven lifecycle and verify vs install
- 8:04Dependency resolution challenges
- 15:37First interactive quiz round
- 20:51Maven Enforcer plugin explained
- 25:08Dependency management block rules
- 32:36Multi-project builds and parent POMs
- 39:37Bill of Materials (BOM) files
- 47:16Key takeaways and closing
related talks
54mWhat I Wish I Knew About Maven Years Ago
16mMaven - Taming the Beast
42mGetting more out of Maven
46mPainless Organisation and Maintenance of Maven Builds
46mNavigating the Dependency Management Maze
42mApache Maven Survival Guide “Bring It On! -Mode”
33mBroken Buildtools and Bad Behaviors; The Maven Story
48mWhat's Cooking in Maven?
