Maven - How to compile tests without running them ?

前端 未结 7 1742
时光说笑
时光说笑 2021-01-30 06:16

Is there a way in Maven to compile the tests without running them ? I want to use the IDE to run specific tests and not all of them.

7条回答
  •  清歌不尽
    2021-01-30 06:37

    To just compile the tests and code, without running them, just do:

    mvn test-compile
    

提交回复
热议问题