Skip to content

Create LocationManager instead of injecting it - #3499

Closed
slachiewicz wants to merge 1 commit into
masterfrom
agent/surefire-location-manager
Closed

slachiewicz wants to merge 1 commit into
masterfrom
agent/surefire-location-manager

Conversation

@slachiewicz

@slachiewicz slachiewicz commented Oct 1, 2026 •

Copy link
Copy Markdown
Member

AbstractSurefireMojo got plexus-java's LocationManager by injection, although it holds no injected state (its constructor only creates its own parsers), so it is now created directly. This was suggested in SUREFIRE-1628 and proposed in #318, which was closed without review in 2020.

Verified: the JPMS ITs ModulePathIT, Junit5ModulePathIT and MultiModuleProjectWithJPMSIT pass; E2ETest.endToEndTest fails the same way with and without this change.

Part of apache/maven#13309.

@slachiewicz
slachiewicz marked this pull request as ready for review October 1, 2026 19:22
@slachiewicz slachiewicz added the wontfix This will not be worked on label Oct 7, 2026
@slachiewicz slachiewicz closed this Oct 7, 2026
@slachiewicz
slachiewicz deleted the agent/surefire-location-manager branch October 7, 2026 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance wontfix This will not be worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant