The diffoscope output for the module file is simple: diffoscope log4j-api/target/reference/org.apache.logging.log4j/log4j-api-2.25.1.module log4j-api/target/publications/maven/module.json --- log4j-api/target/reference/org.apache.logging.log4j/log4j-api-2.25.1.module +++ log4j-api/target/publications/maven/module.json ├── Pretty-printed │ @@ -5,15 +5,15 @@ │ }, │ "group": "org.apache.logging.log4j", │ "module": "log4j-api", │ "version": "2.25.1" │ }, │ "createdBy": { │ "maven": { │ - "version": "3.9.8" │ + "version": "3.9.10" │ } │ }, │ "formatVersion": "1.1", │ "variants": [ │ { │ "attributes": { │ "org.gradle.category": "library”,
The diffoscope output for the other file has substantial changes (probably related to version differences). > On Jul 8, 2025, at 03:36, Piotr P. Karwasz <pi...@mailing.copernik.eu> wrote: > > 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 > > > >