Skip to content

Commit

Permalink
Use empty Map instead of null for modelreader
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi committed Aug 12, 2024
1 parent b62e492 commit 6af35ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6af35ac

Please sign in to comment.