facebook

how to disable tests with MyEclipse 6.5 Maven supported web

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #288260 Reply

    Srinivasa
    Member

    Hi

    Can some one give me some tips to disable the surefire tests while doing Maven packaging?

    Thanks

    #288277 Reply

    Loyal Water
    Member

    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.

    #288292 Reply

    Srinivasa
    Member

    Thanks Nipun.

    #288329 Reply

    Loyal Water
    Member

    Your welcome.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: how to disable tests with MyEclipse 6.5 Maven supported web

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in