Starting Tomcat Intellij Server Skip Test Class

I am deploying tomcat server successfully, but the problem is generating artifacts. The process still includes listing the test directory even though I have a skip test in the maven pom and try to switch the skip test in the maven pom. Also, there is no test module in the artifacts. On eclipse servers, it works fine, although the test class has a bug. Thank.

Here's my settings for tomcat

Here are my artifacts: enter image description here

+3


source to share


1 answer


I found a solution to have the project exclude test classes. Just add to File -> Settings -> Build, Execution, Deployment -> Compiler -> Excludes -> Add the test directory you want to exclude



+2


source







All Articles