I have a cross Java clojure project that uses maven as a build tool. AOT compilation is required for some namespaces.
The problem is that compilation is performed as always. Checking the maven process gives the following observations:
What I tried:
- Instructed clojure -maven-plugin to compile only the given namespaces. But dependency propagation is not blocked.
- Explicitly included the given namespaces and excluded the dependency namespace. The dependency library is still recompiled by the AOT process.
Well, just before I hit the "POST" button, I found this problem . It seems like after 5 years we had such a discussion and the problem is not related to clojure -maven-plugin. So what's new in this matter? It takes about 4 minutes to mvn clean compileonce on my car for my not-so-big project, and I can literally grab coffee, sit back and chill ..
- , ? .