For now, as a work around, I wrote a shell script that after the shading
process rewrites the timestamps of clojure files to sometime in the past. I
am using maven-exec-plugin to run that shell script.
--
View this message in context:
http://maven.40175.n5.nabble.com/Maven-shade-plugin-Retaini
We could remove clj files from the jar altogether. However, the problem is we
don't know if all the clojure dependencies are AOT compiled. So, some of the
clojure files should be compiled on the fly. The problem is when dynamically
compiling clojure files whose class files already exist in the jar.