I am using the clojure maven plugin to build a project. The projects 
contains a test, let us *mytest.clj*, that looks like the following:

(def ^:dynamic *server*
  (create-server "tcp://bla.bla:9999"))
(deftest1...)(deftest2...)

If I run mvn clojure:compile or *mvn clojure:test* , the build runs 
successfully.

But If I run *mvn compile* and also configured in POM to skip the tests, 
the server declared in the test is then started. After that start, nothing 
happens: Program seems to be frozen and compilation cannot be continued.

Does somebody know how to solve this problem? And why the server starts? I 
actually just want to compile.

Any help will be appreciated. Thx in advance Regards

Horace

P.S: I can use the standard *mvn compile* to compile the clojure sources 
because my project's packaging is configured as a 'clojure' one in *pom.xml*. 
The consequence of it, is that the clojure maven plugin and its goals are 
then automatically bound to the maven phases.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to