On an adventure into the depths of Maven
summary
Explains what `mvn clean install` actually executes: creation of the effective POM via mvn help:effective-pom, inheritance from super/parent/aggregator/BOM files, and how dependency resolution picks versions with nearest-wins (direct dependency beats parent/dependencyManagement; transitive ties use first in dependency tree; duplicate direct declarations last-one-wins in merge). Demonstrates commands: `mvn dependency:tree`, enforcer plugin rules, and lifecycle effects (clean → default phases → install/deploy) showing an artifact pushed to the local repository.
AI-written summary · about
chapters (13)
- 0:00Introduction and welcome
- 1:51Speaker introduction
- 3:15Maven adventure setup
- 4:42POM file types overview
- 14:16Effective POM explained
- 17:25Maze of dependencies
- 22:47Dependency tree and conflicts
- 29:56Maven Enforcer Plugin
- 32:07Dependency resolution challenge
- 36:48Maven lifecycle basics
- 41:07Maven commands explained
- 45:09Lifecycle challenge
- 48:06Conclusion and Q&A
