MyEclipse: how to disable tests with MyEclipse 6.5 Maven supported web skadiy000 - Aug 15, 2008 - 02:36 PM Post subject: how to disable tests with MyEclipse 6.5 Maven supported web
Hi
Can some one give me some tips to disable the surefire tests while doing Maven packaging?
Thankssupport-nipun - Aug 15, 2008 - 09:28 PM Post subject: RE: how to disable tests with MyEclipse 6.5 Maven supported
Here are the steps:-
1. You need to right click on your project and go to Run As > (Option 6) Maven Build...
2. The edit configuration wizard will show up. You need to give this configuration a name (e.g. package without tests)
3. Select the variable as Project loc using the variable lookup.
4. Select the goal as Life Cycle Phases > Package
5. Select the Skip Test check box
6. Go to the refresh tab and check "refresh resources upon completion"
7. Under the common tab, check Run and Debug under Display in Fav menu.
8. Apply and Run
9. Use the menu shortcuts that you added to run it again.skadiy000 - Aug 18, 2008 - 02:52 AM Post subject:
Thanks Nipun.support-nipun - Aug 18, 2008 - 06:45 PM Post subject:
Your welcome.