The (Unknown) Nifty Details of Maven Plugin Configuration
Talkat JCON Europe 2023 · on Wednesday, 2023-06-21· at 11:00· Cinema 9, Im Mediapark 1, 50670 Köln, Germany·
summary
Shows how to make Maven plugin configuration reproducible and concise by moving repeated CLI flags into plugin or execution blocks, with a live demo using versions-maven-plugin to run display-dependency-updates, using -N/non-recursive to avoid module recursion and the Maven 3.3.1 @execution-id syntax to pick non-default executions. Covers global vs per-execution config, refactoring into plugin-level defaults, controlling inheritance with combine.self=override and inherited="false", and chaining via properties (build-helper) — examples run and work.
AI-written summary · about
chapters (10)
- 0:00Introduction and speaker intro
- 2:09Setting up the demo project
- 7:05Displaying dependency updates with versions plugin
- 12:05Configuring default CLI execution
- 17:23Refactoring plugin configurations
- 24:04Simplifying command line with configurations
- 27:40Lifecycle-bound plugin configuration
- 33:21Overriding plugin configurations in children
- 37:17Controlling plugin inheritance
- 38:43Q&A and closing remarks








