I'm trying to run ProGuard on one project that includes ElasticSearch.
However the process fails with a DuplicateZipEntry exception:
java.io.IOException: Can't write
[/Users/adamw/projects/.../target/scala-2.9.1/....min.jar] (Can't read
(Duplicate zip entry
When looking at the BufferedDeletesStream class, indeed it says:
// LUCENE MONITOR: We copied this class from Lucene, effectively overriding
it with our implementation
// if it comes first in the classpath, allowing for faster apply deletes
based on terms
which is the cause of the issue. Not sure if it will be a problem for
anyone else. Still looking for a solution using proguard configuration,
just letting you know :).