Skip to content

Fix #1349: complete the aggregation in the container descriptor handlers - #1350

Open
elharo wants to merge 1 commit into
masterfrom
issue-1349-aggregating-handler
Open

Fix #1349: complete the aggregation in the container descriptor handlers#1350
elharo wants to merge 1 commit into
masterfrom
issue-1349-aggregating-handler

Conversation

@elharo

@elharo elharo commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

The FIXME comments in AbstractLineAggregatingHandler and ComponentsXmlArchiverFileFilter assumed the resource scan could be moved into plexus-archiver's AbstractArchiver, but the scan is required: the archiver runs its finalizers before scanning the added resources, so the file selectors are only applied while iterating. Document the actual behavior and add the missing resource scan to
SimpleAggregatingDescriptorHandler, whose aggregated file was previously empty.

fixes #1349

The FIXME comments in AbstractLineAggregatingHandler and
ComponentsXmlArchiverFileFilter assumed the resource scan could be moved
into plexus-archiver's AbstractArchiver, but the scan is required: the
archiver runs its finalizers before scanning the added resources, so the
file selectors are only applied while iterating. Document the actual
behavior and add the missing resource scan to
SimpleAggregatingDescriptorHandler, whose aggregated file was previously
empty.
@elharo
elharo requested a review from sparsick August 5, 2026 11:54
@elharo
elharo marked this pull request as ready for review August 5, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AbstractAggregatingHandler is unfinished

1 participant