testing Clojure in Maven

前端 未结 4 1393
傲寒
傲寒 2021-01-04 23:24

I am new at Maven and even newer at Clojure. As an exercise to learn the language, I am writing a spider solitaire player program. I also plan on writing a similar program i

4条回答
  •  甜味超标
    2021-01-05 00:21

    The key bit you're missing from your pom.xml (just cribbing from the clojure-contrib pom.xml) is an execution under the clojure-maven-plugin:

    
        com.theoryinpractise
        clojure-maven-plugin
        1.3.2
        
        
            
            
                test-clojure
                test
                
                    test
                
            
        
    
    

    It may also be necessary to add something like this under :

    
        
          src/test/clojure
        
    
    

提交回复
热议问题