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:
@@ -0,0 +1,14 @@
|
||||
# maven4-build-vs-consumer-pom
|
||||
|
||||
Companion to the ankurm.com post on Maven 4. Tested against **Maven 4.0.0-rc-7** (a release candidate, not GA as of 2026-11-26), JDK 25, Maven 3.9.16 and mvnd 2.0.0-rc-3.
|
||||
|
||||
| Directory | Purpose |
|
||||
|---|---|
|
||||
| `reactor/` | Model 4.1.0 multi-project build: `<subprojects>`, inferred `<parent/>`, `bom` packaging, `<sources>`, `${revision}` |
|
||||
| `m3-consumer/` | Plain Maven 3 project (model 4.0.0) that consumes what the reactor publishes |
|
||||
| `lifecycle/` | antrun echo tasks bound to `before:`/`after:` phases |
|
||||
| `legacy-m3/` | Maven 3 style project used to try `mvnup`, `-fos WARN` and default plugin versions |
|
||||
| `output/` | Captured real output, one file per scenario |
|
||||
| `scripts/run-all.sh` | Regenerates every file in `output/` (see `scripts/env.sh` for tool locations) |
|
||||
|
||||
Run: unpack the three Maven tarballs and a JDK 25, set `TOOLS` and `JAVA_HOME`, then `scripts/run-all.sh`.
|
||||
Reference in New Issue
Block a user