How to ignore test in maven build using Netbeans

If you want to ignore the test cases execution to run while building a maven project using Netbeans then do the following :

1. Select the project in the project explorer.
2. Right Click it , then select Custom then Goals.
3. In new window check Skip Tests and add install as “Goal”
4. Press OK
5. Done !! now drink coffee.