Pankraz76 commented on code in PR #2303: URL: https://github.com/apache/maven/pull/2303#discussion_r2079331098
########## impl/maven-impl/src/main/java/org/apache/maven/impl/DefaultPluginXmlFactory.java: ########## @@ -93,7 +93,7 @@ public void write(XmlWriterRequest<PluginDescriptor> request) throws XmlWriterEx new PluginDescriptorStaxWriter().write(outputStream, content); } else { try (OutputStream os = Files.newOutputStream(path)) { - new PluginDescriptorStaxWriter().write(outputStream, content); + new PluginDescriptorStaxWriter().write(os, content); Review Comment: tc - from zero to hero: <img width="1870" alt="image" src="https://github.com/user-attachments/assets/87c21324-7065-443e-9b4b-cd033ce2e4d8" /> <img width="883" alt="image" src="https://github.com/user-attachments/assets/10a77e5f-3371-4f7c-8359-8b2611d474f0" /> -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org