Commit 735fd50
authored
Bug: bad cache isolation between two sessions (#11083)
Port of Maven 3 bugfix to Maven 4 (deprecatd)
`maven-embedder` module. Maven 4 by default is
**not affected**, but this PR aligns Maven 3
and deprecated module in Maven 4.
The "early" session used to load extension will populate
cache in MavenExecutionRequest and same cache is later
reused in "normal" session as well.
This is wrong, as if project uses same parent POM as any
of loaded extnsions, data loss in form of lost input
locations occurs.
Fixes #110811 parent 1f1b3ed commit 735fd50
File tree
1 file changed
+1
-0
lines changed- compat/maven-embedder/src/main/java/org/apache/maven/cli
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
964 | 964 | | |
965 | 965 | | |
966 | 966 | | |
| 967 | + | |
967 | 968 | | |
968 | 969 | | |
969 | 970 | | |
| |||
0 commit comments