From 6af35ac1b3abd682d902e55403264cd76b43da98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20L=C3=A4ubrich?= Date: Mon, 12 Aug 2024 06:53:45 +0200 Subject: [PATCH] Use empty Map instead of null for modelreader --- .../java/org/eclipse/tycho/packaging/UpdateConsumerPomMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/packaging/UpdateConsumerPomMojo.java b/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/packaging/UpdateConsumerPomMojo.java index 16264186ca..f1c0b9b6ac 100644 --- a/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/packaging/UpdateConsumerPomMojo.java +++ b/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/packaging/UpdateConsumerPomMojo.java @@ -193,7 +193,7 @@ public void execute() throws MojoExecutionException, MojoFailureException { log.debug("Generating pom descriptor with updated dependencies"); Model projectModel; try { - projectModel = modelReader.read(project.getFile(), null); + projectModel = modelReader.read(project.getFile(), Map.of()); } catch (IOException e) { throw new MojoExecutionException("reading the model failed!", e); }