It seems the ...-sources.jar redundantly contains the native binaries.
For example: lz4-java-1.10.0-sources.jar under the net/jpountz/util/ subdirectories
It looks like the reason for this is how the build-all-and-publish.yml is implemented (and the custom src/resources directory it uses).
Would it be possible to instead just copy the collected native libraries to ${project.build.outputDirectory} (target/classes) like the regular non-release build does it, and remove the special casing for src/resources?
It seems the
...-sources.jarredundantly contains the native binaries.For example:
lz4-java-1.10.0-sources.jarunder thenet/jpountz/util/subdirectoriesIt looks like the reason for this is how the
build-all-and-publish.ymlis implemented (and the customsrc/resourcesdirectory it uses).Would it be possible to instead just copy the collected native libraries to
${project.build.outputDirectory}(target/classes) like the regular non-release build does it, and remove the special casing forsrc/resources?