Proposal: clojure.tools.maven for cljc support in contrib projects

48 views
Skip to first unread message

Herwig Hochleitner

unread,
Aug 8, 2016, 6:18:38 PM8/8/16
to cloju...@googlegroups.com, Alex Engelberg
Alex Engelberg recently demonstrated a leiningen plugin, that would split .cljc files up in their respective .clj and .cljs, similar to how .cljx works: https://github.com/aengelberg/cljsee

This got me wondering, if we could not host a contrib library that would implement a build plugin similar to cljsee, but for maven. Would this be enough to allow contrib libraries to use .cljc, but still support clojure versions < 1.7 ?

I just got to this point with cljs support in data.xml: DXML-29, but there are more contribs that might profit from this: MATCH-110 CTYP-237 MCOMB-6

Would that be a welcome contrib library and could it be adapted for Hudson?

Alex Miller

unread,
Aug 8, 2016, 10:20:48 PM8/8/16
to Clojure Dev
I personally am not too interested in doing more work to support older Clojure versions in the libs. At the last State of Clojure poll (in Dec 2015, prior to 1.8's release), there were just over 20% using 1.6, and less than 5% using versions older than that. My impression is that these numbers would be reduced even further now.

But the ultimate decision-maker on this is Rich and he is not available this week for me to ask.

I do think it's worthwhile to move towards cljc support in the contribs and that's gating on me right now, which I am well aware of and hope to get to in the near future.
Reply all
Reply to author
Forward
0 new messages