Details
-
Bug
-
Resolution: Done
-
Minor
-
1.2.0.Final, 2.0.0.Beta1
-
None
Description
If an existing JAR needs reindexing to a newer version of Jandex index, the existing META-INF/jandex.idx will conflict with a new one:
java.util.zip.ZipException: duplicate entry: META-INF/jandex.idx
at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:233)
at org.jboss.jandex.JarIndexer.createJarIndex(JarIndexer.java:143)
at org.jboss.jandex.JarIndexer.createJarIndex(JarIndexer.java:66)
at org.jboss.jandex.Main.execute(Main.java:69)
at org.jboss.jandex.Main.main(Main.java:52)