GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bug: bad cache isolation between two sessions by cstamas · Pull Request #11082 · apache/maven

Conversation

@cstamas

@cstamas cstamas commented Aug 31, 2025

Copy link
Copy Markdown
Member

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 #11081

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@cstamas
Bug: bad cache isolation between two sessions
b3c37cb
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 apache#11081
@cstamas cstamas added this to the 3.9.12 milestone Aug 31, 2025
@cstamas
cstamas requested review from gnodet and slawekjaranowski August 31, 2025 14:17
@cstamas cstamas self-assigned this Aug 31, 2025
@cstamas cstamas added the bug Something isn't working label Aug 31, 2025
@cstamas cstamas linked an issue Aug 31, 2025 that may be closed by this pull request
Data loss (input tracking) in certain cases #11081
Closed
@cstamas
cstamas marked this pull request as ready for review August 31, 2025 14:34
@cstamas cstamas mentioned this pull request Aug 31, 2025
Make generated (main) BOM publishable maveniverse/bom-builder-maven-plugin#32
Merged
@cstamas
cstamas merged commit 59accd6 into apache:maven-3.9.x Sep 1, 2025
@cstamas
cstamas deleted the issue-11081 branch September 1, 2025 16:04
@cstamas cstamas mentioned this pull request Sep 13, 2025
Port over https://github.com/apache/maven/pull/11082 apache/maven-mvnd#1429
Closed
cstamas added a commit to cstamas/maven-mvnd that referenced this pull request Sep 17, 2025
@cstamas
Port of Maven 3.9.x fix
ab4bba0
The change from apache/maven#11082
must be ported over, due copied MavenCli.
@cstamas cstamas mentioned this pull request Sep 17, 2025
Port of Maven 3.9.x fix apache/maven-mvnd#1432
Merged
gnodet pushed a commit to apache/maven-mvnd that referenced this pull request Nov 24, 2025
@cstamas
Port of Maven 3.9.x fix (#1432)
4cab042
The change from apache/maven#11082
must be ported over, due copied MavenCli.
@olamy olamy mentioned this pull request Apr 2, 2026
3.10.x Upgrade slf4j to 2.0.17 #11880
Merged
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gnodet gnodet Awaiting requested review from gnodet
@slawekjaranowski slawekjaranowski Awaiting requested review from slawekjaranowski

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@cstamas cstamas

Labels

bug Something isn't working

Projects

None yet

Milestone

3.9.12

Development

Successfully merging this pull request may close these issues.

Data loss (input tracking) in certain cases

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@cstamas
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.