Add maven4-build-vs-consumer-pom: Maven 4.0.0-rc-7 build POM vs consumer POM, lifecycle hooks, mvnup, mvnd

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b4XrpfdpsacrvqnrBM
This commit is contained in:
Ankur Mhatre
2026-11-26 21:03:12 +05:30
co-authored by Claude Sonnet 5.5
commit f32c088174
38 changed files with 1491 additions and 0 deletions
@@ -0,0 +1,24 @@
$ mvnd --version
Apache Maven Daemon (mvnd) 2.0.0-rc-3 linux-amd64 native client (f912362c18c9a75faf3e31a4e0e0b921206013b9)
Apache Maven 4.0.0-rc-3 (3952d00ce65df6753b63a51e86b1f626c55a8df2)
Maven home: <mvnd>/mvn
Java version: 25.0.5.1, vendor: Eclipse Adoptium, runtime: <jdk>
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "6.18.44-fc-v880", arch: "amd64", family: "unix"
$ mvnd -o -DskipTests install (daemon starting)
[INFO] Average project wall time: 1.00s
[INFO] BUILD SUCCESS
wall: 11.646 s
$ mvnd -o -DskipTests install (daemon already running)
[INFO] Average project wall time: 0.75s
[INFO] BUILD SUCCESS
wall: 3.625 s
Stopping 2 running daemons
$ mvn -o -DskipTests install (plain Maven 4.0.0-rc-7, new JVM each time)
[INFO] BUILD SUCCESS
wall: 8.670 s
[INFO] BUILD SUCCESS
wall: 13.017 s