Source jar contains duplicated entries for every file
The asm-VERSION-sources.jar available on Maven Central
from version 5.0.4 or earlier upto the latest 6.0
all contain duplicated entries in the sources.jar
.
$ jar tvf asm-6.0-sources.jar | sort
...
8879 Sat Sep 23 08:21:32 CEST 2017 org/objectweb/asm/ModuleWriter.java
8879 Sat Sep 23 08:21:32 CEST 2017 org/objectweb/asm/ModuleWriter.java
9092 Sat Sep 23 08:21:32 CEST 2017 org/objectweb/asm/commons/RemappingMethodAdapter.java
9092 Sat Sep 23 08:21:32 CEST 2017 org/objectweb/asm/commons/RemappingMethodAdapter.java
9135 Sat Sep 23 08:21:32 CEST 2017 org/objectweb/asm/xml/SAXAnnotationAdapter.java
9135 Sat Sep 23 08:21:32 CEST 2017 org/objectweb/asm/xml/SAXAnnotationAdapter.java
9139 Sat Sep 23 08:21:32 CEST 2017 org/objectweb/asm/util/TraceSignatureVisitor.java
9139 Sat Sep 23 08:21:32 CEST 2017 org/objectweb/asm/util/TraceSignatureVisitor.java
9540 Sat Sep 23 08:21:32 CEST 2017 org/objectweb/asm/commons/Method.java
9540 Sat Sep 23 08:21:32 CEST 2017 org/objectweb/asm/commons/Method.java
9792 Sat Sep 23 08:21:32 CEST 2017 org/objectweb/asm/tree/analysis/Interpreter.java
9792 Sat Sep 23 08:21:32 CEST 2017 org/objectweb/asm/tree/analysis/Interpreter.java
I would guess this is a problem created by the build system.
Could this be fixed?
It causes confusion for downstream tools using these jars.