What I Wish I Knew About Maven Years Ago
summary
Maven 3 still surprises: command-line properties override pom values and a Maven wrapper can pin the exact Maven executable; any plugin can be run by full GAV and Maven will download it on first use. Dependency rules matter: direct dependencies: last wins while transitive dependencies: nearest wins, so use dependencyManagement or the Enforcer plugin to force versions. Use -pl with -am for partial reactor builds, prefer mvn verify over clean install, configure exec plugin in the parent to run a subproject’s main, and import BOMs with scope=import type=pom. Quiz: 505 people, only 7 got all answers right.
AI-written summary · about
chapters (11)
- 0:00Start
- 23:12Semantic Versioning?
- 26:31maven-enforcer-plugin
- 28:53Surviving Dependency Hell with Maven
- 29:38OF MAVEN CLUB IS
- 32:01Broken Buildtools and Bad Behaviors; The Maven Story by Robert Scholte
- 42:50Aggregating POMS
- 43:20File Structure & POM
- 46:19BOM Definition
- 47:04BOM Consumption
- 48:47Resources








