slachiewicz opened a new issue, #1422: URL: https://github.com/apache/maven-assembly-plugin/issues/1422
A custom `containerDescriptorHandler` declared through `META-INF/plexus/components.xml` is a Plexus singleton, and `SimpleAggregatingDescriptorHandler` keeps per-archive state in instance fields (`filenames`, `aggregateWriter`, and the walk flag added in #1421). Under a parallel reactor (`-T`), two modules that assemble at the same time with the same handler share that state, so one module's aggregate can pick up the other's files or lose its own. This predates #1421, which only resets the state after each archive. A parallel reactor with two modules using the same custom handler would reproduce it. Possible fixes: keep the state per `Archiver` (for example in a map keyed by the archiver), or have the plugin create a handler instance per assembly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
