Could there be a Maven plugin that compiles src/main/lisp/**/*.lisp to .class files for integration in Java projects?
On 10/9/15 00:25, Andrew Pennebaker wrote:
Could there be a Maven plugin that compiles src/main/lisp/**/*.lisp to .class files for integration in Java projects?
While abcl does indeed compile Common Lisp code to JVM bytecode, it doesn't do such in a manner that is completely interoperable with class files in general. This is why we denote such compilation artifacts with the "%.cls" suffix to avoid such confusion.
Therefore, strictly interpreting your question, such a Maven plugin would not be very useful. More broadly, we would like to spend some reasonable amount of effort on easing some of the entry barriers for Java-the-language developers attempting to use ABCL with tooling such as Maven. The first step would be to make [abcl build under Maven in a way that retains the logic expressed in the Ant build system][393]. Patches to effect this are solicited by any Mavens out there…
[393]: http://abcl.org/trac/ticket/393
armedbear-devel@common-lisp.net