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,25 @@
$ mvn package (Maven 4, after mvnup apply --all)
[INFO] ------------------------------------------------------------------------
[INFO] ------------------< com.ankurm.legacy:legacy-parent >-------------------
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] -------------------< com.ankurm.legacy:legacy-core >--------------------
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] Version not locked for default bindings plugins [maven-resources-plugin, maven-compiler-plugin, maven-surefire-plugin, maven-jar-plugin], you should define versions in pluginManagement section of your pom.xml or parent
[INFO] --- resources:3.5.0:resources (default-resources) @ legacy-core ---
[INFO] --- compiler:3.16.0:compile (default-compile) @ legacy-core ---
[INFO] Compiling 1 source file with javac [debug target 1.8] to target/classes
[WARNING] bootstrap class path is not set in conjunction with -source 8
not setting the bootstrap class path may lead to class files that cannot run on JDK 8
--release 8 is recommended instead of -source 8 -target 1.8 because it sets the bootstrap class path automatically
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO] --- resources:3.5.0:testResources (default-testResources) @ legacy-core ---
[INFO] --- compiler:3.16.0:testCompile (default-testCompile) @ legacy-core ---
[INFO] --- surefire:3.6.0:test (default-test) @ legacy-core ---
[INFO] --- jar:3.5.1:jar (default-jar) @ legacy-core ---
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------