There are multiple ways to skip the execution of the tests from a Maven project. So that at the time of build it doesn't compile the unit tests. Following are the steps using that you can skip the unit test compilation.
1. The first way is; while compiling or building the project using mvn install command. There are two commands that you can use on the command line to skip the tests running.
a. -DskipTests
b. -Dmaven.test.skip=true
2. Another way is to add the skipTests configuration in POM.xml file within the maven-surefire-plugin plugin. Below is the plugin code snippet for POM file.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.4</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
Thanks For the Great Content.
ReplyDeleteMulesoft Training in Hyderabad
Mulesoft Online Training
This tool will be helpful for all writers, digital media professionals, communication specialists, bloggers, forum moderators, online sales, or any other professional.Frames Per Second
ReplyDeleteThis is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work. I have been meaning to write something like this on my website and you have given me an idea. also, you can check google play point
ReplyDeleteThis article gives the light in which we can observe the reality. This is very nice one and gives in depth information. Thanks for this nice article. I am also share with everyone my work experience to in my blog so visit Gay Test
ReplyDeleteI appreciate to your writing. and here is a quick test of coloblindness
ReplyDeleteI appreciate to your writing. intresting and informative blog . contend about business is given. visit our site and check out your color blind test
ReplyDeletecoloblindness
Very interesting, good job and thanks for sharing such a good blog. Your article is so convincing that I never stop myself to say something about it. You’re doing a great job. click here color blindness test.
ReplyDeleteFound your post interesting to read. I cant wait to see your post soon. Good Luck for the upcoming update. This article is really very interesting and effective. Look at this very wonderful website gender test.
ReplyDeleteImportant info. You are regularly giving us good content. Its like I'm addicted to your blog thank you. And I would like to suggest you a software for Compressing and archive files and data. You can check online gender test.
ReplyDeleteImportant info. You are regularly giving us good content. Its like I'm addicted to your blog thank you. And I would like to suggest you a software for Compressing and archive files and data. You can check online gender test.
ReplyDeleteI recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog, I will keep visiting this blog very often how gay am I test
ReplyDeleteThanks for the informative article.This is one of the best tips in my life. I have in quite some time.Nicely written and great info.I really cannot thank you enough for sharing. Taκе a look at mу ωeb site reaction speed test
ReplyDeleteThe content of your blog is exactly what I needed, I like your blog, I sincerely hope that your blog a rapid increase in traffic density, which help promote your blog and we hope that your blog is being updated. Taκе a look at mу ωeb site reaction speed test they also posted a usefull blog.
ReplyDeleteDear Admin, I have visited a lots of site but you are the best that I have ever seen. I have also this related site. Thanks for this informative article, I hope you will get most positive response specially for this post Taκе a look at mу ωeb site improve reaction time
ReplyDeleteThis is very interesting blog and very helpful for newcomers . Thanks for sharing this great and helpful information . I am a gamer and I would like to suggest to you something which is really interesting. Reaction Time Test
ReplyDelete