Welcome! Please see the About page for a little more info on how this works.

0 votes
in Clojure by

I have a project that is mixed with scala and clojure.
I need to add to the maven classpath, the clojure test package (now it brings only the main package).
Is it possible?

1 Answer

0 votes

The <build><testSourceDirectory> could be set to include that dir, but in the likely case that you are also using some other test directory, you will need something more.

The clojure-maven-plugin can help with this I believe https://github.com/talios/clojure-maven-plugin or you could use other plugins like the build-helper-maven-plugin (see the add-test-source-mojo).