 |
|
 |
 |
|
 |
 |
| Author |
Message |
|
|
Post subject: how to disable tests with MyEclipse 6.5 Maven supported web
Posted: Aug 15, 2008 - 02:36 PM
|
|
Joined: Jul 01, 2008
Posts: 38
|
|
Hi
Can some one give me some tips to disable the surefire tests while doing Maven packaging?
Thanks |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: how to disable tests with MyEclipse 6.5 Maven supported
Posted: Aug 15, 2008 - 09:28 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
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. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Aug 18, 2008 - 02:52 AM
|
|
Joined: Jul 01, 2008
Posts: 38
|
|
|
|
|
 |
|
|
Post subject:
Posted: Aug 18, 2008 - 06:45 PM
|
|
Registered Member


Joined: Apr 18, 2007
Posts: 8013
|
|
| Your welcome. |
_________________ Nipun
MyEclipse Support
|
| |
|
|
|
 |
|
|
| |
|
|
 |
|
 |
|
|
|
 |