Questions tagged [clojure-maven-plugin]

Maven plugin for working with clojure language as easy as possible.

Available goals

clojure:add-source
clojure:add-test-source
clojure:compile
clojure:test
clojure:test-with-junit
clojure:run
clojure:repl
clojure:nrepl
clojure:swank
clojure:nailgun
clojure:gendoc
clojure:autodoc
clojure:marginalia
5 questions
3
votes
2 answers

How to fix WARNING: clj-refactor and refactor-nrepl are out of sync?

I'm using clojure-maven-plugin. When I do a cider-connect I get this "WARNING: clj-refactor and refactor-nrepl are out of sync. Their versions are 2.4.0-SNAPSHOT (package: 20171117.317) and n/a, respectively." Is there anything I can do to my…
mikeyreilly
  • 6,523
  • 1
  • 26
  • 21
2
votes
1 answer

Mixed Clojure and Java project in Maven

I have maven project, in directory src/main/clojure I have put code: https://github.com/8protons/url62/blob/master/src/url62/core.clj I want to execute function generate-id in Java code from src/main/java. IFn require = Clojure.var("clojure.core",…
MariuszS
  • 30,646
  • 12
  • 114
  • 155
2
votes
2 answers

How to load java classes from maven project in a Clojure REPL?

Does anyone know an easy way to load java classes from maven project in a Clojure REPL? I took a look at the lein docs and they don't seem to support maven. The clojure-maven-plugin provides a clojure:repl target, but it seems to just load the…
José Ricardo
  • 1,479
  • 1
  • 14
  • 28
1
vote
1 answer

Ahead of Time (AOT) Compilation of Clojure Libraries in Maven

I am programming in a mixed Clojure/Java environment. I am using Maven, and some of my dependencies are Clojure libraries from clojars.org. Now, I need to perform AOT compilation on Clojure code before Java code, since Java code references records…
myahya
  • 3,079
  • 7
  • 38
  • 51
0
votes
1 answer

How do I get clojure:nrepl to work with clojure-maven-plugin?

if I type: mvn -f clojure-maven-nrepl.pom.xml clojure:nrepl I get: [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO]…
John Lawrence Aspden
  • 17,124
  • 11
  • 67
  • 110