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,11 @@
$ mvn -fos WARN package (Maven 4: fail the build on any WARN)
[INFO] Enabled to break the build on log level WARN.
[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] Reactor Summary for legacy-parent 1.0.0-SNAPSHOT:
[INFO] legacy-parent ...................................... SUCCESS [ x.xxx s]
[INFO] legacy-core ........................................ SUCCESS [ x.xxx s]
[ERROR] BUILD FAILURE
[ERROR] Build failed due to log statements with a higher severity than allowed. Fix the logged issues or remove flag --fail-on-severity (-fos).
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the '-e' switch
[ERROR] Re-run Maven using the '-X' switch to enable verbose output