gnodet opened a new pull request, #12956:
URL: https://github.com/apache/maven/pull/12956

   ## Summary
   
   Forward port of #12916 from `maven-4.0.x` to `master`.
   
   - Hoist the `alreadyAttached` check before temp file creation to avoid 
unnecessary I/O on repeated invocations
   - When the consumer POM is already attached, skip creating a temp file and 
registering it for deferred deletion
   - Add test verifying that calling `injectTransformedArtifacts` twice does 
not duplicate the consumer POM artifact
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]

Reply via email to