elharo commented on code in PR #444:
URL:
https://github.com/apache/maven-build-cache-extension/pull/444#discussion_r2971476913
##########
src/main/java/org/apache/maven/buildcache/checksum/MavenProjectInput.java:
##########
@@ -341,15 +336,12 @@ private boolean
checkItemMatchesBaseline(ProjectsInputInfo baselineBuild, Digest
*/
private String getEffectivePom(Model prototype) throws IOException {
ByteArrayOutputStream output = new ByteArrayOutputStream();
+ new DefaultModelWriter().write(output, null, prototype);
Review Comment:
this should take an empty map, not null
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]