You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ jar -i ../clover-idea-4.4.1.jar
java.util.zip.ZipException: duplicate entry: META-INF/LICENSE.txt
at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:232)
at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:109)
at sun.tools.jar.Main.update(Main.java:635)
at sun.tools.jar.Main.dumpIndex(Main.java:1132)
at sun.tools.jar.Main.genIndex(Main.java:1209)
at sun.tools.jar.Main.run(Main.java:317)
at sun.tools.jar.Main.main(Main.java:1288)
And in case when I want to put jars to my Nexus repo to avoid resolving of dependency conflicts if any, and sign them with my plugin I will got exception:
INFO [qtp836514715-48633] com.companyname.nexus.plugin.signing.DefaultSigningRepository - Signing central:/org/openclover/clover/4.4.1/clover-4.4.1.jar (file)
INFO [Thread-28830] com.companyname.nexus.plugin.signing.DefaultSigningRepository - jarsigner: unable to sign jar: java.util.zip.ZipException: duplicate entry: META-INF/LICENSE.txt
OpenClover uses several third party libraries (like Apache Commons or Fastutil). Therefore classes from these libraries along with LICENSE files are packed into clover.jar.
Entries are duplicate but zip format allows it. However, it would be good to rename these files to avoid duplicates. Feel free to report this in our issue tracker on GitHub.
As I see the text of licenses stored in separate files:
At least index can not be build:
And in case when I want to put jars to my Nexus repo to avoid resolving of dependency conflicts if any, and sign them with my plugin I will got exception:
@mparfianowicz wrote:
As I see the text of licenses stored in separate files:
So please provide clover jar files without duplicate entries in them.
The text was updated successfully, but these errors were encountered: