Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
skadiy000
Post subject: how to disable tests with MyEclipse 6.5 Maven supported web  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: how to disable tests with MyEclipse 6.5 Maven supported  PostPosted: Aug 15, 2008 - 09:28 PM
Registered Member
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
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
skadiy000
Post subject:   PostPosted: Aug 18, 2008 - 02:52 AM



Joined: Jul 01, 2008
Posts: 38

Thanks Nipun.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject:   PostPosted: Aug 18, 2008 - 06:45 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8013

Your welcome.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits