What I Wish I Knew About Maven Years Ago
summary
Covers concrete Maven features and gotchas: how to override plugin parameters on the command line and invoke any plugin without editing the POM by supplying GAV and goal, the difference in dependency resolution between direct and transitive dependencies (first transitive match wins), and using dependencyManagement / BOM import to force versions. Shows reactor tricks: -pl and -am to build subsets, why avoid maven clean/install to keep incremental builds, and using the Enforcer plugin to fail on conflicting versions.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker background
- 4:03First impressions of Maven
- 6:06Maven vs Gradle comparison
- 11:39Overriding project properties in Maven
- 16:34Invoking plugins on the fly
- 21:58Dependency resolution explained
- 35:20Maven clean and install best practices
- 39:58Building reactor subsets
- 50:40Aggregating POMs without parent
- 54:55BOM files and dependency management
- 1:00:34Q&A and resources
