Commit de91c68
[GH-11772] Fix remaining CI failures: scope validation to POM packaging only
- Restrict consumer POM model version validation to POM-packaged
projects only. Non-POM projects (jar, war, etc.) are consumed as
dependencies where Maven 3 ignores unknown elements, so a higher
model version is acceptable.
- Restore original expected error message in MavenITgh11456 mixin test
to match the restored mixin-specific check.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e445b49 commit de91c68
2 files changed
Lines changed: 8 additions & 5 deletions
File tree
- impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl
- its/core-it-suite/src/test/java/org/apache/maven/it
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
152 | 155 | | |
153 | 156 | | |
154 | 157 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments