Hi Matt, On 7.07.2025 22:34, Matt Sicker wrote: > Something is buggy for me in the Maven wrapper script which causes this error > to print out: > > mvnw: line 114: mvnw/.mvn/wrapper/maven-wrapper.properties: Not a directory > cannot read distributionUrl property in > mvnw/.mvn/wrapper/maven-wrapper.properties
This is a known bug in Maven Wrapper—see Volkan's e-mail. > When I tried running the build with a local copy of Maven, I get a different > error: > > [ERROR] size mismatch log4j-api-2.25.1-sources.jar: investigate with > diffoscope > log4j-api/target/reference/org.apache.logging.log4j/log4j-api-2.25.1-sources.jar > log4j-api/target/log4j-api-2.25.1-sources.jar > [ERROR] size mismatch log4j-api-2.25.1.module: investigate with diffoscope > log4j-api/target/reference/org.apache.logging.log4j/log4j-api-2.25.1.module > log4j-api/target/publications/maven/module.json > [ERROR] Reproducible Build output summary: 3 files ok, 2 different > [ERROR] see diff log4j-api/target/reference/log4j-api-2.25.1.buildinfo > log4j-api/target/log4j-api-2.25.1.buildinfo > > The diff: As I’ve mentioned before—e.g., in a similar report from Gary[1]—running the final `diff` command is rarely useful. It only confirms that files differ (as already stated) and in this case, mainly reveals that your build was done on macOS. Instead, could you please run the `diffoscope` commands listed earlier in the output? These are much more helpful for diagnosing actual differences: diffoscope log4j-api/target/reference/org.apache.logging.log4j/log4j-api-2.25.1-sources.jar log4j-api/target/log4j-api-2.25.1-sources.jar diffoscope log4j-api/target/reference/org.apache.logging.log4j/log4j-api-2.25.1.module log4j-api/target/publications/maven/module.json Piotr PS: I’ve submitted a bug report / feature request[2] to improve the clarity of this error message. If you have a moment, could you take a look and let me know if the suggestions make sense? [1] https://lists.apache.org/thread/q8vyzndb4g6sfzk0xw8ofgnfv32o6ox6 [2] https://github.com/apache/maven-artifact-plugin/issues/175