Run Maven Debug Mode
It’s very important to know that how to run maven in debug mode because when you run maven in normal mode it won’t shows much stack trace in case in error so that it is very difficult to find root cause of the issue. For example I will run “mvn install” from command prompt where it fails due to some reason with below few details:
- To see full stack trace of error please use command “mvn -X install”. You will see it gives full stack trace of the error and we can easily find out the issue:
- To resolve mvn install issue using command prompt please follow this tutorial