~/talk

What I Wish I Knew About Maven Years Ago

Talkat JCON-ONLINE 2021 · 2021-10-05..10-08· [java, developer-experience]
slides:none on file

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

  1. 0:00Start
  2. 23:12Semantic Versioning?
  3. 26:31maven-enforcer-plugin
  4. 28:53Surviving Dependency Hell with Maven
  5. 29:38OF MAVEN CLUB IS
  6. 32:01Broken Buildtools and Bad Behaviors; The Maven Story by Robert Scholte
  7. 42:50Aggregating POMS
  8. 43:20File Structure & POM
  9. 46:19BOM Definition
  10. 47:04BOM Consumption
  11. 48:47Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.