Skip to content

Copy the report list when converting report plugins - #168

Merged
slachiewicz merged 1 commit into
masterfrom
agent/fix-reporting-exec
Oct 1, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/fix-reporting-exec

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

MavenReportExecutorRequest.setReportPlugins handed each model ReportSet's report list to the converted ReportSet instead of copying it, so a later change to either list showed up in the other. It now copies the list.

Found while porting to the Maven 4 API; part of apache/maven#13309.

Verified: the new setReportPluginsCopiesReportSetReports fails without the fix ([index, summary, dependencies] instead of [index, summary]).

@slachiewicz slachiewicz added the bug Something isn't working label Sep 30, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review September 30, 2026 21:39
@slachiewicz
slachiewicz merged commit 6687be9 into master Oct 1, 2026
21 checks passed
@slachiewicz
slachiewicz deleted the agent/fix-reporting-exec branch October 1, 2026 19:05
@github-actions github-actions Bot added this to the 2.0.2 milestone Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant