~/talk

Maven Marvels: Project Generation at Warp Speed

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [java, developer-experience]
links:none on file
slides:none on file

Shows how the Maven Archetype plugin generates ready projects and modules: demo creates a compilable Maven app, then a partial archetype that injects a repository and model into an existing codebase and merges dependencies. Uses the Velocity templating engine for property interpolation and filename rewriting, runs archetype integration tests that generate a project and compare it to a reference, and warns of pitfalls: create-from-project quirks, a packaging-directory bug, and current incompatibility with Maven 4.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:05Project creation pain points
  3. 3:15Meet the Maven archetype plugin
  4. 4:18Demo of Maven archetype generate
  5. 6:28What is an archetype
  6. 8:17Archetype catalogs explained
  7. 9:43Archetype structure deep dive
  8. 14:00Alternatives to create archetypes
  9. 15:25Partial archetypes for modules
  10. 18:36Velocity templating engine basics
  11. 20:01Advanced velocity templating
  12. 23:33More templating possibilities
  13. 24:19Fixing .gitignore in archetypes
  14. 25:42Lifecycle management for archetypes
  15. 26:47Testing archetypes with integration tests
  16. 28:36Integration test demo
  17. 31:43Adopting archetypes in teams
  18. 33:50Pros and cons of archetypes
  19. 37:47IDE support and community
  20. 38:07Should you use archetypes
~/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.