Skip to content

Commit eb8d6e9

Browse files
committed
Remove deprecated WriterFactory and MavenXpp3Writer usage
1 parent 60849e9 commit eb8d6e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/apache/maven/buildcache/checksum/MavenProjectInput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ private boolean checkItemMatchesBaseline(ProjectsInputInfo baselineBuild, Digest
336336
*/
337337
private String getEffectivePom(Model prototype) throws IOException {
338338
ByteArrayOutputStream output = new ByteArrayOutputStream();
339-
new DefaultModelWriter().write(output, null, prototype);
339+
new DefaultModelWriter().write(output, Collections.emptyMap(), prototype);
340340

341341
// normalize env specifics
342342
final String[] searchList = {baseDirPath.toString(), "\\", "windows", "linux"};

0 commit comments

Comments
 (0)