We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 368ddec commit 45f9b81Copy full SHA for 45f9b81
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java
@@ -105,7 +105,7 @@ public void write(XmlWriterRequest<Model> request) throws XmlWriterException {
105
w.write(outputStream, content);
106
} else {
107
try (OutputStream os = Files.newOutputStream(path)) {
108
- w.write(outputStream, content);
+ w.write(os, content);
109
}
110
111
} catch (Exception e) {
0 commit comments