Closed andeee closed 8 years ago
Mark Derricutt » clojure-maven-plugin #65 SUCCESS This pull request looks good (what's this?)
:+1:
I currently put a hacky replScript in my projects as a workaround:
(require 'clojure.tools.nrepl.server 'cider.nrepl)
(alter-var-root #'clojure.tools.nrepl.server/default-middlewares
into
(map resolve cider.nrepl/cider-middleware))
Have you also been successful in connecting to the nREPL from CIDER, or are you just using the features from the cider.nrepl middleware? CIDER 0.12.0 does not seem to find anything to connect to.
mvn clojure:nrepl -Dclojure.nrepl.handler=cider.nrepl/cider-nrepl-handler
Might it be that this only works for some older version of CIDER?
I wanted to use cider-nrepl with clojure-maven-plugin, so I added support for handler in the nrepl mojo. To use it with cider-nrepl just configure
nreplHandler
or the propertyclojure.nrepl.handler
tocider.nrepl/cider-nrepl-handler
and addcider-nrepl
to the projects dependencies.